aboutsummaryrefslogtreecommitdiff
path: root/internal/types/checkpoint.go
blob: 7f5f41aecc0c60d931b69d5f2f1023e1d322c12e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package types

type DIDLeaf struct {
	DID          string
	ChainTipHash string
}

type CheckpointStateSnapshotV1 struct {
	Version   uint8     `json:"v"`
	Sequence  uint64    `json:"sequence"`
	CreatedAt string    `json:"created_at"`
	Leaves    []DIDLeaf `json:"leaves"`
}