Commit Graph

229 Commits (ada5acb2b5f4ea7844a85987e4a62c56bc539e10)

Author SHA1 Message Date
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
Thomas Eizinger b7064578ca
Reduce level of indentation of match statements
3 years ago
Thomas Eizinger f1182f97c0
Simplify match statement
3 years ago
Thomas Eizinger 1ba186aa63
Make log message a proper statement
3 years ago
bors[bot] baf5a0896e
Merge #536
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
Daniel Karzel 01af9a5676
Bitcoin transaction published state
3 years ago
Daniel Karzel af60d3bb54
Network check upon spot price request
3 years ago
Philipp Hoenisch 316f95c65b
Always log whole causality chain for errors.
3 years ago
Philipp Hoenisch c011e95062
Improve logging by adding details as fields instead of into the msg.
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 6d3cf0af91
Include too low balance into Alice's error
3 years ago
Daniel Karzel 23d9637a4b
Work in review comments
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 89b3d07eba
Network protocol tests for spot_price behaviour
3 years ago
Daniel Karzel 03a0dc73cd
Alice's spot_price Behaviour reports back Error
3 years ago
Daniel Karzel 5aac76598d
Decouple ASB/CLI Errors from Error sent over wire
3 years ago
Daniel Karzel 52f648e1de
Alice's spot price logic into dedicated behaviour
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 59a55dcbdd
Remove todo for cleanup note.
3 years ago
Philipp Hoenisch 68ae47edf4
Log error message.
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 77f6f11a7f
Pass address/fees into State0 instead of passing in the wallet.
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
Daniel Karzel 3c2dfa830a
Peer check for incoming encrypted signatures
3 years ago
Thomas Eizinger 5b515d6fb2
Don't qualify with `alice::` if we are within a module of Alice
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 b60790a32c
Allow buffering multiple transfer proofs per peer
3 years ago
bors[bot] 32912ebd4a
Merge #394
3 years ago
Thomas Eizinger a99d12b9df
Add a configurable spread to the ASB
3 years ago
Thomas Eizinger 3e0301a9d4
Move `FixedRate` into event_loop module
3 years ago
Thomas Eizinger 654cfff2a8
Make `kraken` module emit `PriceUpdate`s instead of `Rate`s
3 years ago
Thomas Eizinger cfc530e8ab
Make `ask` field of `Rate` private
3 years ago
Thomas Eizinger 24f444b9f7
Race sending transfer proof against cancel timelock
3 years ago