xmr-btc-swap/swap/src/protocol
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
..
alice Merge #405 2021-04-13 08:50:44 +00:00
bob Merge #405 2021-04-13 08:50:44 +00:00
alice.rs Move messages into protocol module 2021-03-30 12:59:34 +11:00
bob.rs Use bmrng to model communicaton of Bob's EventLoop with the handle 2021-04-01 17:09:17 +11:00