Sui.Rpc.V2beta.CheckpointSummary (ex_sui v0.1.0)

View Source

A header for a checkpoint on the Sui blockchain.

On the Sui network, checkpoints define the history of the blockchain. They are quite similar to the concept of blocks used by other blockchains like Bitcoin or Ethereum. The Sui blockchain, however, forms checkpoints after transaction execution has already happened to provide a certified history of the chain, instead of being formed before execution.

Checkpoints commit to a variety of state, including but not limited to:

  • The hash of the previous checkpoint.
  • The set of transaction digests, their corresponding effects digests, as well as the set of user signatures that authorized its execution.
  • The objects produced by a transaction.
  • The set of live objects that make up the current state of the chain.
  • On epoch transitions, the next validator committee.

CheckpointSummarys themselves don't directly include all of the previous information but they are the top-level type by which all the information is committed to transitively via cryptographic hashes included in the summary. CheckpointSummarys are signed and certified by a quorum of the validator committee in a given epoch to allow verification of the chain's state.

Summary

Types

t()

@type t() :: %Sui.Rpc.V2beta.CheckpointSummary{
  __unknown_fields__: [Protobuf.unknown_field()],
  bcs: Sui.Rpc.V2beta.Bcs.t() | nil,
  commitments: [Sui.Rpc.V2beta.CheckpointCommitment.t()],
  content_digest: String.t() | nil,
  digest: String.t() | nil,
  end_of_epoch_data: Sui.Rpc.V2beta.EndOfEpochData.t() | nil,
  epoch: non_neg_integer() | nil,
  epoch_rolling_gas_cost_summary: Sui.Rpc.V2beta.GasCostSummary.t() | nil,
  previous_digest: String.t() | nil,
  sequence_number: non_neg_integer() | nil,
  timestamp: Google.Protobuf.Timestamp.t() | nil,
  total_network_transactions: non_neg_integer() | nil,
  version_specific_data: binary() | nil
}

Functions

descriptor()