4
1
In bitcoin's gossip network will there be a path from every node to every other node? It can certainly have different number of hops.
I have a private testnet in which I modified some source code. I get a graph like this
A->B->C
So we have a path from A to C but not C to A. So when C mines a block, the information is remained with it and it does not send inv messages out. Not sure if I am wrong or this is expected?
Edit:
The only change I did is to make testnet work on my localhost. Removed the IsLocal() check from IsRoutable() and added my own hardcoded seeds.
To clarify - did you modify any code that would prevent the nodes from sharing blocks? For example, if you added code that caused a node to never accept a block from a node with a higher port number than itself, that would produce the behavior you see. – Nick ODell – 2015-10-30T01:34:35.973
1The only change I did is to make testnet work on my localhost. Removed the IsLocal() check from IsRoutable() and added my own hardcoded seeds. – Guhan S – 2015-10-30T02:18:03.130