Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add(consensus): Check consensus branch ids in tx verifier (#9063)
* Add a consensus branch id check to tx verifier * Allow updating tx network upgrades * Fix unit tests for txs * Remove `println` * Move test-only tx methods out of the default impl * Add a test for checking consensus branch ids * Simplify some tests * Docs formatting * Update zebra-consensus/src/transaction/check.rs Co-authored-by: Conrado Gouvea <[email protected]> * Add `effectiveVersion` to txs * Refactor the consensus branch ID check * Update zebra-consensus/src/error.rs Co-authored-by: Alfredo Garcia <[email protected]> * Refactor the consensus branch ID check * Remove `effective_version` * Refactor tests for consensus branch ID check --------- Co-authored-by: Conrado Gouvea <[email protected]> Co-authored-by: Alfredo Garcia <[email protected]>
- Loading branch information