loop/utils
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
..
chainhashutil multi: add strict txid parsing helper 2026-04-07 00:25:20 -05:00
dust_limit.go utils: function to get dust limit for a pkscript. 2025-07-29 12:33:54 +02:00
dust_limit_test.go utils: function to get dust limit for a pkscript. 2025-07-29 12:33:54 +02:00
fees.go multi: factor out sweep fee clamping function 2026-01-15 03:06:22 -05:00
fees_test.go multi: factor out sweep fee clamping function 2026-01-15 03:06:22 -05:00
htlc_utils.go multi: bump lnd compile time dependency to v0.18.4-beta 2024-10-22 09:12:31 +02:00
musig.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
tx_sort.go utils: bip69 output sorting 2025-07-29 18:03:11 +02:00