Commit Graph

178 Commits (ac0b0150e6a33f4213920c036e70f642f666ed8b)

Author SHA1 Message Date
Thomas Eizinger ac0b0150e6
Upgrade to Rust 1.53
3 years ago
Thomas Eizinger b7064578ca
Reduce level of indentation of match statements
3 years ago
Daniel Karzel c9064d5a37
Add ping protocol to ensure connection is alive
3 years ago
Daniel Karzel fb9fb21c2b
CLI log statements to be more JSON friendly
3 years ago
Daniel Karzel af60d3bb54
Network check upon spot price request
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 4deb96a3c5
ASB manual recovery commands
3 years ago
Daniel Karzel 0c616c7437
Move loading the state into the function
3 years ago
Daniel Karzel 89b3d07eba
Network protocol tests for spot_price behaviour
3 years ago
Daniel Karzel 5aac76598d
Decouple ASB/CLI Errors from Error sent over wire
3 years ago
Daniel Karzel ea76ae5821
Return proper error to CLI for all expected scenarios
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 7fe9087bc2
Pull trait-bounds up one level for easier testing.
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 1db7586632
Increase timeout sending/receiving protocol messages.
3 years ago
Daniel Karzel 08fecb8fe3
Peer check for incoming transfer proofs
3 years ago
Thomas Eizinger e266fb07ef
Don't stutter
3 years ago
Thomas Eizinger 325fcbdb8c
Introduce protocol::bob::behaviour to mimic structure from alice module
3 years ago
Thomas Eizinger 6d06db3259
Use macro-based JSON-RPC client
3 years ago
dependabot[bot] 19483c5ead
Bump libp2p from 0.36.0 to 0.37.1
3 years ago
Thomas Eizinger b417950f99
Improve error reporting of failed protocols
3 years ago
Thomas Eizinger f0f7288bb6
Introduce a `redial::Behaviour`
3 years ago
bors[bot] 19766b9759
Merge #405
3 years ago
Daniel Karzel c976358c37
Multiple swaps with the same peer
3 years ago
Daniel Karzel 489696ee08
Swap-id as file name for generated Monero wallet
3 years ago
Daniel Karzel 548f057726
Try to open wallet in case generate_from_keys fails
3 years ago
Thomas Eizinger 1b2f476cae
Have `--force` flag only override the timelock check
3 years ago
Thomas Eizinger c0785ab05a
"Buffer" all requests to Alice until we are connected
3 years ago
Thomas Eizinger 1c47b32681
Use bmrng to model communicaton of Bob's EventLoop with the handle
3 years ago
Thomas Eizinger dbe03ba1cf
Timeout Bob's execution-setup after 10 seconds
3 years ago
Thomas Eizinger 5d75f1adba
Remove import line in favor of FQ macro usage
3 years ago
Thomas Eizinger 4c2e254543
Don't log subscription
3 years ago
Thomas Eizinger 90a7760124
Add some log statements to bob::cancel
3 years ago
Thomas Eizinger 0ef9d97679
Remove delegation functions in favor of public fields
3 years ago
Thomas Eizinger b1d0ae8db7
Remove dead code
3 years ago
Daniel Karzel d233e9914e
Avoid problems when re-ordering / changing Bob's states
3 years ago
Thomas Eizinger 52b9a78de2
Alice to validate Bob's PSBT for correctness
3 years ago
Thomas Eizinger 11b45cd8c0
Move messages into `protocol` module
3 years ago
Thomas Eizinger 7f5715e147
Remove unnecessary serde implementations
3 years ago
Thomas Eizinger 01739eddb1
Introduce a more flexible transaction subscription system
3 years ago
Thomas Eizinger c5827f84ca
Refactor recursive function to loop
3 years ago
Thomas Eizinger fc175a3f53
De-couple state from Monero wallet
3 years ago
Thomas Eizinger 5616683d7d
Monero confirmations are a u64
3 years ago