BoundedAuthorityProtocol.V1.ChainFacts (Bounded Authority Protocol v1.0.0)

Copy Markdown View Source

Closed redacted non-authorizing consumption-chain facts.

Fields

  • version - the contract-major, always 1.
  • chain_id - the verified chain identity.
  • first_sequence - the sequence number of the first row checked.
  • last_sequence - the sequence number of the last row checked.
  • row_count - the number of rows checked.
  • previous_hash - the raw 32-byte hash that preceded the first row.
  • last_hash - the raw 32-byte hash of the last row (the head).
  • verification - always :boundary_consistent: the rows are consistent with the caller's boundaries.
  • trust - always :not_evaluated.

Summary

Types

t()

Facts from a consistent consumption-chain range.

Types

t()

@type t() :: %BoundedAuthorityProtocol.V1.ChainFacts{
  chain_id: binary(),
  first_sequence: pos_integer(),
  last_hash: binary(),
  last_sequence: pos_integer(),
  previous_hash: binary(),
  row_count: pos_integer(),
  trust: :not_evaluated,
  verification: :boundary_consistent,
  version: 1
}

Facts from a consistent consumption-chain range.