Commit Graph

265 Commits (master)

Author SHA1 Message Date
Thomas Eizinger 5463bde4f8
Add a mandatory `--change-address` parameter to `buy-xmr`
3 years ago
rishflab 93a0692998
Integrate rendezvous protocol into ASB
3 years ago
Daniel Karzel ff8cca2e27
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 90deb6451c
Rename swarm constructors to be per tool instead of per role
3 years ago
Daniel Karzel af60d3bb54
Network check upon spot price request
3 years ago
Philipp Hoenisch 1706b36800
Log exchange rate at each state.
3 years ago
Daniel Karzel 652aae9590
Introduce a minimum buy amount
3 years ago
Daniel Karzel daa572e5bf
Move recovery commands in dedicated module
3 years ago
Daniel Karzel 4deb96a3c5
ASB manual recovery commands
3 years ago
Daniel Karzel 0c616c7437
Move loading the state into the function
3 years ago
Daniel Karzel 52f648e1de
Alice's spot price logic into dedicated behaviour
3 years ago
Daniel Karzel f6497778ed
Add resume-only mode for the ASB
3 years ago
Philipp Hoenisch dc8dd5af28
Add relative and absolute max transaction fee.
3 years ago
Philipp Hoenisch dc6ab0fa52
Ensure that constant weights do not go out of sync with code.
3 years ago
Philipp Hoenisch 9e8b788aa9
Rename weight constants.
3 years ago
Philipp Hoenisch ee90c228b4
Dynamically calculate fees using electrum's estimate_fee.
3 years ago
Philipp Hoenisch 38540b4de5
Dynamically chose fee for TxCancel.
3 years ago
Philipp Hoenisch 1012e39527
Dynamically chose fee for TxRefund and TxPunish.
3 years ago
Philipp Hoenisch d5c1b6693e
Dynamically chose fee for TxRedeem.
3 years ago
Philipp Hoenisch 002e7b38c3
Define TX_FEE within test files only.
3 years ago
Philipp Hoenisch 632293cf91
Add support for swapping through Tor.
3 years ago
Thomas Eizinger 8d76607343
Refactor monero-harness containers
3 years ago
Thomas Eizinger 0970c2bc72
Initialize reqwest clients with verbose logging
3 years ago
Thomas Eizinger dc840e1562
Take wallet names by reference
3 years ago
Thomas Eizinger 22bdc08c83
Get rid of Bob's swap Builder
3 years ago
Thomas Eizinger e266fb07ef
Don't stutter
3 years ago
Thomas Eizinger a31d6febca
We don't need to import ourselves
3 years ago
Thomas Eizinger 881913ad9c
Re-order content of harness/mod.rs in a sane way
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
Daniel Karzel c976358c37
Multiple swaps with the same peer
3 years ago
Daniel Karzel 46f144ac67
Switch monero-rpc to debug in tests
3 years ago
Thomas Eizinger 3e0301a9d4
Move `FixedRate` into event_loop module
3 years ago
Daniel Karzel 084fc618b4 Test Alice refunds if restarted and Bob refunded
3 years ago
Daniel Karzel 2135a6e53e
Alice resumes swaps
3 years ago
Daniel Karzel b6e4fb4f9d
Improve comment
3 years ago
Daniel Karzel 183e8f02de
Wait for lock tx and send transfer proof in separate state
3 years ago
Daniel Karzel dfd69c9c80
Alice aborts if any timelock expired before locking XMR
3 years ago
Thomas Eizinger b9d8cbeaa2
Rename testutils to harness
3 years ago
Thomas Eizinger 01739eddb1
Introduce a more flexible transaction subscription system
3 years ago
Thomas Eizinger 0a82ce989b
Improve resilience of balance assertions
3 years ago
Thomas Eizinger a4c70dfe94
Don't call as_ref() unless necessary
3 years ago
Thomas Eizinger 4ab7e83806
Make use of `cargo test`s scoped test output
3 years ago
Thomas Eizinger 908dae3442
Inline tracing initialization
3 years ago
Thomas Eizinger c01cccb288
Use `tracing-log` feature flag instead of manual initialization
3 years ago
Thomas Eizinger 638a169a04
Buffer transfer proof if we are not connected to Bob
3 years ago
Thomas Eizinger cde3f0f74a
Remove connection handling from swap execution
3 years ago