diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-05-06 16:52:45 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-05-06 16:52:55 +0200 |
commit | 06d573f053c63eb6521c62d210c5924418ae2b83 (patch) | |
tree | 2473787478949700c3c945a0e52b4c382b8beb62 /src | |
parent | 1fcf66af682651fd5dca3fa6164fc7c3ecb2c704 (diff) | |
parent | 9f767e84381d678ed24e3f7f981976f9da34971e (diff) | |
download | bitcoin-06d573f053c63eb6521c62d210c5924418ae2b83.tar.xz |
Merge bitcoin/bitcoin#21867: test: use MiniWallet for p2p_blocksonly.py
9f767e84381d678ed24e3f7f981976f9da34971e test: use MiniWallet for p2p_blocksonly.py (Sebastian Falbesoner)
Pull request description:
This PR enables one more of the non-wallet functional tests (p2p_blocksonly.py) to be run even with the Bitcoin Core wallet disabled by using the new MiniWallet instead, as proposed in #20078.
Note that MiniWallet creates segwit transactions by default, i.e. txid and wtxid are not identical and we have to return both from `check_p2p_tx_violation(...)`: wtxid is needed to match an expected `"received getdata for: wtx ..."` debug output, whereas the txid is needed to wait for a certain tx via `wait_for_tx(...)`.
ACKs for top commit:
jonatack:
ACK 9f767e84381d678ed24e3f7f981976f9da34971e tested with `--disable-wallet`
Tree-SHA512: f08001f02c3c310ccdf713af0ba17304368a36414f412749908bbe8c03ad1e902190b8768b79f3b4909855762f285e7ab1b627cc4f45c90b42bb097a43cb4318
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions