Skip to main content

Module source_target_map

Module source_target_map 

Source
Expand description

Immutable source-target bindings. Forks share a root; updates copy one trie route, never the map or its referencing annotations. Addresses are ordinary blob hashes. A failed update may leave unreachable immutable nodes, but never returns a replacement root for the caller to install.

Structs§

MapBudget
Remaining work allowance. Reads/writes are charged before the store call; read bytes are charged from the actual returned node, not its maximum size.
SourceTargetMap

Enums§

MapError

Constants§

MAX_NODE_BYTES
Largest canonical node: header, depth, bitmap and 32 (hash, count) children.

Traits§

SourceTargetMapStore
Storage must bound a read before allocating/fetching more than max_bytes. Writes install immutable bytes at their ordinary blob address.