From 50fc4df6c4e8a84bdda13ade7bed7a2131796f00 Mon Sep 17 00:00:00 2001 From: Amiti Uttarwar Date: Tue, 17 Mar 2020 10:39:25 -0700 Subject: [mempool] Persist unbroadcast set to mempool.dat Ensure that the unbroadcast set will still be meaningful if the node is restarted. --- test/functional/mempool_unbroadcast.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/functional/mempool_unbroadcast.py') diff --git a/test/functional/mempool_unbroadcast.py b/test/functional/mempool_unbroadcast.py index 391c946b64..a561f28b91 100755 --- a/test/functional/mempool_unbroadcast.py +++ b/test/functional/mempool_unbroadcast.py @@ -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) -- cgit v1.2.3