Skip to content

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Aug 24, 2021

This is needed for #22567.

By using the newly added generate* member functions of the test framework, it paves the way to make it easier to implicitly call sync_all after block generation to avoid intermittent issues.

Copy link
Contributor

@lsilva01 lsilva01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested ACK fac8937 on Ubuntu 20.04

@DrahtBot
Copy link
Contributor

DrahtBot commented Aug 25, 2021

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

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #22674 (validation: mempool validation and submission for packages of 1 child + parents by glozow)
  • #22650 (Remove -deprecatedrpc=addresses flag and corresponding code/logic by mjdietzx)
  • #22509 (test: Use MiniWallet in mempool_accept.py by sriramdvt)
  • #22290 (Package Mempool Submission with Package Fee-Bumping by glozow)
  • #21726 (Improve Indices on pruned nodes via prune blockers by fjahr)
  • #19888 (rpc, test: Improve getblockstats for unspendables by fjahr)
  • #17526 (Add Single Random Draw as an additional coin selection algorithm by achow101)
  • #15129 (rpc: Added ability to remove watch only addresses by benthecarman)

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.

@jonatack
Copy link
Member

jonatack commented Sep 1, 2021

I guess I'm the cause of the rebase, will review to move this forward.

-BEGIN VERIFY SCRIPT-
 sed --regexp-extended -i \
     's/((self\.)?(nodes\[[^]]+\]|[a-z_]*(wallet|node)[0-9a-z_]*))\.(generate(|toaddress|block|todescriptor)(\(|, ))/self.\5\1, /g' \
     $(git grep -l generate ./test | grep -v 'test_framework/' | grep -v 'feature_rbf')
-END VERIFY SCRIPT-
@maflcko
Copy link
Member Author

maflcko commented Sep 2, 2021

Rebased (trivial, because scripted-diff)

@practicalswift
Copy link
Contributor

Concept ACK

Copy link
Member

@jonatack jonatack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK fa0b916

$ test/lint/commit-script-check.sh f4e12fd..fa0b916
Running script for: fa0b916971e5bc23ad6396831940a2899ca05402
 sed --regexp-extended -i \
     's/((self\.)?(nodes\[[^]]+\]|[a-z_]*(wallet|node)[0-9a-z_]*))\.(generate(|toaddress|block|todescriptor)(\(|, ))/self., /g' \
     $(git grep -l generate ./test | grep -v 'test_framework/' | grep -v 'feature_rbf')
OK

Maybe update the pull description to s/needed for/the first commit of/ #22567.

@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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants