go-blockchain/consensus
Claude 772cd1b0fd
Some checks failed
Security Scan / security (push) Successful in 8s
Test / Test (push) Failing after 22s
refactor: convert remaining fmt.Errorf to coreerr.E()
Converts the last 3 fmt.Errorf calls in production code (excluding
crypto/ CGo boundary) to coreerr.E() for conventions consistency.

Co-Authored-By: Charon <charon@lethean.io>
2026-03-16 23:24:53 +00:00
..
block.go refactor: convert remaining fmt.Errorf to coreerr.E() 2026-03-16 23:24:53 +00:00
block_test.go feat(consensus): add ErrBlockVersion alias and comprehensive block version tests 2026-03-16 20:47:47 +00:00
doc.go feat(consensus): scaffold package with error types 2026-02-21 00:39:41 +00:00
errors.go feat(consensus): enforce transaction version 3 after HF5 2026-03-16 20:57:54 +00:00
errors_test.go feat(consensus): scaffold package with error types 2026-02-21 00:39:41 +00:00
fee.go refactor: replace fmt.Errorf/os.* with go-io/go-log conventions 2026-03-16 21:17:49 +00:00
fee_test.go feat(consensus): include HTLC/multisig in fee calculation and key image checks 2026-03-16 20:37:06 +00:00
freeze_test.go feat(consensus): add pre-hardfork transaction freeze for HF5 2026-03-16 20:59:19 +00:00
integration_test.go docs: Phase 7 consensus rules complete 2026-02-21 01:14:41 +00:00
pow.go chore: use range-over-integer (Go 1.22+) 2026-02-24 16:14:08 +00:00
pow_test.go feat(consensus): PoW difficulty check with RandomX 2026-02-21 01:04:16 +00:00
reward.go refactor: replace fmt.Errorf/os.* with go-io/go-log conventions 2026-03-16 21:17:49 +00:00
reward_test.go feat(consensus): block reward with size penalty 2026-02-21 00:42:46 +00:00
tx.go fix: restore HF5 asset tags, HTLC/multisig inputs, and tx version check after conventions sweep 2026-03-16 21:32:33 +00:00
tx_test.go feat(consensus): gate HTLC and multisig types on HF1 2026-03-16 20:36:58 +00:00
tx_version_test.go feat(consensus): enforce transaction version 3 after HF5 2026-03-16 20:57:54 +00:00
v2sig.go refactor: replace fmt.Errorf/os.* with go-io/go-log conventions 2026-03-16 21:17:49 +00:00
v2sig_test.go feat(consensus): V2 Zarcanum signature and proof verification 2026-02-22 00:06:10 +00:00
verify.go fix: restore HF5 asset tags, HTLC/multisig inputs, and tx version check after conventions sweep 2026-03-16 21:32:33 +00:00
verify_crypto_test.go feat(consensus): V2 Zarcanum signature and proof verification 2026-02-22 00:06:10 +00:00
verify_test.go feat(consensus): verify NLSAG signatures for HTLC inputs 2026-03-16 20:38:28 +00:00