mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-03 20:13:17 +02:00
[mempool] Persist unbroadcast set to mempool.dat
Ensure that the unbroadcast set will still be meaningful if the node is restarted.
This commit is contained in:
@@ -58,6 +58,9 @@ class MempoolUnbroadcastTest(BitcoinTestFramework):
|
||||
assert rpc_tx_hsh not in mempool
|
||||
assert wallet_tx_hsh not in mempool
|
||||
|
||||
# ensure that unbroadcast txs are persisted to mempool.dat
|
||||
self.restart_node(0)
|
||||
|
||||
self.log.info("Reconnect nodes & check if they are sent to node 1")
|
||||
connect_nodes(node, 1)
|
||||
|
||||
|
Reference in New Issue
Block a user