mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-14 01:05:58 -04:00
Move files from protocol
to appropriate module
Some network and application specific code does not belong in the protocol module and was moved. Eventloop, recovery and the outside behaviour were moved to the respective application module because they are application specific. The `swap_setup` was moved into the network module because upon change both sides will have to be changed and should thus stay close together.
This commit is contained in:
parent
818147a629
commit
c0070f8fa7
46 changed files with 161 additions and 145 deletions
|
@ -1,3 +1,12 @@
|
|||
mod behaviour;
|
||||
pub mod cancel;
|
||||
pub mod command;
|
||||
mod event_loop;
|
||||
pub mod refund;
|
||||
pub mod tracing;
|
||||
pub mod transport;
|
||||
|
||||
pub use behaviour::{Behaviour, OutEvent};
|
||||
pub use cancel::cancel;
|
||||
pub use event_loop::{EventLoop, EventLoopHandle};
|
||||
pub use refund::refund;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue