Commit Graph

61 Commits (ac0b0150e6a33f4213920c036e70f642f666ed8b)

Author SHA1 Message Date
Philipp Hoenisch 632293cf91
Add support for swapping through Tor.
3 years ago
rishflab e517c5934e Move asb tracing initializer to asb module
3 years ago
bors[bot] 2c385ee7d9
Merge #321
3 years ago
Thomas Eizinger a57f88d1b4
Properly handle concurrent messages to and from peers
3 years ago
Thomas Eizinger 09c41f89c4
Rename ExecutionParams to EnvironmentConfig
3 years ago
Thomas Eizinger 60d6d50246
Extract kraken websocket client into dedicated module
3 years ago
Thomas Eizinger 14dcd150af
Extract `determine_btc_to_swap` function and test it
3 years ago
bors[bot] a6724f29af
Merge #214
3 years ago
Daniel Karzel fe3d6f1fef Rename nectar to asb (automated swap backend)
3 years ago
Thomas Eizinger 84bc2c82b7
Upgrade to bdk 4.0
3 years ago
Franck Royer fb3b2aa546
Remove unnecessary pub qualifier
3 years ago
Franck Royer ee43125bdd
Add `nectar` binary
3 years ago
Franck Royer 7805a6d684
Move cli specific modules under cli folder
3 years ago
Franck Royer 7d392c3086
This files contains `Command` and `Arguments` structs
3 years ago
Franck Royer 788445964a
Move main.rs to cli.rs to prepare for nectar binary
3 years ago
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
3 years ago
Daniel Karzel 0a21040e08 Deterministic peer id from seed for alice
3 years ago
rishflab f64eede5d8 Move monero ser/deser to monero module
3 years ago
rishflab c900d12593 Merge xmr_btc crate
3 years ago
Franck Royer b410de01df
Move state.rs under database module
3 years ago
Franck Royer 8c7964bfee
Rename storage.rs to database.rs to reduce terminology variants
3 years ago
Franck Royer cdf2800fa5
Align clippy lints
3 years ago
Franck Royer 40a27a2438
Remove dead code
3 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