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

Change zebrad-hash-lookup script so it can use zcashd or zebrad #8829

Closed
oxarbitrage opened this issue Sep 2, 2024 · 1 comment
Closed
Labels
A-rpc Area: Remote Procedure Call interfaces C-testing Category: These are tests

Comments

@oxarbitrage
Copy link
Contributor

Currently, the zebrad-hash-lookup bash script can only be used with zcashd as the backend as it uses the getblockheader RPC call to get information.

The call is not supported in zebrad.

This was reported by @dismad in discord, a workaround was given:

zcash-cli getbestblockhash | xargs zcash-cli getblock | jq .tx.[0] | xargs -n1 ./txDetails.sh | jq .height  workaround for now 😄

Either:

  • Implement the workaround to the script
  • Implement getblockheaders rpc method into zebra. Additional reasons might be wanted to do this.
@oxarbitrage oxarbitrage added C-testing Category: These are tests A-rpc Area: Remote Procedure Call interfaces labels Sep 2, 2024
@mpguerra
Copy link
Contributor

We should implement getblockheader as part of zcashd deprecation. Closing as duplicate of #8442

@mpguerra mpguerra closed this as not planned Won't fix, can't repro, duplicate, stale Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rpc Area: Remote Procedure Call interfaces C-testing Category: These are tests
Projects
Status: Won't Fix
Development

No branches or pull requests

2 participants