Commit Graph

256 Commits (daa572e5bf7fd1f42c26adaecff08e0b4989a32a)

Author SHA1 Message Date
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
Thomas Eizinger 2200fce3f3
Pass Swarm into EventLoop
3 years ago
Thomas Eizinger 73f30320a6
Seed should neither be Clone nor Copy
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
bors[bot] 95acbc6277
Merge #307
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 d85c0ce57c Re-introduce punish test
3 years ago