carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1package moves
2
3import (
4 "errors"
5 "time"
6)
7
8var ErrAttemptOver = errors.New("moves: probe attempt window or deadline expired")
9
10// InstallManifest is the moves Phase 1 Plan 2 Task 8 prepared snapshot contract.
11type InstallManifest struct {
12 V int `json:"v"`
13 Op string `json:"op"`
14 Host string `json:"host"`
15 N uint64 `json:"snapshot_txid"`
16 SnapshotKey string `json:"snapshot_key"`
17 SnapshotVersion string `json:"snapshot_version"`
18 SnapshotCRC64 uint64 `json:"snapshot_crc64"`
19 AnchorKey string `json:"anchor_key"`
20 AnchorVersion string `json:"anchor_version"`
21 AnchorCRC64 uint64 `json:"anchor_crc64"`
22 IntegrityCheck string `json:"integrity_check"`
23 DBSHA256 string `json:"db_sha256"`
24 BuiltAt time.Time `json:"built_at"`
25}
26