Commit Graph

33 Commits (620ac569f7db4b19c3dc761619e7a4d0ab0841dd)

Author SHA1 Message Date
Daniel Karzel 818147a629
`swap_setup` instead of `spot_price` and `execution_setup`
3 years ago
Daniel Karzel 529de8d5fd
ASB aborts if CLI does not lock BTC
3 years ago
Thomas Eizinger 7120a1f70a
Don't depend on `core::fmt` through `bitcoin_hashes` re-export
3 years ago
Daniel Karzel 01af9a5676
Bitcoin transaction published state
3 years ago
Daniel Karzel bc442bcad3
Await 10 confirmations of lock tx in refund
3 years ago
Daniel Karzel 183e8f02de
Wait for lock tx and send transfer proof in separate state
3 years ago
Thomas Eizinger 338f4b82e5
Introduce dedicated bob::State6 for cancelling
3 years ago
Thomas Eizinger a57f88d1b4
Properly handle concurrent messages to and from peers
3 years ago
Thomas Eizinger 84ea092a1b
Remove unnecessary state variables by constructing TXs on demand
3 years ago
Thomas Eizinger 6d9b21cb47
Change `imports_granularity` to module
3 years ago
Thomas Eizinger 6c38d66864
Remove `Tx` arguments from `add_signatures` functions
3 years ago
Daniel Karzel 684cbe4d0b Remember monero wallet-height for Alice's refund scenario
3 years ago
Thomas Eizinger 03078f328c
Split monero-harness into harness and rpc
3 years ago
Franck Royer 2dbd43e2c0
Only pass btc amount to CLI
3 years ago
Franck Royer 144da75270
Remove redundant data
3 years ago
Franck Royer 6e6dc320b4
Alice event loop now handles the creation of new swaps
3 years ago
Franck Royer 39a46baa2c
Preemptively box cancel tx to avoid size difference in enum
3 years ago
Franck Royer 69363e43a3
Preemptively box encrypted signature to avoid size difference in enum
3 years ago
rishflab 77fc5743a2
Upgrade tokio to 1.0
3 years ago
Franck Royer 33db688e3a
Bob peer id can be retrieved from the DB
3 years ago
Franck Royer d2a1937f51
Use `Message4`
3 years ago
Franck Royer f2a25ee49b
Move definitions out of lib.rs
3 years ago
Daniel Karzel 3593f5323a Bob saves lock proof after received so he can resume swap
3 years ago
Franck Royer ae8134f04e
Replace amounts messages with swap res/req
3 years ago
Franck Royer 9a823dca4c
Do not introduced State6
3 years ago
Daniel Karzel 8615aaed6e Make lock-tx id available in redeem/punish state to be able to assert exact fees
3 years ago
rishflab dcea54dbf1 Move protocol parent states into appropriate module
3 years ago
rishflab f64eede5d8 Move monero ser/deser to monero module
3 years ago
rishflab e7c00d742e Re-export bitcoin and monero types
3 years ago
rishflab c900d12593 Merge xmr_btc crate
3 years ago
Franck Royer e1e8533862
Embed state mod in database mod
3 years ago
Franck Royer 59708c57e6
Move Alice and Bob db states in separate modules
3 years ago
Franck Royer b410de01df
Move state.rs under database module
3 years ago