diff options
author | Amiti Uttarwar <amiti@uttarwar.org> | 2020-03-17 10:39:25 -0700 |
---|---|---|
committer | Amiti Uttarwar <amiti@uttarwar.org> | 2020-04-23 14:42:25 -0700 |
commit | 50fc4df6c4e8a84bdda13ade7bed7a2131796f00 (patch) | |
tree | f30b5fa6cad650ce39e7259b5a71d8c5b28ae731 /test/functional/mempool_unbroadcast.py | |
parent | 297a1785360c4db662a7f3d3ade7b6b503258d39 (diff) |
[mempool] Persist unbroadcast set to mempool.dat
Ensure that the unbroadcast set will still be meaningful if the node is
restarted.
Diffstat (limited to 'test/functional/mempool_unbroadcast.py')
-rwxr-xr-x | test/functional/mempool_unbroadcast.py | 3 |
1 files changed, 3 insertions, 0 deletions
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) |