Expand description
Types shared between hypercore and hypercore-protocol
Structs§
- Data
Block - Block of data to peer
- Data
Hash - Data hash to peer
- Data
Seek - TODO: Document
- Data
Upgrade - TODO: Document
- Hash
BLAKE2bhash.- Node
- Nodes of the Merkle Tree that are persisted to disk.
- Proof
- Proof generated from corresponding requests
- Request
Block - Request of a DataBlock or DataHash from peer
- Request
Seek - Request of a DataSeek from peer
- Request
Upgrade - Request for a DataUpgrade from peer
Constants§
- TREE
- These the output of, see
hash_namespacetest below for how they are produced https://github.com/holepunchto/hypercore/blob/cf08b72f14ed7d9ef6d497ebb3071ee0ae20967e/lib/caps.js#L16