xmr-btc-swap/swap/src/protocol/bob
bors[bot] 19766b9759
Merge #405
405: Concurrent swaps with same peer r=da-kami a=da-kami

Fixes #367 

- [x] Concurrent swaps with same peer

Not sure how much more time I should invest into this. We could just merge the current state and then do improvements on top...?

Improvements:

- [x] Think `// TODO: Remove unnecessary swap-id check` through and remove it
- [x] Add concurrent swap test, multiple swaps with same Bob
- [ ] Save swap messages without matching swap in execution in the database
- [ ] Assert the balances in the new concurrent swap tests
- [ ] ~~Add concurrent swap test, multiple swaps with different Bobs~~
- [ ] ~~Send swap-id in separate message, not on top of `Message0`~~

Co-authored-by: Daniel Karzel <daniel@comit.network>
2021-04-13 08:50:44 +00:00
..
cancel.rs Have --force flag only override the timelock check 2021-04-01 17:28:38 +11:00
event_loop.rs Multiple swaps with the same peer 2021-04-13 18:16:19 +10:00
execution_setup.rs Timeout Bob's execution-setup after 10 seconds 2021-04-01 17:08:26 +11:00
refund.rs Avoid problems when re-ordering / changing Bob's states 2021-04-01 16:06:48 +11:00
state.rs Multiple swaps with the same peer 2021-04-13 18:16:19 +10:00
swap.rs Merge #405 2021-04-13 08:50:44 +00:00