diff options
Diffstat (limited to 'internal/types/state.go')
| -rw-r--r-- | internal/types/state.go | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/internal/types/state.go b/internal/types/state.go index cba1235..31b9372 100644 --- a/internal/types/state.go +++ b/internal/types/state.go @@ -14,16 +14,17 @@ type StateV1 struct { } type BlockRefV1 struct { - Version uint8 `json:"v"` - BlockID uint64 `json:"block_id"` - Offset uint64 `json:"offset"` - Length uint64 `json:"length"` - OpSeq uint64 `json:"op_seq"` - DID string `json:"did"` - CID string `json:"cid"` - PrevCID string `json:"prev_cid"` - OpHash string `json:"op_hash"` - Received string `json:"received"` + Version uint8 `json:"v"` + BlockID uint64 `json:"block_id"` + Offset uint64 `json:"offset"` + Length uint64 `json:"length"` + OpSeq uint64 `json:"op_seq"` + DID string `json:"did"` + CID string `json:"cid"` + PrevCID string `json:"prev_cid"` + OpHash string `json:"op_hash"` + Received string `json:"received"` + CreatedAt string `json:"created_at,omitempty"` } type CheckpointReference struct { |