xmr-btc-swap/swap/src/protocol
Thomas Eizinger 11b45cd8c0
Move messages into protocol module
This allows us to remove all visibility modifiers from the message
fields because child modules (in this case {alice,bob}::state) can
always access private fields of structs.

It also moves the messages into a more natural place. Previously,
they were defined within the network layer even though they are
independent of the libp2p implementation.
2021-03-30 12:59:34 +11:00
..
alice Move messages into protocol module 2021-03-30 12:59:34 +11:00
bob Move messages into protocol module 2021-03-30 12:59:34 +11:00
alice.rs Move messages into protocol module 2021-03-30 12:59:34 +11:00
bob.rs Move messages into protocol module 2021-03-30 12:59:34 +11:00