contractcourt+sweep: make anchor inputs exclusive

We now make sure to sweep each anchor input in its own sweeping tx, if
economically feasible.
This commit is contained in:
yyforyongyu
2025-07-31 05:48:01 +08:00
committed by Oliver Gugger
parent 558ea0f895
commit 28af39cd03
2 changed files with 13 additions and 3 deletions

View File

@@ -45,8 +45,9 @@ var (
// Params contains the parameters that control the sweeping process.
type Params struct {
// ExclusiveGroup is an identifier that, if set, prevents other inputs
// with the same identifier from being batched together.
// ExclusiveGroup is an identifier that, if set, ensures this input is
// swept in a transaction by itself, and not batched with any other
// inputs.
ExclusiveGroup *uint64
// DeadlineHeight specifies an absolute block height that this input