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

Implement generateblocks rpc call in rpcclient #1808

Open
arshbot opened this issue Feb 8, 2022 · 1 comment
Open

Implement generateblocks rpc call in rpcclient #1808

arshbot opened this issue Feb 8, 2022 · 1 comment

Comments

@arshbot
Copy link
Contributor

arshbot commented Feb 8, 2022

In bitcoind 0.21.0, the generateblocks rpc command was introduced. Some documentation can be found here.

While this command isn't useful for mainnet nodes, it can be very useful for local testing, as the generateblocks rpc command accepts an array of transactions which are to be include in the block. To my knowledge this is the only way to control which transactions are mined in a local regtest environment, which could be very beneficial for integration testing.

@cubancorona
Copy link

Did, you try,,,, re star-ar-arrr tiiiiing 🎼🎶🎵🎤🎧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants