Skip to main content

Crate holochain_p2p

Crate holochain_p2p 

Source
Expand description

holochain specific wrapper around more generic p2p module

Modules§

__mock_MockHolochainP2pDnaT
__mock_MockHolochainP2pDnaT_HolochainP2pDnaT
actor
Module containing the HolochainP2p actor definition.
event
Module containing incoming events from HolochainP2p.

Structs§

HcReportConfig
Configuration parameters for HcReportFactory.
HcReportFactory
Holochain report module. See module level docs for details.
HcReportModConfig
Module-level configuration for HcReport.
HolochainBlocks
Block implementation in Holochain.
HolochainBlocksFactory
Factory for constructing kitsune2_api Blocks backed by the conductor store. Uses GetConductorStore to query and persist block state (agents, DNAs, cells, spaces), enabling enforcement of block rules across a SpaceId via the BlocksFactory trait.
HolochainOpStore
Holochain implementation of the Kitsune2 OpStore.
HolochainOpStoreFactory
Holochain implementation of the Kitsune2 OpStoreFactory.
HolochainP2pConfig
HolochainP2p config struct.
HolochainP2pDna
A wrapper around HolochainP2pSender that partially applies the dna_hash / agent_pub_key. I.e. a sender that is tied to a specific cell.
HolochainP2pLocalAgent
Holochain implementation of a Kitsune2 LocalAgent and Signer.
HolochainPeerMetaStore
Holochain implementation of a Kitsune2 kitsune2_api::PeerMetaStore.
HolochainPeerMetaStoreFactory
Holochain implementation of the Kitsune2 kitsune2_api::PeerMetaStoreFactory.
MockHolochainP2pDnaT
A wrapper around HolochainP2pSender that partially applies the dna_hash / agent_pub_key. I.e. a sender that is tied to a specific cell.
NetworkCompatParams
Some parameters used as part of a protocol compatibility check during preflight
WrapEvtSender
Evt wrapper to allow timing traces.

Enums§

HolochainP2pError
Error type for Holochain P2p.
ReportConfig
Configure reporting.
WireMessage

Constants§

HCP2P_PROTO_VER
See NetworkCompatParams::proto_ver.

Traits§

HolochainP2pDnaT
A wrapper around HolochainP2pSender that partially applies the dna_hash / agent_pub_key. I.e. a sender that is tied to a specific cell.

Functions§

build_chain_dht_op
Build a DhtOp::ChainOp directly from the joined wire row; shared with the integration-dump + consistency reads.
build_warrant_dht_op
Build a DhtOp::WarrantOp from a warrant wire row; shared with the integration-dump + consistency reads.
spawn_holochain_p2p
Spawn a new HolochainP2p actor. Conductor will call this on initialization.

Type Aliases§

DynHolochainP2pDna
Trait object for HolochainP2pDnaT.
GetConductorStore
Callback function to retrieve a conductor store.
GetDbPeerMeta
Callback function to retrieve a peer meta store for a dna hash.
GetDhtStore
Callback function to retrieve the per-DNA DhtStore used by the K2 op-store backend.
HolochainP2pResult
Holochain p2p result type.