Commit Graph

1027 Commits (master)

Author SHA1 Message Date
Daniel Karzel f45cde84ab
`comfy-table` instead of `prettytable-rs`
3 years ago
Thomas Eizinger b4fafeba6b
Allow large enum variant lint
3 years ago
Thomas Eizinger e163942850
Merge transport and behaviour module into network
3 years ago
Daniel Karzel ff8cca2e27
Pass in CLI behaviour when creating swarm
3 years ago
bors[bot] 4cd27e372c
Merge #604
3 years ago
bors[bot] 72673fa166
Merge #605
3 years ago
Thomas Eizinger d49f4ea60d
Test saving and loading of addresses in isolation
3 years ago
Thomas Eizinger ec4234fbb9
Merge `--seller-addr` and `--seller-peer-id` into `--seller` parameter
3 years ago
Thomas Eizinger c2daf7a11e
Make use of torut's errors implementing `std::error::Error`
3 years ago
Thomas Eizinger 8057b45e17
Test new reachability function in tests
3 years ago
Thomas Eizinger 92ed8d9c04
Refuse to dial addresses via Tor that are almost certainly not reachable
3 years ago
Thomas Eizinger ec59184e85
Refactor `fmt_as_address_string` to return a structured value
3 years ago
bors[bot] b708d5a4dd
Merge #585
3 years ago
Your Name 665ea503d2 Make price ticker ws url configurable
3 years ago
Daniel Karzel dc89a837e7
Do not actively set `KeepAlice::No` for `swap_setup`
3 years ago
Daniel Karzel cd14e22cdf
Longer timeout (120 secs) for `swap_setup` protocol
3 years ago
Daniel Karzel fd18a07426
Flush and close `swap_setup` substreams
3 years ago
Daniel Karzel c2c9e975ef
Quote protocol asb/cli instead of alice/bob
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
Daniel Karzel 529de8d5fd
ASB aborts if CLI does not lock BTC
3 years ago
Daniel Karzel c4c798ea20
Timeout on `execution_setup` for ASB
3 years ago
Daniel Karzel 1ae377ef24
Request timeout when swapping over Tor
3 years ago
bors[bot] c6b0013b92
Merge #581 #583
3 years ago
bors[bot] 858c6d85ce
Merge #576
3 years ago
Daniel Karzel ca6b889632
Remove dead code
3 years ago
bors[bot] 3e88e13fbb
Merge #566 #568
3 years ago
Thomas Eizinger 7120a1f70a
Don't depend on `core::fmt` through `bitcoin_hashes` re-export
3 years ago
Thomas Eizinger 3aa028e3bf
Use or-pattern stabilized in Rust 1.53 where possible
3 years ago
Thomas Eizinger ac0b0150e6
Upgrade to Rust 1.53
3 years ago
Thomas Eizinger b7064578ca
Reduce level of indentation of match statements
3 years ago
Thomas Eizinger f1182f97c0
Simplify match statement
3 years ago
Thomas Eizinger 707bae9ff0
Merge patterns of nested match
3 years ago
dependabot[bot] 9577875834
Bump bdk from 0.7.0 to 0.8.0
3 years ago
Thomas Eizinger 1ba186aa63
Make log message a proper statement
3 years ago
Thomas Eizinger ff8cd0ab93
Harmonise log statements between applications
3 years ago
Thomas Eizinger 8a30ef725c
Refactor transports to construct them specific for each application
3 years ago
Thomas Eizinger 90deb6451c
Rename swarm constructors to be per tool instead of per role
3 years ago
Thomas Eizinger d19231d811
Refactor Tor transport to be dial-only
3 years ago
Thomas Eizinger 8bd6c9dcfc
Simplify construction of Socks5Stream
3 years ago
Thomas Eizinger ea0fd1eb53
Inline functions to reduce complexity induced by indirection
3 years ago
Thomas Eizinger 97a09807dd
Use `BoxFuture` type alias to avoid clippy's complexity nag
3 years ago
Thomas Eizinger d01e444c90
Import anyhow::Result instead of fully-qualifying it
3 years ago
bors[bot] 7f2aa59880
Merge #504 #547 #556 #563 #564
3 years ago
xscd 03857ca835 Print the Bitcoin address to the terminal as a QR code
3 years ago
dependabot[bot] e9595487f6
Bump strum from 0.20.0 to 0.21.0
3 years ago
bors[bot] eb705d3e9c
Merge #515
3 years ago
dependabot[bot] 6badf09394
Bump bdk from 0.6.0 to 0.7.0
3 years ago
COMIT Botty McBotface 7e6ff81efb Prepare release 0.7.0
3 years ago
bors[bot] 5385fc1aa0
Merge #531 #535
3 years ago
Thomas Eizinger 51316d8183
Make it easier to create a bitcoin::Wallet for testing
3 years ago
Thomas Eizinger 229d840990
Introduce dedicated `ParseResult` to simplify error handling in main
3 years ago
Thomas Eizinger d43ba33e15
Lift out `Ok` wrapping from match expression
3 years ago
Daniel Karzel 766ac706de
Application arg tests
3 years ago
bors[bot] baf5a0896e
Merge #536
3 years ago
Daniel Karzel 202f6d1fa0
Bitcoin network check when building PSBT
3 years ago
Daniel Karzel c9064d5a37
Add ping protocol to ensure connection is alive
3 years ago
Thomas Eizinger 8f9d612af2
Change to stable Rust 1.52
3 years ago
Thomas Eizinger b8cb9e1b8b
Update secp256kfun and rand to latest version
3 years ago
Thomas Eizinger e79ac4563b
Delete unused code
3 years ago
TDevD 5da075f533 fix typo
3 years ago
COMIT Botty McBotface 3f2d094f65
Prepare release 0.6.0
3 years ago
Daniel Karzel 1de907b176
Change default Monero mainnet node to xmr.to
3 years ago
bors[bot] ded9ea1b79
Merge #525
3 years ago
bors[bot] 284733d359
Merge #522
3 years ago
Daniel Karzel 01af9a5676
Bitcoin transaction published state
3 years ago
bors[bot] db319d0a90
Merge #520
3 years ago
Philipp Hoenisch 21babf9678
Support armv7 architecture for monero-wallet-rpc.
3 years ago
Philipp Hoenisch a445ddd2bd
Print download URL while downloading.
3 years ago
Philipp Hoenisch f6c7410457
Upgrade monero-wallet-rpc to version 2.0
3 years ago
bors[bot] ba33e1acc1
Merge #519
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
bors[bot] 0032e820af
Merge #512
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
bors[bot] bdb88f89cb
Merge #490
3 years ago
Daniel Karzel 2db470f099
Bitcoin=2 Monero=10 default finality confirmations
3 years ago
Daniel Karzel 6694e4f4e0
Ensure that output of lock script is at tx-output index `0`
3 years ago
Daniel Karzel bae38a712f
Sync on interval instead of ping
3 years ago
Daniel Karzel efb51820b1
Poll block headers for latest block on each iteration
3 years ago
Daniel Karzel f2e43ea565
Let testnet setup reflect mainnet
3 years ago
Daniel Karzel 4dd696ebe1
Fix `monero-wallet-rpc` startup for mainnet CLI
3 years ago
Daniel Karzel 1aaffb09f9
Refactor ASB test-/mainnet default dir init
3 years ago
Daniel Karzel cfa85e0bad
Simplify ASB initial setup signature
3 years ago
Daniel Karzel 7f8af7926d
ASB config may specify finality confirmations
3 years ago
Daniel Karzel af60d3bb54
Network check upon spot price request
3 years ago
Daniel Karzel 02974811ad
Activate mainnet for the ASB
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
dependabot[bot] 6c206c7067
Bump libp2p from 0.37.1 to 0.38.0
3 years ago
Thomas Eizinger a3f436104f
Use tokio-tar from crates.io
3 years ago
Thomas Eizinger 75c5db53b2
Remove tokio-tar from workspace in favor of git dependency
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
Daniel Karzel a489564857
Remove unused Electrum HTTP default URL
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