aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_leak.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2020-11-28 11:41:25 +0000
committerJohn Newbery <john@johnnewbery.com>2021-02-17 09:00:53 +0000
commit7e158a69104831611462cb555da931331b237c78 (patch)
treef971e3a91e458b076d793fa801e759a581cd955a /test/functional/p2p_leak.py
parent652311165c4ef298dab71d7162f9054abf439f77 (diff)
downloadbitcoin-7e158a69104831611462cb555da931331b237c78.tar.xz
[test] Move MY_VERSION to p2p.py
The messages.py module should contain code and helpers for [de]serializing p2p messages. Specific usage of those messages should be in p2p.py. Therefore move MY_VERSION to p2p.py. Also rename to P2P_VERSION to distinguish it from other versioning used in Bitcoin/Bitcoin Core. Also always set the nVersion field in CBlockLocator to 0 and ignore the field in deserialized messages. The field is not currently used for anything in Bitcoin Core.
Diffstat (limited to 'test/functional/p2p_leak.py')
0 files changed, 0 insertions, 0 deletions