Module event_graph

Module event_graph 

Source

Re-exports§

pub use event::Event;

Modules§

deg
event
An event graph event
proto
P2P protocol implementation for the Event Graph
rln
util
Utility functions

Structs§

DAGStore
EventGraph
An Event Graph instance

Enums§

PeerStatus 🔒

Constants§

DAGS_MAX_NUMBER
Maximum number of DAGs to store, this should be configurable
EVENT_TIME_DRIFT 🔒
Allowed timestamp drift in milliseconds
GENESIS_CONTENTS
Genesis event contents
INITIAL_GENESIS
Initial genesis timestamp in millis (07 Sep 2023, 00:00:00 UTC) Must always be UTC midnight.
NULL_ID
Null event ID
NULL_PARENTS
Null parents
N_EVENT_PARENTS
The number of parents an event is supposed to have.

Functions§

request_event 🔒
request_header 🔒

Type Aliases§

EventGraphPtr
Atomic pointer to an EventGraph instance.
LayerUTips