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 generate RPC method #8834

Closed
Tracked by #8781
oxarbitrage opened this issue Sep 4, 2024 · 0 comments · Fixed by #8849
Closed
Tracked by #8781

Implement generate RPC method #8834

oxarbitrage opened this issue Sep 4, 2024 · 0 comments · Fixed by #8849
Assignees
Labels
A-compatibility Area: Compatibility with other nodes or wallets, or standard rules A-rpc Area: Remote Procedure Call interfaces C-testing Category: These are tests P-Medium ⚡

Comments

@oxarbitrage
Copy link
Contributor

oxarbitrage commented Sep 4, 2024

We want to make the zcashd rpc tests to work with zebra:

#8779
#8781

However, almost all the tests rely in a generate RPC method, for example: https://github.com/zcash/zcash/blob/master/qa/rpc-tests/getmininginfo.py#L34

The generate method is a Regtest mode only that mine a number of blocks immediately.

Docs: https://zcash.github.io/rpc/generate.html
Zcashd implementation: https://github.com/zcash/zcash/blob/master/src/rpc/mining.cpp#L169

@oxarbitrage oxarbitrage added C-testing Category: These are tests A-compatibility Area: Compatibility with other nodes or wallets, or standard rules P-Medium ⚡ A-rpc Area: Remote Procedure Call interfaces labels Sep 4, 2024
@oxarbitrage oxarbitrage self-assigned this Sep 4, 2024
@mpguerra mpguerra added this to the Zebra can replace `zcashd` milestone Sep 5, 2024
@mergify mergify bot closed this as completed in #8849 Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-compatibility Area: Compatibility with other nodes or wallets, or standard rules A-rpc Area: Remote Procedure Call interfaces C-testing Category: These are tests P-Medium ⚡
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants