diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2020-04-10 16:01:33 +0200 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2020-04-11 18:40:16 +0200 |
commit | 1356a45ef042e7bd3d539fbb606d6b1be547d00f (patch) | |
tree | d263fcb1b68bc14ebcc0d7fa92f13bef00307ddb /test/functional/p2p_invalid_locator.py | |
parent | 75917591c840ca61f5e2c6f5858e6882e834a911 (diff) | |
download | bitcoin-1356a45ef042e7bd3d539fbb606d6b1be547d00f.tar.xz |
test: complete impl. of msg_merkleblock and wait_for_merkleblock
Implements the missing initialization/serialization methods for
msg_merkleblock, based on the already present class CMerkleBlock.
Also changes the method wait_for_merkleblock() to be more precise by waiting
for a merkleblock with a specified blockhash instead of an arbitrary one.
In the BIP37 test p2p_filter.py, this new method is used to make the test of
receiving merkleblock and tx if a filter is set to be more precise, by checking
if they also arrive in the right order.
Diffstat (limited to 'test/functional/p2p_invalid_locator.py')
0 files changed, 0 insertions, 0 deletions