mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Merge bitcoin/bitcoin#23061: Fix (inverse) meaning of -persistmempool
faa9c19a4b27e7fabf7c5deae1b4c4ca612ed01a doc: Add 23061 release notes (MarcoFalke) faff17bbde6dcb1482a6210bc48b3192603a446f Fix (inverse) meaning of -persistmempool (MarcoFalke) Pull request description: Passing `-persistmempool` is currently treated as `-nopersistmempool` ACKs for top commit: jnewbery: reACK faa9c19a4b27e7fabf7c5deae1b4c4ca612ed01a hebasto: ACK faa9c19a4b27e7fabf7c5deae1b4c4ca612ed01a, I have reviewed the code and it looks OK, I agree it can be merged. Tree-SHA512: f34a89a07745dabe340eb845b2a348b79c093e9056f7a21c17e1ba2e278177c9b4cf30e8095791fd645a7f90eb34850b2eee0c869b4f6ec02bf749c73b0e52ee
This commit is contained in:
parent
f5f69ae982
commit
ed7ad7af74
@ -154,7 +154,7 @@ class MempoolPersistTest(BitcoinTestFramework):
|
|||||||
self.log.debug("Stop nodes, make node1 use mempool.dat from node0. Verify it has 6 transactions")
|
self.log.debug("Stop nodes, make node1 use mempool.dat from node0. Verify it has 6 transactions")
|
||||||
os.rename(mempooldat0, mempooldat1)
|
os.rename(mempooldat0, mempooldat1)
|
||||||
self.stop_nodes()
|
self.stop_nodes()
|
||||||
self.start_node(1, extra_args=[])
|
self.start_node(1, extra_args=["-persistmempool"])
|
||||||
assert self.nodes[1].getmempoolinfo()["loaded"]
|
assert self.nodes[1].getmempoolinfo()["loaded"]
|
||||||
assert_equal(len(self.nodes[1].getrawmempool()), 6)
|
assert_equal(len(self.nodes[1].getrawmempool()), 6)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user