Expand description
Bounded content-block transfer under shared receive/storage/verify credit (SVC-01.13 partial).
One ReservationLedger charge covers receive+store+verify (not three).
Retries charge that parent again (io/work). Old and new generations each
occupy admit credit until the old slot is released. Packages remain open.
Structs§
- Super
Block Manifest Bridge - Chunk-to-SuperBlock manifest bridge (
NET-20/R08). - Transfer
Table - Eight-slot table of admitted (manifest, block, generation) transfers.
Constants§
- MAX_
BLOCKS - Occupied transfer slots this wave (not a swarm).
- MAX_
BLOCK_ BYTES - Per-block byte ceiling (
u32). Partial blocks still chargelen. - SUPERBLOCK_
CHUNKS_ MAX - Maximum 16 KiB transport chunks bridging one 40,960-byte
.q42SuperBlock.
Functions§
- admit_
block - Admit one bounded block. One ledger charge covers receive+store+verify.
- admit_
block_ with_ digest - Admit one bounded block with a per-block content digest for
verify_block. - admit_
manifest_ block - Admit using an exact
ByteRangefrom a boundContentManifest. - block_
verified - A block is usable only after
verify_blockmatches authenticated bytes. - manifest_
block_ range - Exact range for
block_indexonmanifest, if it fits one transfer block. - release_
block - Release one generation’s admit reservation. Other generations are kept.
- retries_
charge_ parent - Retries charge the parent
ReservationLedger, not a free extra budget. - retry_
block - Retry the same (manifest, block_index, generation): charges parent io/work again. Does not allocate a new slot when the slot exists.
- shared_
receive_ storage_ verify_ is_ one_ charge - Receive, storage, and verify share one admit charge (not triple-counted).
- verify_
block - Verify
payloadagainst the admitted slot. Uses the admit charge. - verify_
chunk_ to_ superblock_ bridge - Verify that each transport chunk matches its SHA-384 digest, the concatenated
SuperBlock matches
superblock_sha256, and every 48-byteNQuinsatisfies 5-field XOR parity (s ^ p ^ o ^ c ^ m == parity) (R08).