loop/sweepbatcher
Slyghtning 605e72a261
sweepbatcher: reject malformed MuSig2 cosign data
The cooperative batch sweep path receives a server nonce and partial signature before constructing a keyspend witness. Validate both byte slice lengths before registering the nonce or combining signatures, so malformed server responses fail explicitly instead of being zero-padded into fixed-size MuSig2 buffers.

Update batcher test helpers to return size-correct placeholder signing data under the stricter validation.
2026-05-29 11:53:33 +02:00
..
greedy_batch_selection.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
greedy_batch_selection_test.go sweepbatcher: consolidate identical change pkscripts 2025-07-29 21:22:17 +02:00
log.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
presigned.go sweepbatcher: presign transactions in parallel 2025-10-14 22:37:18 -03:00
presigned_test.go sweepbatcher: presign transactions in parallel 2025-10-14 22:37:18 -03:00
store.go sweepbatcher: persist confirmed batches atomically 2025-12-04 00:37:01 -03:00
store_mock.go sweepbatcher: persist confirmed batches atomically 2025-12-04 00:37:01 -03:00
sweep_batch.go sweepbatcher: reject malformed MuSig2 cosign data 2026-05-29 11:53:33 +02:00
sweep_batch_test.go sweepbatcher: consolidate identical change pkscripts 2025-07-29 21:22:17 +02:00
sweep_batcher.go sweepbatcher: mask presign cancellation races 2026-05-18 11:58:54 +02:00
sweep_batcher_presigned_test.go sweepbatcher: fix fee rate calculation (publish) 2025-10-11 22:15:56 -03:00
sweep_batcher_test.go sweepbatcher: reject malformed MuSig2 cosign data 2026-05-29 11:53:33 +02:00