Commit Graph

46 Commits (311ba74cd673fef893514eea7a4de4e7fcf4fff8)

Author SHA1 Message Date
Daniel Karzel 89b3775e05 Rename config to execution_params
3 years ago
Daniel Karzel 802dc61e7e Configuration for RPC urls and Bitcoin wallet name
3 years ago
Franck Royer 33db688e3a
Bob peer id can be retrieved from the DB
3 years ago
Franck Royer f2a25ee49b
Move definitions out of lib.rs
3 years ago
Franck Royer b88a777bae
Remove dead code
3 years ago
Daniel Karzel 433704e48c Top to bottom `pub mod` then `mod` then `pub use` then `use` (incl. `use crate` and `use self`)
3 years ago
Franck Royer 898b8bf8b0
Remove dead code
3 years ago
Franck Royer 31c63f0c4d
Remove dead code
4 years ago
Daniel Karzel 0a21040e08 Deterministic peer id from seed for alice
4 years ago
rishflab f64eede5d8 Move monero ser/deser to monero module
4 years ago
rishflab c900d12593 Merge xmr_btc crate
4 years ago
Franck Royer b410de01df
Move state.rs under database module
4 years ago
Franck Royer 8c7964bfee
Rename storage.rs to database.rs to reduce terminology variants
4 years ago
Franck Royer cdf2800fa5
Align clippy lints
4 years ago
Franck Royer 40a27a2438
Remove dead code
4 years ago
Daniel Karzel 43d05935e7 Remove tor module
4 years ago
rishflab 4b00141c29
Fix happy path test
4 years ago
Franck Royer 905fc6cf35
Save Bob state during swap
4 years ago
Daniel Karzel 03b8e5f52e Upgrade CLI for mainnet test
4 years ago
Franck Royer c0478d7191
Move expiries to config
4 years ago
rishflab f5d3d54b13 Prevent premature Bob t1 timeout
4 years ago
rishflab 24631d464d Add test for recursive executor
4 years ago
rishflab 3b005bd15c Resolve rebase issues, restructure code and fix warnings
4 years ago
Franck Royer 58ca33dd04 Remove warnings
4 years ago
Franck Royer 8976a03b3d Implemented Alice transition from `BtcLocked` to `XmrLocked`
4 years ago
rishflab ae94b170fd Cleanup
4 years ago
rishflab ff7daf16f3 WIP: Test simplified swap execution
4 years ago
rishflab dd07e2f882 Add Alice execution path
4 years ago
Lucas Soriano del Pino 483c819e17 Correctly re-export types from bitcoin and monero modules
4 years ago
Lucas Soriano del Pino 28225f8643 Implement swap recover function for Alice
4 years ago
Lucas Soriano del Pino 33a111d879 Move Swap state out of storage
4 years ago
rishflab 249f273d1b Remove stale comments
4 years ago
rishflab 796d0b3439 Extract transport creation and remove tor conditional compile
4 years ago
Lucas Soriano del Pino a37f43a1ba wip: Provide enough funds to both parties
4 years ago
Lucas Soriano del Pino 9f32cd988e wip: Use same timelock value for refund and punish
4 years ago
Lucas Soriano del Pino 4ee82a5a2a Execute Alice's on-chain protocol after handshake
4 years ago
rishflab c781ee949d Move storage into application crate
4 years ago
Philipp Hoenisch 17b32fed90
Moving tor into swap
4 years ago
Tobin C. Harding cc61079826 Use VerifiedAmounts
4 years ago
Tobin C. Harding eed5e8e9a4 Move monero serde code to lib
4 years ago
Tobin C. Harding ad006fae6a Do a bunch of cleanups
4 years ago
Tobin C. Harding e7504de76c Add state0 -> state1 messages
4 years ago
Tobin C. Harding 08ec776daa Move monero/bitcoin modules to files
4 years ago
Tobin C. Harding 1251681cfd Calculate amounts from BTC
4 years ago
Tobin C. Harding 3492c46e71 Verify amounts with user
4 years ago
Tobin C. Harding 05766d3146 Add swap/
4 years ago