-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try another maker if signature request fails
Taker will try to request senders contract transaction signatures in a loop until a maker replies successfully, or we run out of makers to try. Consider when the taker coordinates a coinswap between two makers in a routed coinswap. The way this recovery from failure works is that the taker may need to send the ProofOfFunding message to a taker multiple times, once for each time a new "next_maker" is attempted. Because of that makers must now deal with a ProofOfFunding message sent multiple times. This commit also has code for that. Also created a optional "special behavior" flag which can configure makers to do weird stuff like stall or abort. This flag is useful for testing the new feature of recovering if a maker fails to send signatures. Signed-off-by: chris-belcher <[email protected]>
- Loading branch information
1 parent
d5e38f3
commit 1f63310
Showing
4 changed files
with
280 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.