Crate hypercore[][src]

Modules

bitfield

Bitfield module. Exposes {data, tree, index} internally. Serializable to disk.

prelude

Convenience wrapper to import all of Hypercore's core.

Structs

Feed

Append-only log structure.

FeedBuilder

Construct a new Feed instance.

Node

Nodes that are persisted to disk.

Peer

A peer on the network.

Proof

A merkle proof for an index, created by the .proof() method.

PublicKey

An ed25519 public key.

SecretKey

An EdDSA secret key.

Signature

An EdDSA signature.

Storage

Save data to a desired storage backend.

Enums

Event

Events emitted.

Store

The types of stores that can be created.

Traits

NodeTrait

Functions that need to be implemented for the Data that MerkleTreeStream works with.

Functions

generate_keypair

Generate a new Ed25519 key pair.

sign

Sign a byte slice using a keypair's private key.

verify

Verify a signature on a message with a keypair's public key.

Type Definitions

Result

A specialized Result type for Hypercore operations.