diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2021-09-09 15:46:12 +0200 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2021-11-03 14:58:54 +0100 |
commit | f9c28330a0e77ed077f342e4669e855b3e6b20a1 (patch) | |
tree | 72d1abd2ff13bf28afa8bd3b4243de663254787e /contrib/seeds | |
parent | 29ff79c0a2a95abf50b78dd2be6ead2abeeaec9f (diff) | |
download | bitcoin-f9c28330a0e77ed077f342e4669e855b3e6b20a1.tar.xz |
net: take the first 4 random bits from CJDNS addresses in GetGroup()
CJDNS addresses start with constant 8 bits, so in order to account for
the first 4 random ones, we must take the first 12. Otherwise the entire
CJDNS network will belong to one group.
Diffstat (limited to 'contrib/seeds')
0 files changed, 0 insertions, 0 deletions