Commit Graph

59 Commits (c011e9506238fc7987310844f77d5ba72d2a6423)

Author SHA1 Message Date
Philipp Hoenisch c011e95062
Improve logging by adding details as fields instead of into the msg.
3 years ago
Daniel Karzel 652aae9590
Introduce a minimum buy amount
3 years ago
Daniel Karzel 0c616c7437
Move loading the state into the function
3 years ago
Philipp Hoenisch 46e0449b8e
Add config/argument to swap/asb to configure bitcoin tx fees.
3 years ago
Philipp Hoenisch ee90c228b4
Dynamically calculate fees using electrum's estimate_fee.
3 years ago
Philipp Hoenisch 632293cf91
Add support for swapping through Tor.
3 years ago
bors[bot] e262345b4f
Merge #442
3 years ago
Daniel Karzel 0f11ab051e
Print peer ID on debog when starting CLI
3 years ago
Thomas Eizinger 22bdc08c83
Get rid of Bob's swap Builder
3 years ago
dependabot[bot] 19483c5ead
Bump libp2p from 0.36.0 to 0.37.1
3 years ago
Thomas Eizinger f0f7288bb6
Introduce a `redial::Behaviour`
3 years ago
Thomas Eizinger d4c10a1292
Introduce swarm::{alice,bob} function to construct a Swarm instance
3 years ago
bors[bot] 19766b9759
Merge #405
3 years ago
Daniel Karzel c976358c37
Multiple swaps with the same peer
3 years ago
rishflab 8805002f96 Remove redundant noun from tracing initialiser functions
3 years ago
rishflab 9745d150e7 Log at debug level to file
3 years ago
bors[bot] f0a8be6835
Merge #396
3 years ago
rishflab 7df93faa4b Remove unnecessary wrapper struct
3 years ago
Thomas Eizinger 1b2f476cae
Have `--force` flag only override the timelock check
3 years ago
Daniel Karzel d90496931b
Save Alice's peer-id in the db for Bob
3 years ago
Daniel Karzel 1c129d58c4
Distinguish loading all swaps for alice or bob on db level
3 years ago
Thomas Eizinger cde3f0f74a
Remove connection handling from swap execution
3 years ago
Thomas Eizinger 2200fce3f3
Pass Swarm into EventLoop
3 years ago
Thomas Eizinger 2c9ab4f6eb
Improve code structure and error messages for running swaps
3 years ago
Thomas Eizinger 73f30320a6
Seed should neither be Clone nor Copy
3 years ago
bors[bot] 097197783c
Merge #351
3 years ago
Daniel Karzel 668d34080d Show the actual BTC amount and fee to be swapped
3 years ago
Daniel Karzel 396c4177a6 Alice sweeps refunded funds into default wallet
3 years ago
Thomas Eizinger 09c41f89c4
Rename ExecutionParams to EnvironmentConfig
3 years ago
Thomas Eizinger bc43ed6ebd
Pass execution params directly into wallet for initialization
3 years ago
Thomas Eizinger a0830f099f
Pass relevant execution params into wallet instead of via functions
3 years ago
rishflab e5c0158597
Greatly reduce load onto the Electrum backend
3 years ago
Daniel Karzel 0091b6cdaf Remove CLI config file in favour of parameters
3 years ago
Daniel Karzel be52892e65
Monero wallet should not know about all execution params
3 years ago
Thomas Eizinger 82738b111e
Refactor `monero::Wallet::watch_for_transfer` to not use `backoff`
3 years ago
rishflab f92a8ac300 Improve CLI help comments and "type" hints
3 years ago
Daniel Karzel 196557b377 Rename binary to swap
3 years ago
Franck Royer ece689f5ca
There is only one binary, we should use `main.rs` naming convention
4 years ago
Franck Royer 4150e75488
Replace `Try_From` state conversion with `From` for Bob
4 years ago
Franck Royer e541f7b83d
Replace `TryFrom` with `From` for Alice states
4 years ago
Franck Royer f0736d0906
Remove Refund timelock and T0/T1/T2
4 years ago
Franck Royer 297b15e3ce
Remove async block when it is not needed
4 years ago
Franck Royer 1fa812b727
Separate Buy/Sell for resume command
4 years ago
Franck Royer 49b84d84b9
Add address at the start
4 years ago
Franck Royer 1a4bd0e2b4
Bob refunds swap after restart that requires communication
4 years ago
Daniel Karzel e9681b6e2b Work in review comments
4 years ago
Daniel Karzel 6d03d1bbff Resume command and global database cl-parameter
4 years ago
Franck Royer 5ba830f3bf
Replace swap `recover` terminology with `resume`
4 years ago
rishflab 143d8bc07d
Move message0 response handler out of NB
4 years ago
rishflab 4b00141c29
Fix happy path test
4 years ago