mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-23 12:29:23 +01:00
9a40cfc558[refactor] use waiting inside disconnect_p2ps (gzhao408)aeb9fb414e[test] wait for disconnect_p2ps to be reflected in getpeerinfo (gzhao408)e81942d2e1[test] logging and style followups for bloomfilter tests (gzhao408) Pull request description: Followup to #19083 which adds bloomfilter-related tests. 1. Make test_node `disconnect_p2ps` wait until disconnection is complete to avoid race conditions (and not place the burden on tests) from MarcoFalke's [comment](https://github.com/bitcoin/bitcoin/pull/19083#discussion_r437383989). And clean up any redundant `wait_until`s in the functional tests. 2. Clean up style + logging in p2p_filter.py and p2p_nobloomfilter_messages.py and jonatack's other [comments](https://github.com/bitcoin/bitcoin/pull/19083#pullrequestreview-428955784) ACKs for top commit: jonatack: Code review ACK9a40cfcfrom re-reviewing the diff and `git range-diff5cafb468386ad5 9a40cfc` MarcoFalke: ACK9a40cfc558🐂 Tree-SHA512: 2e14b1c12fc08a355bd5ccad7a2a734a4ccda4bc7dc7bac171cb57359819fc1599d764290729af74832fac3e2be258c5d406c701e78ab6d7262835859b9a7d87