diff options
author | MacroFake <falke.marco@gmail.com> | 2022-07-05 18:55:52 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-07-05 18:55:56 +0200 |
commit | 195e07feaf7bbeedaa675d7cf21c7160afe2c9fa (patch) | |
tree | 29910cbaa6505a41ffb4c8ac40f9dc1cf1ea9c1e /doc/build-netbsd.md | |
parent | 9fb2a2bc6768ab03fcada9155d52a16ce6f6a0cc (diff) | |
parent | c0a5fceee9858afd24fe0bf655b7b30728e96e78 (diff) |
Merge bitcoin/bitcoin#19393: test: Add more tests for orphan tx handling
c0a5fceee9858afd24fe0bf655b7b30728e96e78 test: Add test for erase orphan tx conflicted by block (Hennadii Stepanov)
fa45bb21193ae0c220cfc224d5e3ea0e7f3ec988 test: Add test for erase orphan tx included by block (Hennadii Stepanov)
5c049780c8b310428cf72fb304bf0c1071742785 test: Add test for erase orphan tx from peer (Hennadii Stepanov)
Pull request description:
This PR adds test coverage for the following cases:
- erase orphan transactions when a peer is disconnected
- erase an orphan transaction when it is included in a new tip block
- erase an orphan transaction when it is conflicted with other transactions included in a new tip block
Found useful while working on #19374.
ACKs for top commit:
aureleoules:
tACK c0a5fceee9858afd24fe0bf655b7b30728e96e78 (`make check` and `test/functional/test_runner.py`).
kouloumos:
ACK c0a5fceee9858afd24fe0bf655b7b30728e96e78 with a nit per https://github.com/bitcoin/bitcoin/pull/19393#discussion_r899156623.
pg156:
Reviewed to https://github.com/bitcoin/bitcoin/pull/19393/commits/c0a5fceee9858afd24fe0bf655b7b30728e96e78. Concept ACK. Agree due to the lack of RPC calls to inspect orphan pool, using `assert_debug_log` to match strings in log is a reasonable way to test.
Tree-SHA512: 98f8deeee2d1c588c7e28a82e513d4a18655084198369db33fe2710458251eeaffed030626940072d7576f57fcbf7d856d761990129e2ca9e372d2ccbd86d07d
Diffstat (limited to 'doc/build-netbsd.md')
0 files changed, 0 insertions, 0 deletions