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

Update getblock RPC method #8446

Open
Tracked by #8435
mpguerra opened this issue Apr 24, 2024 · 2 comments · Fixed by #9008 · May be fixed by #9006
Open
Tracked by #8435

Update getblock RPC method #8446

mpguerra opened this issue Apr 24, 2024 · 2 comments · Fixed by #9008 · May be fixed by #9006
Assignees

Comments

@mpguerra
Copy link
Contributor

mpguerra commented Apr 24, 2024

Motivation

This is needed for zcashd deprecation

https://zcash.github.io/rpc/getblock.html

Scope

  1. Identify remaining work to fully implement
@github-project-automation github-project-automation bot moved this to New in Zebra Apr 24, 2024
@mpguerra mpguerra added this to the Block Explorer Support milestone Apr 24, 2024
@mpguerra mpguerra moved this from New to Product Backlog in Zebra Apr 24, 2024
@dismad
Copy link
Contributor

dismad commented Sep 1, 2024

+1. I would like this method to match zcashd as much as possible. For example with block height when given a block hash.

@mpguerra mpguerra moved this from Product Backlog to Sprint Backlog in Zebra Sep 2, 2024
@mpguerra mpguerra assigned mpguerra and oxarbitrage and unassigned mpguerra and oxarbitrage Sep 23, 2024
@conradoplg
Copy link
Collaborator

Reported by pitmutt on Discord

Hello. I found that Zebra's response for RPC method getblock differs depending on whether you use a block height or a hash as the parameter. If you use a hash, the height field in the JSON response is missing.

Which seems the same as dismad's request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment