ZcashFoundation / zebra

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

getblock: return transactions details with `verbosity=2` #9024

Open conradoplg opened 1 week ago

conradoplg commented 1 week ago

Motivation

For zcashd compatibility. In verbose=2 mode, the transactions details should be returned instead of transaction hashes.

Specifications

https://github.com/zcash/zcash/blob/99ad6fdc3a549ab510422820eea5e5ce9f60a5fd/src/rpc/blockchain.cpp#L797-L799

Complex Code or Requirements

Can probably be done by calling getrawtransaction to reuse its logic.

Testing

No response

Related Work

No response