zebra/zebra-consensus
Alfredo Garcia 62bfa15e96
Validate funding stream amounts in coinbase transaction (#3017)
* validate funding stream amounts in the coinbase

* clippy

* use `i64::from()` and remove `number()` method from `Amount`

* move tests to their own file

* refactor the funding stream check

* use `Amount`s in funding streams calculation

* remove unused import

* add import to tests

* expand test vectors

* add notes to `funding_stream_values()`
2021-11-08 22:33:12 +00:00
..
src Validate funding stream amounts in coinbase transaction (#3017) 2021-11-08 22:33:12 +00:00
Cargo.toml Update to Tokio 1.13.0 (#2994) 2021-11-02 18:46:57 +00:00