Properly handle concurrent messages to and from peers

Previously, we were forwarding incoming messages from peers to all
swaps that were currently running. That is obviously wrong. The new
design scopes an `EventLoopHandle` to a specific PeerId to avoid
this problem.
This commit is contained in:
Thomas Eizinger 2021-03-17 14:39:54 +11:00
parent 95acbc6277
commit a57f88d1b4
No known key found for this signature in database
GPG key ID: 651AC83A6C6C8B96
9 changed files with 98 additions and 157 deletions

View file

@ -30,4 +30,3 @@ pub mod seed;
pub mod trace;
mod monero_ext;
mod serde_peer_id;