Download this file
| 1 | package moves |
| 2 | |
| 3 | import ( |
| 4 | "errors" |
| 5 | "time" |
| 6 | ) |
| 7 | |
| 8 | var 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. |
| 11 | type 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 | |