Skip to main content

Module linkmd_v2

Module linkmd_v2 

Source
Expand description

Pure link.md wire-profile-v2 primitives.

This module is deterministic protocol plumbing: portable paths, canonical domain-separated hashing, the bounded 16-way content HAMT, and hiding-proof verification. It performs no network I/O and contains no model dependency.

Structs§

BuiltTree
ContentFile
EntryState
TreeEntry

Enums§

EntryKind
HamtNode
HamtProof
NonInclusionTerminal
ProofFrame
V2Error

Constants§

ASSET_TREE_HASH_DOMAIN
CONTENT_TREE_HASH_DOMAIN
MAX_COMPONENT_BYTES
MAX_PATH_BYTES

Functions§

build_content_tree
build_hamt
canonical_bytes
create_proof
decode_node
domain_hash
domain_hash_bytes
encode_node
hash_node
hash_node_with_domain
normalize_path
sha256_hex
validate_path_set
verify_proof
verify_proof_with_domain

Type Aliases§

V2Result