Zebra/zebra-chain/src/block
teor 1df3bdb089
Check MAX_BLOCK_SIGOPS in the block verifier (#3049)
* Cleanup a function that calls zcash_script

* Remove zebra_test::prelude macros that conflict with the Rust prelude

* Add sigops count support to zebra-script

* Check MAX_BLOCK_SIGOPS in the block verifier

* Test MAX_BLOCK_SIGOPS on generated and historic blocks

* Add SAFETY comments for all unsafe zebra-script code

* Explain where the consensus rule comes from

* Remove unused pretty_assertions dependency

* Allow large test block generation functions with the proptest-impl feature

* Replace `as` with `try_into` for integer conversions in unsafe code

* Expand SAFETY comments
2021-11-15 20:55:32 +00:00
..
tests Simplify preallocate tests (#3032) 2021-11-11 07:53:21 +10:00
arbitrary.rs Fix typos (#3055) 2021-11-12 19:30:22 +00:00
commitment.rs Fix typos (#3055) 2021-11-12 19:30:22 +00:00
error.rs Move network_upgrade check into zebra-chain (#2354) 2021-06-22 12:06:52 +10:00
hash.rs Reverse displayed endianness of transaction and block hashes (#1171) 2020-10-22 07:54:02 +10:00
header.rs Replace read_compactsize and write_compactsize with CompactSizeMessage (#3014) 2021-11-05 15:24:24 -03:00
height.rs Call `zebra_test::init` where needed. (#1227) 2020-11-10 10:29:25 +10:00
merkle.rs ZIP-221 and ZIP-244 commitment validation in non-finalized state (#2609) 2021-08-17 11:49:27 -03:00
serialize.rs Replace read_compactsize and write_compactsize with CompactSizeMessage (#3014) 2021-11-05 15:24:24 -03:00
tests.rs Check MAX_BLOCK_SIGOPS in the block verifier (#3049) 2021-11-15 20:55:32 +00:00