laconicd-deprecated/third_party/proto/cosmos/base/store/v1beta1/snapshot.proto
Federico Kunze 5a3d514ba0
conflicts
2021-04-17 12:00:07 +02:00

26 lines
679 B
Protocol Buffer

syntax = "proto3";
package cosmos.base.store.v1beta1;
import "gogoproto/gogo.proto";
option go_package = "github.com/cosmos/cosmos-sdk/store/types";
// 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" ];
}
}
// SnapshotStoreItem contains metadata about a snapshotted store.
message SnapshotStoreItem { string name = 1; }
// SnapshotIAVLItem is an exported IAVL node.
message SnapshotIAVLItem {
bytes key = 1;
bytes value = 2;
int64 version = 3;
int32 height = 4;
}