Module holochain::prelude::mock_network
source · Expand description
Tools for simulating a network around real holochain nodes. This is a very early prototype and subject to change.
Structs
- When a message is received or sent it needs to be associated with a simulated connection. This type wraps the message with simulated agent that is associated with the connection.
- A channel between the simulated network and the set of real holochain nodes.
- This type allows a response to be sent to a request message such as a call.
- The conditions the simulated network will have.
Enums
- The type of protocol for the gossip wire message.
- The network message for communicating with holochain. This collapses a few levels of wire messages to make it easier to build a network simulation. Some wire messages are handled entirely within kitsune which means there would be no way to simulate things like gossip without this type.