Commit Graph

64 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
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 c976358c37
Multiple swaps with the same peer
3 years ago
Daniel Karzel bc442bcad3
Await 10 confirmations of lock tx in refund
3 years ago
Daniel Karzel 183e8f02de
Wait for lock tx and send transfer proof in separate state
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 e130448200
Make as many fields of Alice's states private as possible
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 5616683d7d
Monero confirmations are a u64
3 years ago
Daniel Karzel 396c4177a6 Alice sweeps refunded funds into default wallet
3 years ago
Thomas Eizinger 75aec95b0c
Introduce monero::TransferRequest
3 years ago
bors[bot] 2c385ee7d9
Merge #321
3 years ago
bors[bot] 113f2fa385
Merge #322
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
rishflab f5e6ba18e0 Use different address for redeem and punish
3 years ago
Thomas Eizinger 273cf15631
Introduce `Watchable` abstraction for Bitcoin wallet
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 6d9b21cb47
Change `imports_granularity` to module
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 684cbe4d0b Remember monero wallet-height for Alice's refund scenario
3 years ago
Daniel Karzel aed8358fb7 Remove dead code
3 years ago
Thomas Eizinger cabf0efb8c
Only construct proof system once
3 years ago
Thomas Eizinger 84bc2c82b7
Upgrade to bdk 4.0
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 530b9b2ea8
Remove possible mix up of timelocks when using `State0::new`
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
Franck Royer fd084b764d
Move generation of keys inside `State0::new`
3 years ago
Franck Royer a48823a665
Re-organise Alice state to be more coherent with the msg sequence
3 years ago
Franck Royer fc2d8d3861
Rename alice::Message0 to Message0
3 years ago
Franck Royer 88bf080dc0
rename alice::Message0 to Message1
3 years ago
Franck Royer 18f326ddd1
Rename bob::Message1 to Message2
3 years ago
Franck Royer 0d1be52966
Rename alice::Message1 to Message3
3 years ago
Franck Royer e74efd38b5
Rename bob::Message2 to Message4
3 years ago