Skip to content

Commit

Permalink
sweepbatcher: add mixed batches option
Browse files Browse the repository at this point in the history
Option WithMixedBatch instructs sweepbatcher to create mixed batches with regard
to cooperativeness. Such a batch can include both sweeps signed both
cooperatively and non-cooperatively. If cooperative signing fails for a sweep,
transaction is updated to sign that sweep non-cooperatively and another round of
cooperative signing runs on the remaining sweeps. The remaining sweeps are
signed in non-cooperative (more expensive) way. If the whole procedure fails for
whatever reason, the batch is signed non-cooperatively (the fallback).
  • Loading branch information
starius committed Jul 12, 2024
1 parent 01f764f commit cce93ad
Show file tree
Hide file tree
Showing 3 changed files with 1,374 additions and 5 deletions.
Loading

0 comments on commit cce93ad

Please sign in to comment.