Module holochain_types::dht_op
source · 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.
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 action.
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 doesn’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 op types from a given
Action
. - Produce op lites from iter of (action hash, action, maybe entry).
- Produce all the op lites from this record group with a shared entry
- Produce all the op lites for these records
- Produce all DhtOps for a Record
Type Aliases§
- A DhtOp paired with its DhtOpHash
- DhtOpLightDeprecatedOld alias for DhtOpLite
- Alias for DhtOpLite
- A sys validation dependency