Skip to main content

Crate hypercore_schema

Crate hypercore_schema 

Source
Expand description

Types shared between hypercore and hypercore-protocol

Structs§

DataBlock
Block of data to peer
DataHash
Data hash to peer
DataSeek
TODO: Document
DataUpgrade
TODO: Document
Hash
BLAKE2b hash.
Node
Nodes of the Merkle Tree that are persisted to disk.
Proof
Proof generated from corresponding requests
RequestBlock
Request of a DataBlock or DataHash from peer
RequestSeek
Request of a DataSeek from peer
RequestUpgrade
Request for a DataUpgrade from peer

Constants§

TREE
These the output of, see hash_namespace test below for how they are produced https://github.com/holepunchto/hypercore/blob/cf08b72f14ed7d9ef6d497ebb3071ee0ae20967e/lib/caps.js#L16