mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-30 20:46:33 -05:00
Implement swap recover function for Alice
This introduces a lot of duplication between the binary and the library, but it's okay because this module should only be a temporary measure until we allow recovery to be handled by the original state machine. Also, fix a bug in `xmr_btc::alice::action_generator` caused by the incorrect assumption that Alice's ability to punish Bob could be determined before the cancel transaction hits the blockchain.
This commit is contained in:
parent
b989e94322
commit
28225f8643
8 changed files with 242 additions and 97 deletions
|
|
@ -6,6 +6,7 @@ pub mod bitcoin;
|
|||
pub mod bob;
|
||||
pub mod monero;
|
||||
pub mod network;
|
||||
pub mod recover;
|
||||
pub mod state;
|
||||
pub mod storage;
|
||||
pub mod tor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue