Skip to main content

CheckpointCommitment

type CheckpointCommitment

A commitment made by a checkpoint.

BCS

The BCS serialized form for this type is defined by the following ABNF:

```text ; CheckpointCommitment is an enum and each variant is prefixed with its index checkpoint-commitment = ecmh-live-object-set ecmh-live-object-set = %d00 digest ```

type CheckpointCommitment struct {
// contains filtered or unexported fields
}

func CheckpointCommitmentFromBcs

func CheckpointCommitmentFromBcs(bcs []byte) (*CheckpointCommitment, error)

Create this type from BCS encoded bytes.

func CheckpointCommitmentFromJson

func CheckpointCommitmentFromJson(json string) (*CheckpointCommitment, error)

Create this type from JSON encoded string.

func LiftFromExternalCheckpointCommitment

func LiftFromExternalCheckpointCommitment(handle uint64) *CheckpointCommitment

func (*CheckpointCommitment) AsEcmhLiveObjectSetDigest

func (_self *CheckpointCommitment) AsEcmhLiveObjectSetDigest() *Digest

func (*CheckpointCommitment) Destroy

func (object *CheckpointCommitment) Destroy()

func (*CheckpointCommitment) IsEcmhLiveObjectSet

func (_self *CheckpointCommitment) IsEcmhLiveObjectSet() bool