mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-02 14:56:10 -04:00
Save state for Bob at specific points in the swap
This commit is contained in:
parent
5cb2f451d0
commit
ea08778b2f
6 changed files with 82 additions and 7 deletions
|
@ -31,6 +31,7 @@ use crate::{
|
|||
transport::SwapTransport,
|
||||
TokioExecutor,
|
||||
},
|
||||
storage::Database,
|
||||
SwapAmounts, PUNISH_TIMELOCK, REFUND_TIMELOCK,
|
||||
};
|
||||
use xmr_btc::{
|
||||
|
@ -43,6 +44,7 @@ use xmr_btc::{
|
|||
pub async fn swap(
|
||||
bitcoin_wallet: Arc<bitcoin::Wallet>,
|
||||
monero_wallet: Arc<monero::Wallet>,
|
||||
_db: Database<crate::storage::Alice>,
|
||||
listen: Multiaddr,
|
||||
transport: SwapTransport,
|
||||
behaviour: Alice,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue