Commit Graph

48 Commits (c539465925e1ac87ec236adbe252b72ce441dc8d)

Author SHA1 Message Date
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
Franck Royer e82383bcf6
Avoid carrying rng
3 years ago
Philipp Hoenisch 8743527df9
Remove dead code
3 years ago
Franck Royer 8fd2620b83
Improve names for messages 4 and 5
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 9a5e35c1bd
Rename `bob::Message2` to `Message5`
3 years ago
Franck Royer f2a25ee49b
Move definitions out of lib.rs
3 years ago
Daniel Karzel 44c4b5dcea Remove newlines from import statements to avoid problems
3 years ago
Franck Royer 8c76abcd37
Remove TODO
3 years ago
Daniel Karzel af45206fde Remember the block-height before XMR lock for generated monero wallet restore height
3 years ago
Franck Royer 6ffc66867c
Typo
3 years ago
Franck Royer 047f990d05
Improve error reporting on signature verification
3 years ago
rishflab dcea54dbf1 Move protocol parent states into appropriate module
3 years ago
rishflab c900d12593 Merge xmr_btc crate
3 years ago