Commit Graph

82 Commits (b0645bb96eb712c947b8b9863eba00a66c445291)

Author SHA1 Message Date
Daniel Karzel 863ab3ed11
fixup! Add the `list-sellers` command to the CLI
3 years ago
Daniel Karzel 8fb20db33e
Add the `list-sellers` command to the CLI
3 years ago
Daniel Karzel 4ffb2f14be
Pass in CLI behaviour when creating swarm
3 years ago
Daniel Karzel c0070f8fa7
Move files from `protocol` to appropriate module
3 years ago
Daniel Karzel 818147a629
`swap_setup` instead of `spot_price` and `execution_setup`
3 years ago
Thomas Eizinger ac0b0150e6
Upgrade to Rust 1.53
3 years ago
Thomas Eizinger ff8cd0ab93
Harmonise log statements between applications
3 years ago
Thomas Eizinger 90deb6451c
Rename swarm constructors to be per tool instead of per role
3 years ago
xscd 03857ca835 Print the Bitcoin address to the terminal as a QR code
3 years ago
Thomas Eizinger 229d840990
Introduce dedicated `ParseResult` to simplify error handling in main
3 years ago
Daniel Karzel fb9fb21c2b
CLI log statements to be more JSON friendly
3 years ago
Daniel Karzel 0187d9ef4f
Introduce `--json` flag for the CLI
3 years ago
Daniel Karzel 9ff29ae491
CLI `--help` and `--version` are handled correctly
3 years ago
Daniel Karzel 22bf48c287
Fix bug that breaks swap ID for logging
3 years ago
Daniel Karzel af60d3bb54
Network check upon spot price request
3 years ago
Daniel Karzel 9ac5b635d7
Introduce own de-/serializable `monero::Network`
3 years ago
Daniel Karzel 69cf12620d
Activate mainnet for the CLI
3 years ago
Daniel Karzel 1cdc23de32
Explicitly specify `monero-wallet-rpc` deamon port
3 years ago
Daniel Karzel 343badbb4b
Remove duplication and cleanup
3 years ago
Daniel Karzel 4e1f3f82bd
Remove `param` from names
3 years ago
Daniel Karzel 657ac1e2e4
Bitcoin parameters that can be reused
3 years ago
Philipp Hoenisch 493545d07f
Improve logging for Swap Cli.
3 years ago
Philipp Hoenisch 4f45a26a83
Move check for max_giveable into the function.
3 years ago
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