Some checks failed
Build SimApp / build (amd64) (push) Waiting to run
Build SimApp / build (arm64) (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
Build & Push / build (push) Waiting to run
Run Gosec / Gosec (push) Waiting to run
Lint / golangci-lint (push) Waiting to run
Checks dependencies and mocks generation / Check go mod tidy (push) Waiting to run
Checks dependencies and mocks generation / Check up to date mocks (push) Waiting to run
System Tests / setup (push) Waiting to run
System Tests / test-system (push) Blocked by required conditions
System Tests / test-system-legacy (push) Blocked by required conditions
Tests / Code Coverage / split-test-files (push) Waiting to run
Tests / Code Coverage / tests (00) (push) Blocked by required conditions
Tests / Code Coverage / tests (01) (push) Blocked by required conditions
Tests / Code Coverage / tests (02) (push) Blocked by required conditions
Tests / Code Coverage / tests (03) (push) Blocked by required conditions
Tests / Code Coverage / test-integration (push) Waiting to run
Tests / Code Coverage / test-e2e (push) Waiting to run
Tests / Code Coverage / repo-analysis (push) Blocked by required conditions
Tests / Code Coverage / test-sim-nondeterminism (push) Waiting to run
Tests / Code Coverage / test-clientv2 (push) Waiting to run
Tests / Code Coverage / test-core (push) Waiting to run
Tests / Code Coverage / test-depinject (push) Waiting to run
Tests / Code Coverage / test-errors (push) Waiting to run
Tests / Code Coverage / test-math (push) Waiting to run
Tests / Code Coverage / test-schema (push) Waiting to run
Tests / Code Coverage / test-collections (push) Waiting to run
Tests / Code Coverage / test-cosmovisor (push) Waiting to run
Tests / Code Coverage / test-confix (push) Waiting to run
Tests / Code Coverage / test-store (push) Waiting to run
Tests / Code Coverage / test-log (push) Waiting to run
Tests / Code Coverage / test-x-tx (push) Waiting to run
Tests / Code Coverage / test-x-nft (push) Waiting to run
Tests / Code Coverage / test-x-circuit (push) Waiting to run
Tests / Code Coverage / test-x-feegrant (push) Waiting to run
Tests / Code Coverage / test-x-evidence (push) Waiting to run
Tests / Code Coverage / test-x-upgrade (push) Waiting to run
Tests / Code Coverage / test-tools-benchmark (push) Waiting to run
Build & Push SDK Proto Builder / build (push) Has been cancelled
63 lines
No EOL
2 KiB
Protocol Buffer
63 lines
No EOL
2 KiB
Protocol Buffer
syntax = "proto3";
|
|
package cosmos.store.snapshots.v1;
|
|
|
|
import "gogoproto/gogo.proto";
|
|
import "cosmos_proto/cosmos.proto";
|
|
|
|
option go_package = "cosmossdk.io/store/snapshots/types";
|
|
|
|
// Snapshot contains Tendermint state sync snapshot info.
|
|
message Snapshot {
|
|
uint64 height = 1;
|
|
uint32 format = 2;
|
|
uint32 chunks = 3;
|
|
bytes hash = 4;
|
|
Metadata metadata = 5 [(gogoproto.nullable) = false];
|
|
}
|
|
|
|
// Metadata contains SDK-specific snapshot metadata.
|
|
message Metadata {
|
|
repeated bytes chunk_hashes = 1; // SHA-256 chunk hashes
|
|
}
|
|
|
|
// SnapshotItem is an item contained in a rootmulti.Store snapshot.
|
|
message SnapshotItem {
|
|
// item is the specific type of snapshot item.
|
|
oneof item {
|
|
SnapshotStoreItem store = 1;
|
|
SnapshotIAVLItem iavl = 2 [(gogoproto.customname) = "IAVL"];
|
|
SnapshotExtensionMeta extension = 3;
|
|
SnapshotExtensionPayload extension_payload = 4;
|
|
}
|
|
option (cosmos_proto.message_added_in) = "cosmos-sdk 0.46";
|
|
}
|
|
|
|
// SnapshotStoreItem contains metadata about a snapshotted store.
|
|
message SnapshotStoreItem {
|
|
string name = 1;
|
|
option (cosmos_proto.message_added_in) = "cosmos-sdk 0.46";
|
|
}
|
|
|
|
// SnapshotIAVLItem is an exported IAVL node.
|
|
message SnapshotIAVLItem {
|
|
bytes key = 1;
|
|
bytes value = 2;
|
|
// version is block height
|
|
int64 version = 3;
|
|
// height is depth of the tree.
|
|
int32 height = 4;
|
|
option (cosmos_proto.message_added_in) = "cosmos-sdk 0.46";
|
|
}
|
|
|
|
// SnapshotExtensionMeta contains metadata about an external snapshotter.
|
|
message SnapshotExtensionMeta {
|
|
string name = 1;
|
|
uint32 format = 2;
|
|
option (cosmos_proto.message_added_in) = "cosmos-sdk 0.46";
|
|
}
|
|
|
|
// SnapshotExtensionPayload contains payloads of an external snapshotter.
|
|
message SnapshotExtensionPayload {
|
|
bytes payload = 1;
|
|
option (cosmos_proto.message_added_in) = "cosmos-sdk 0.46";
|
|
} |