Zebra/zebra-chain
Henry de Valence 07917421cb
Correct coinbase check (#898)
* chain: add Transaction::is_coinbase()

This matches the check in zcashd/src/primitives/transaction.h:682
(CTransaction::IsCoinBase).

* chain: correct Block::is_coinbase_first

This matches zcashd/src/main.cpp:3968-3974 in CheckBlock.

Previously, the check allowed the first transaction to have multiple coinbase inputs.

* chain: return slices from Transaction::inputs()/outputs()

They're slices internally so we might as well just expose them that way.
2020-08-13 14:04:43 -07:00
..
proptest-regressions Add sapling key derivation bech32 encoding roundtrip proptest 2020-04-18 04:40:31 -04:00
src Correct coinbase check (#898) 2020-08-13 14:04:43 -07:00
Cargo.toml build(deps): bump tracing from 0.1.18 to 0.1.19 (#872) 2020-08-11 10:18:54 -07:00