-
Notifications
You must be signed in to change notification settings - Fork 36.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: Use MiniWallet in mempool_persist #23047
Conversation
The nodes are stopped in the next line, no need to connect them
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
self.log.debug("Stop-start node0 with -persistmempool=0. Verify that it doesn't load its mempool.dat file.") | ||
self.stop_nodes() | ||
self.start_node(0, extra_args=["-persistmempool=0", "-disablewallet"]) | ||
self.start_node(0, extra_args=["-persistmempool=0"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't node be started with disabled wallet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to ignore this but you can use self.restart_node() here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No wallet (that has any unconfirmed txs) should exist for node 0
Code review ACK faae098 |
faae098 test: Check other fields are loaded correctly as well (MarcoFalke) fa4db92 test: Remove unused self.connect_nodes (MarcoFalke) fafb7b7 test: pep8 (MarcoFalke) fa32cb2 test: Use MiniWallet in mempool_persist (MarcoFalke) faca688 test: Add MiniWallet get_descriptor function (MarcoFalke) Pull request description: ACKs for top commit: laanwj: Code review ACK faae098 Tree-SHA512: 6124f16ee1f3f416c50dc07aebe8846ff7e2b7c8e5dd84f9517cb5f1df021b9e57ed7c7e17bc099a37c663cd93f6d417c5e0622c0b359956403d53e705eb5549
faae098 test: Check other fields are loaded correctly as well (MarcoFalke) fa4db92 test: Remove unused self.connect_nodes (MarcoFalke) fafb7b7 test: pep8 (MarcoFalke) fa32cb2 test: Use MiniWallet in mempool_persist (MarcoFalke) faca688 test: Add MiniWallet get_descriptor function (MarcoFalke) Pull request description: ACKs for top commit: laanwj: Code review ACK faae098 Tree-SHA512: 6124f16ee1f3f416c50dc07aebe8846ff7e2b7c8e5dd84f9517cb5f1df021b9e57ed7c7e17bc099a37c663cd93f6d417c5e0622c0b359956403d53e705eb5549
No description provided.