Module holochain_types::dht_op[][src]

Expand description

Data structures representing the operations that can be performed within a Holochain DHT.

See the item-level documentation for DhtOp for more details.

Modules

Facts about DhtOps

Structs

This is used as an index for ordering ops in our database. It gives the most likely ordering where dependencies will come first.

The data rendered from a wire op to place in the database.

The full data for insertion into the database. The reason we don’t use DhtOp is because we don’t want to clone the entry for every header.

Enums

A unit of DHT gossip. Used to notify an authority of new (meta)data to hold as well as changes to the status of already held data.

A type for storing in databases that don’t need the actual data. Everything is a hash of the type except the signatures.

This enum is used to

Type for deriving ordering of DhtOps Don’t change the order of this enum unless you mean to change the order we process ops

Condensed version of ops for sending across the wire.

Functions

Produce all the op lights from this element group with a shared entry

Produce all the op lights for tese elements

Produce op lights from iter of (header hash, header, maybe entry).

Produce all DhtOps for a Element

Type Definitions

A DhtOp paired with its DhtOpHash