zebra/zebra-consensus/src/parameters
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
..
minimum_difficulty.rs
subsidy.rs Validate funding stream amounts in coinbase transaction (#3017) 2021-11-08 22:33:12 +00:00
tests.rs Call `zebra_test::init` where needed. (#1227) 2020-11-10 10:29:25 +10:00