|
August 10, 2013, 07:54:50 PM |
|
Actually, height tracking of peers is buggy. It can't really be completely accurate because there's no way to query a node for its height other than by reconnecting to it and getting a new ver handshake. So bitcoinj just counts announced blocks. Because of where this code is in the system, if a peer has announced a side chain block then its count will still be increased even though height didn't.
I want to fix this, but it's going to be a little awkward.
|