Skip to main content

Module node

Module node 

Source
Expand description

Node state data structures

This module defines platform data models with CRDT operations:

  • Static capabilities: G-Set (grow-only set) - capabilities can only be added
  • Dynamic state: LWW-Register (last-write-wins) - state updates with timestamps
  • Fuel counter: PN-Counter (positive-negative counter) - increments/decrements

Structs§

NodeConfig
Node static configuration (immutable)
NodeState
Node dynamic state (mutable, LWW-Register)

Enums§

HealthStatus
Health status enumeration

Traits§

NodeConfigExt
NodeStateExt