GrpcCheckpointResponse
GrpcCheckpointResponse
struct GrpcCheckpointResponse
Response for a checkpoint query.
Which fields are populated depends on the read mask used for the query; the default read mask
only includes the checkpoint summary, and every other field is None.
The summary, signature, contents and events fields are deserialized from BCS, so the
read mask must include CheckpointSummaryBcs, CheckpointSignature, CheckpointContentsBcs
and EventsBcs respectively for them to be populated; digest-only read masks populate only the
digest fields.
init(sequenceNumber:summaryDigest:summary:signature:contentsDigest:contents:transactions:events:)
init(sequenceNumber: UInt64, summaryDigest: CheckpointDigest?, summary: CheckpointSummary?, signature: ValidatorAggregatedSignature?, contentsDigest: CheckpointContentsDigest?, contents: CheckpointContents?, transactions: [GrpcExecutedTransaction]?, events: [Event]?)
contents
var contents: CheckpointContents?
The checkpoint contents.
contentsDigest
var contentsDigest: CheckpointContentsDigest?
The digest of the checkpoint contents.
events
var events: [Event]?
The events emitted in the checkpoint. None unless the read mask requests EventsBcs (or
Events); a checkpoint with no events, or an events filter that matches nothing, yields an
empty list.
sequenceNumber
var sequenceNumber: UInt64
The checkpoint sequence number. Always available regardless of the read mask.
signature
var signature: ValidatorAggregatedSignature?
The aggregated validator signature of the checkpoint.
summary
var summary: CheckpointSummary?
The checkpoint summary.
summaryDigest
var summaryDigest: CheckpointDigest?
The digest of the checkpoint summary.
transactions
var transactions: [GrpcExecutedTransaction]?
The transactions executed in the checkpoint. None unless the read mask requests
Transactions or one of its sub-fields (e.g. TransactionsEffectsBcs); with a
transactions filter that matches nothing, an empty list.