Skip to main content

Module mesh_tree

Module mesh_tree 

Source
Expand description

Resource tree synchronization for mesh networking (K6.4).

Defines types for comparing and synchronizing resource tree state between mesh nodes using Merkle root hash comparison and incremental diff transfer.

Structs§

MerkleProof
Merkle proof for a specific tree node.
TreeNodeDiff
A diff entry for a single tree node.
TreeSyncRequest
Request to sync tree state from a peer.
TreeSyncResponse
Response with tree state for sync.

Enums§

TreeDiffType
Type of tree diff entry.
TreeSyncAction
Sync action based on tree root comparison.

Functions§

compare_tree_roots
Compare two tree roots to determine sync action.