Skip to content
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

Merged
merged 5 commits into from
Sep 24, 2021
Merged

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Sep 20, 2021

No description provided.

@fanquake fanquake added the Tests label Sep 20, 2021
@DrahtBot
Copy link
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #22567 (test: Implicitly sync after generate* to preempt races and intermittent test failures by MarcoFalke)

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"])
Copy link
Contributor

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?

Copy link
Contributor

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.

Copy link
Member Author

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

@laanwj
Copy link
Member

laanwj commented Sep 24, 2021

Code review ACK faae098

@laanwj laanwj merged commit 01b5cfb into bitcoin:master Sep 24, 2021
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Sep 24, 2021
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
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Sep 24, 2021
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
@maflcko maflcko deleted the 2109-testMempool branch September 27, 2021 08:14
@bitcoin bitcoin locked and limited conversation to collaborators Oct 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants