xmr-btc-swap/monero-rpc
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
..
src Merge #405 2021-04-13 08:50:44 +00:00
Cargo.toml Remove native-tls feature from monero-rpc 2021-02-23 14:30:20 +11:00
README.md Enforce consistent formatting of Markdown files 2021-03-25 11:11:57 +11:00
rust-toolchain Split monero-harness into harness and rpc 2021-02-23 14:30:20 +11:00
rustfmt.toml Split monero-harness into harness and rpc 2021-02-23 14:30:20 +11:00

Monero Harness

Provides an implementation of testcontainers::Image for a monero image to run monerod and monero-wallet-rpc in a docker container.

Also provides two standalone JSON RPC clients, one each for monerod and monero-wallet-rpc.

Example Usage

Please see tests/* for example usage.