ZcashFoundation / zebra

Zcash - Financial Privacy in Rust 🦓
https://zfnd.org/zebra/
Apache License 2.0
412 stars 106 forks source link

rpc: support negative heights #9025

Open conradoplg opened 6 days ago

conradoplg commented 6 days ago

Motivation

In a bunch of RPC calls like getblock, zcashd supports negative heights (where -1 is the last known valid block) but Zebra doesn't. It is a useful feature in particular for getting the latest block and seems easy to support.

Look which RPC calls support it in zcashd and add support to Zebra

Specifications

No response

Complex Code or Requirements

No response

Testing

No response

Related Work

No response