Commit Graph

62 Commits (0d8962762a99dcfb445d8a0d7a4f53cdbab6d944)

Author SHA1 Message Date
Thomas Eizinger 0d8962762a
Use early return to reduce one level of indentation
3 years ago
Thomas Eizinger 05849505b1
Inline `wait_for_bitcoin_refund`
3 years ago
Thomas Eizinger 8c9285f1f9
Inline step function because it has been reduced to a single statement
3 years ago
Thomas Eizinger 75aec95b0c
Introduce monero::TransferRequest
3 years ago
Thomas Eizinger e77f1729b4
Move `extract_monero_private_key` onto TxRefund
3 years ago
Thomas Eizinger a1e065b4e7
Simplify racing cancel timelock against learning enc-sig
3 years ago
bors[bot] 2c385ee7d9
Merge #321
3 years ago
Thomas Eizinger a57f88d1b4
Properly handle concurrent messages to and from peers
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
Thomas Eizinger 273cf15631
Introduce `Watchable` abstraction for Bitcoin wallet
3 years ago
Thomas Eizinger a0830f099f
Pass relevant execution params into wallet instead of via functions
3 years ago
Thomas Eizinger 84ea092a1b
Remove unnecessary state variables by constructing TXs on demand
3 years ago
rishflab e5c0158597
Greatly reduce load onto the Electrum backend
3 years ago
Thomas Eizinger 6beb732e35
Eliminate `build_bitcoin_punish_transaction`
3 years ago
Thomas Eizinger dd6c66a594
Move completing of Bitcoin redeem tx onto RedeemTx
3 years ago
rishflab 21429f24b2
Inline wait_for_locked_bitcoin() that is only called once
3 years ago
Thomas Eizinger 6d9b21cb47
Change `imports_granularity` to module
3 years ago
Daniel Karzel 2e3c2d8edf Remove Arcs in favour of references
3 years ago
Daniel Karzel d63790c2a6 Remove unnecessary monero wallet trait abstractions
3 years ago
Daniel Karzel 1041212a60 Work in review comments
3 years ago
Daniel Karzel 9f53dab3c6 Harmonize names to make more sense
3 years ago
Thomas Eizinger 8c9b087e39
Unify logging of broadcasted transactions
3 years ago
Thomas Eizinger 45cff81ea5
Remove traits in favor of using the wallet struct directly
3 years ago
Thomas Eizinger 6c38d66864
Remove `Tx` arguments from `add_signatures` functions
3 years ago
Daniel Karzel 0945cee459 Remove traits in favour of public functions
3 years ago
Daniel Karzel 947bcb6192 ASB reloads the default wallet after generate_from_keys atomically
3 years ago
Daniel Karzel 684cbe4d0b Remember monero wallet-height for Alice's refund scenario
3 years ago
Thomas Eizinger 84bc2c82b7
Upgrade to bdk 4.0
3 years ago
Daniel Karzel 77ec7e502f Distinguish permanent and transient error when watching tx
3 years ago
rishflab 180e778df9 Allow blockchain calls to fail
3 years ago
Franck Royer 144da75270
Remove redundant data
3 years ago
Franck Royer b8a84aa34b
Avoid possible mix up between timelocks
3 years ago
Franck Royer 6e6dc320b4
Alice event loop now handles the creation of new swaps
3 years ago
Franck Royer bfc19d5628
Remove acknowledgements processing
3 years ago
Franck Royer 1b2be804ed
Remove unnecessary channels
3 years ago
Franck Royer 39a46baa2c
Preemptively box cancel tx to avoid size difference in enum
3 years ago
Franck Royer 69363e43a3
Preemptively box encrypted signature to avoid size difference in enum
3 years ago
Daniel Karzel 53fcd9224c Give finding the refund tx priority over waiting for the punish transaction to be finalized.
3 years ago
Daniel Karzel 2d5d70d856 Timeout for Alice waiting for ack for sending transfer proof
3 years ago
Franck Royer c316ea5244
Upgrade toolchain
3 years ago
Daniel Karzel 89b3775e05 Rename config to execution_params
3 years ago
Daniel Karzel 802dc61e7e Configuration for RPC urls and Bitcoin wallet name
3 years ago
Franck Royer 704a8e7b01
Add swap id to tracing context
3 years ago
Franck Royer 33db688e3a
Bob peer id can be retrieved from the DB
3 years ago
Franck Royer d2a1937f51
Use `Message4`
3 years ago
Franck Royer f2a25ee49b
Move definitions out of lib.rs
3 years ago
Daniel Karzel 33a9057b1f Move run_until is_target_state comparison functions into testutils
3 years ago
Daniel Karzel 44c4b5dcea Remove newlines from import statements to avoid problems
3 years ago
bors[bot] 4e858197c9
Merge #149
3 years ago