Module holochain_types::chain
source · Expand description
Types related to an agents for chain activity
Structs§
- Iterate over a source chain and apply the
ChainFilter
to each element. This iterator will: - A
ChainFilter
with the action sequences for the starting position and anyuntil
hashes.
Enums§
- Identical structure to
MustGetAgentActivityResponse
except it includes theChainFilterRange
that was used to produce the response. Doesn’t need to be serialized because it is only used internally. - Response to a
must_get_agent_activity
call. - Outcome of trying to find the action sequences in a filter.
Traits§
- Helpers for constructing AgentActivity
- Abstraction over an item in a chain.
Functions§
- Merges two agent activity responses, along with their chain filters if present. Chain filter range mismatches are treated as an incomplete chain for the purpose of merging. Merging should only be done on responses that originate from the same authority, so the chain filters should always match, or at least their mismatch is the responsibility of a single authority.
Type Aliases§
- Alias for getting the associated hash type of a ChainItem