mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-03-31 02:18:02 -04:00

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.