Commit Graph

1208 Commits (0.5.0)
 

Author SHA1 Message Date
bors[bot] c0398f7245
Merge #340
3 years ago
Thomas Eizinger 1057d115d1
Re-order bob::event_loop based on importance
3 years ago
Thomas Eizinger 638a169a04
Buffer transfer proof if we are not connected to Bob
3 years ago
Thomas Eizinger cde3f0f74a
Remove connection handling from swap execution
3 years ago
Daniel Karzel 1e2a3c2d32 No Bitcoin deposit for Alice
3 years ago
Thomas Eizinger 804b34f6b0
Listen on all swarm events instead of just behaviour events
3 years ago
Thomas Eizinger 2200fce3f3
Pass Swarm into EventLoop
3 years ago
Thomas Eizinger 2c9ab4f6eb
Improve code structure and error messages for running swaps
3 years ago
Thomas Eizinger 0c0a322a8f
Rename module to better represent what it contains
3 years ago
Thomas Eizinger 1de0b39b32
Unify encrypted-signature protocol to a single one
3 years ago
Thomas Eizinger 9979cc9f1f
Unify transfer-proof protocol to a single one
3 years ago
Thomas Eizinger 9d0b9abde0
Introduce helper function for mapping RequestResponseEvent
3 years ago
Thomas Eizinger 73f30320a6
Seed should neither be Clone nor Copy
3 years ago
bors[bot] 5860d511c9
Merge #365
3 years ago
bors[bot] da0a656c1c
Merge #356
3 years ago
dependabot[bot] 9e3bc6cf56
Bump tokio-util from 0.6.4 to 0.6.5
3 years ago
bors[bot] 2b6e9fec4f
Merge #355
3 years ago
bors[bot] 8eb04a5c8f
Merge #357
3 years ago
Thomas Eizinger 96b2a76971
Take advantage of upgraded electrum-client dependency
3 years ago
dependabot[bot] 1dc5b0b7e6
Bump anyhow from 1.0.38 to 1.0.39
3 years ago
dependabot[bot] 56f8f675c7
Bump serde from 1.0.124 to 1.0.125
3 years ago
dependabot[bot] bb685eed01
Bump tokio from 1.3.0 to 1.4.0
3 years ago
dependabot[bot] 7f6299075c
Bump bdk from 0.4.0 to 0.5.0
3 years ago
bors[bot] 968502827a
Merge #339
3 years ago
bors[bot] 097197783c
Merge #351
3 years ago
bors[bot] 189a13c063
Merge #319
3 years ago
Daniel Karzel 62079fc342 Punish scenario falls back to refund or fails
3 years ago
Thomas Eizinger a228349d8b
Bump dependency versions
3 years ago
Daniel Karzel 668d34080d Show the actual BTC amount and fee to be swapped
3 years ago
bors[bot] 113a29839f
Merge #325
3 years ago
Thomas Eizinger f49f8977d3
Remove dead code
3 years ago
Daniel Karzel 396c4177a6 Alice sweeps refunded funds into default wallet
3 years ago
Thomas Eizinger 16dfea035b
Simplify code within BobState::XmrLockProofReceived
3 years ago
Thomas Eizinger 338f4b82e5
Introduce dedicated bob::State6 for cancelling
3 years ago
Thomas Eizinger c32ef92cf5
Simplify code within BobState::EncSigSent
3 years ago
Thomas Eizinger 09e2d5b5d7
Simplify code within BobState::XmrLocked
3 years ago
Thomas Eizinger 776a50137d
Use tokio::select macro instead of function
3 years ago
Thomas Eizinger b1affe3ecf
Insert latest state and call run_until only once
3 years ago
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 afb7e816a1
Don't wait for confirmations again
3 years ago
Thomas Eizinger c92f2dbc77
Move more domain knowledge onto the `TxCancel` type
3 years ago
Thomas Eizinger 75aec95b0c
Introduce monero::TransferRequest
3 years ago
Thomas Eizinger d682433ec9
Move `EventLoopHandle` next to its impl block
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
Thomas Eizinger 575893fb51
Use domain types in fn signature instead of messages
3 years ago
Thomas Eizinger 64b71d0b16
Remove unnecessary pinning
3 years ago
bors[bot] af215d9f49
Merge #337
3 years ago