loop/utils/chainhashutil
Boris Nagaev dbd944e6ab
multi: add strict txid parsing helper
Add a dedicated helper that rejects any chainhash string unless it is
exactly 64 hex characters long, instead of relying on btcd's
lenient parser semantics.

Cover the helper with focused tests for valid, short, odd-length,
empty, and non-hex inputs so later call sites can use it as a
full-txid validation primitive.
2026-04-07 00:25:20 -05:00
..
strict.go multi: add strict txid parsing helper 2026-04-07 00:25:20 -05:00
strict_test.go multi: add strict txid parsing helper 2026-04-07 00:25:20 -05:00