Commit Graph

744 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 efcd39eeef
Add info messages to each subcommand
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 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 0090e3b48e
Typo
3 years ago
Philipp Hoenisch 59a55dcbdd
Remove todo for cleanup note.
3 years ago
Philipp Hoenisch e93eeb81a2
Added some proptests.
3 years ago
Philipp Hoenisch 040cce1eb6
Format all the files
3 years ago
Philipp Hoenisch 68ae47edf4
Log error message.
3 years ago
Philipp Hoenisch aebdb063f1
Remove TODO
3 years ago
Philipp Hoenisch 9fb1a43f29
Rename variable.
3 years ago
Philipp Hoenisch cfdbacfbb5
Add comment.
3 years ago
Philipp Hoenisch e69a2c9111
Apply suggestions from code review
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 77f6f11a7f
Pass address/fees into State0 instead of passing in the wallet.
3 years ago
Philipp Hoenisch 14c5a4f025
Add upper bound for bitcoin fees of 100,000 satoshi.
3 years ago
Philipp Hoenisch 46e0449b8e
Add config/argument to swap/asb to configure bitcoin tx fees.
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
bors[bot] cf1c448b7c
Merge #460
3 years ago
Daniel Karzel 69f7565746
!fixup Different default directories for CLI and ASB
3 years ago
Daniel Karzel b0ffeeab1d
Different default directories for CLI and ASB
3 years ago
Daniel Karzel 08fecb8fe3
Peer check for incoming transfer proofs
3 years ago
Daniel Karzel 3c2dfa830a
Peer check for incoming encrypted signatures
3 years ago
Philipp Hoenisch ea6e2f8f09
Simplify `to_address_string` by implying more context on the structure.
3 years ago
Philipp Hoenisch c8e6db24f8
Derive Tor secret key from seed.
3 years ago
Philipp Hoenisch 3a5395d7a5
Optimize torut features.
3 years ago
Philipp Hoenisch 632293cf91
Add support for swapping through Tor.
3 years ago
bors[bot] e262345b4f
Merge #442
3 years ago
Thomas Eizinger 0970c2bc72
Initialize reqwest clients with verbose logging
3 years ago
Daniel Karzel 0f11ab051e
Print peer ID on debog when starting CLI
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 7adeaae12d
Be smart about how we import Config
3 years ago
Thomas Eizinger be5bf01ed4
Don't overqualify types that are already imported
3 years ago
Thomas Eizinger 325fcbdb8c
Introduce protocol::bob::behaviour to mimic structure from alice module
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