a7ebe48b94c5a9195c8eabd193204c499cb4bfdb
- expose info about number of txns in unbroadcast set and whether a mempool entry's tx has passed initial broadcast
- makes rpcs more informative and allows for more explicit testing, eg tracking if tx is in unbroadcast set
before and after originating node connects to peers (adds this in mempool_unbroadcast.py)
- adds mempool method IsUnbroadcastTx to query for tx inclusion in mempool's unbroadcast set
----
651f1d816f054cb9c637f8a99c9360bba381ef58
- mempool entry 'unbroadcast' field changes when tx passes initial broadcast (receive getdata), so anytime you compare mempool entries as a whole, you must wait for all broadcasts to complete ('unbroadcast' = False) otherwise the state may change in between calls
- update P2PTxInvStore to send msg_getdata for invs and add functionality to wait for a list of txids to complete initial broadcast
- make mempool_packages.py wait because it compares entries using getrawmempool and getmempoolentry
---
This is a backport of Core [[https://github.com/bitcoin/bitcoin/pull/18895 | PR18895]] [2/3]
https://github.com/bitcoin/bitcoin/pull/18895/commits/a7ebe48b94c5a9195c8eabd193204c499cb4bfdb
https://github.com/bitcoin/bitcoin/pull/18895/commits/651f1d816f054cb9c637f8a99c9360bba381ef58
Depends on D9023