Commit Graph

92 Commits (56a48e71ef88c74808f59565552e0f0993d856f0)

Author SHA1 Message Date
Thomas Eizinger 56a48e71ef
Add failing test that shows spamming of output
3 years ago
Thomas Eizinger 56ea23c2a3
Assert log output for `determine_btc_to_swap`
3 years ago
Thomas Eizinger a347dd8b97
Move helper structs below tests
3 years ago
Thomas Eizinger 5c37fe6733
Make struct-opt docs more consistent
3 years ago
Thomas Eizinger 987f8abb9d
Include unreachable nodes in table output
3 years ago
Thomas Eizinger 9119ce5cc4
Tidy up log messages across the codebase
3 years ago
Thomas Eizinger 78480547d5
Don't import tracing's macros
3 years ago
Thomas Eizinger acfd2dd6bb
Store Monero receive address in database and load it on resume
3 years ago
Thomas Eizinger 5463bde4f8
Add a mandatory `--change-address` parameter to `buy-xmr`
3 years ago
Daniel Karzel ff10edd8a4
Add the `list-sellers` command to the CLI
3 years ago
Daniel Karzel f45cde84ab
`comfy-table` instead of `prettytable-rs`
3 years ago
Daniel Karzel ff8cca2e27
Pass in CLI behaviour when creating swarm
3 years ago
Thomas Eizinger ec4234fbb9
Merge `--seller-addr` and `--seller-peer-id` into `--seller` parameter
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