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 committed 2025-08-04 16:07:33 +08:00
1 parent 6c39b9a3d4
commit ae08a75410
2 files changed
+13 -3

No files matched your search

+3 -2
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