If I understand the source code correctly, the Pool Class provides the functionality to listen to incomming peer connections and add these as connected peers: here on github.
A couple of thoughts come to my mind about this:
- How could my IP be discovered by others on the p2p network, other than the bootstrap DNS record?
- Would it be even necessary for a SPV client to offer the listen operation, what information could be served?
- bitcore is not a full bitcoin reimplementation and as such could not be used as a full node, so what purpose is the listen method serving after all inside the Pool class?
I hope somebody could shade some light on this, thx…