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 18, 2024
1 parent 6627368 commit 2364192
Show file tree
Hide file tree
Showing 3 changed files with 982 additions and 5 deletions.
Loading

0 comments on commit 2364192

Please sign in to comment.