Crate holochain_p2p
source · [−]Expand description
holochain specific wrapper around more generic p2p module
Re-exports
pub use kitsune_p2p;
pub use kitsune_p2p::dht_arc;
Modules
Module containing the HolochainP2p actor definition.
Module containing incoming events from the HolochainP2p actor.
Structs
A wrapper around HolochainP2pSender that partially applies the dna_hash / agent_pub_key. I.e. a sender that is tied to a specific cell.
A wrapper around HolochainP2pSender that partially applies the dna_hash / agent_pub_key. I.e. a sender that is tied to a specific cell.
Struct for encoding DhtOp as bytes.
Enums
Error type for Holochain P2p.
Traits
Extension trait for holo/kitsune conversion
Extension trait for holo/kitsune conversion
Extension trait for holo/kitsune conversion
Extension trait for holo/kitsune conversion
A wrapper around HolochainP2pSender that partially applies the dna_hash / agent_pub_key. I.e. a sender that is tied to a specific cell.
The HolochainP2pSender struct allows controlling the HolochainP2p actor instance.
Functions
Turn an [AgentKey] into a [KitsuneAgent]
Turn a [DnaHash] into a [KitsuneSpace]
Spawn a new HolochainP2p actor. Conductor will call this on initialization.
Spawn a stub network that doesn’t respond to any messages.
Use test_network()
if you want a real test network.
Type Definitions
Convenience type for referring to the HolochainP2p GhostSender