21 lines
451 B
Protocol Buffer
21 lines
451 B
Protocol Buffer
|
|
syntax = "proto3";
|
||
|
|
|
||
|
|
package common;
|
||
|
|
|
||
|
|
option go_package = "go.yandata.net/iod/iod/trustlog-sdk/api/grpc/pb;pb";
|
||
|
|
|
||
|
|
message MerkleTreeProofItem {
|
||
|
|
uint32 floor = 1;
|
||
|
|
string hash = 2;
|
||
|
|
bool left = 3;
|
||
|
|
}
|
||
|
|
|
||
|
|
message Proof {
|
||
|
|
repeated MerkleTreeProofItem colItems = 1;
|
||
|
|
repeated MerkleTreeProofItem rawItems = 2;
|
||
|
|
repeated MerkleTreeProofItem colRootItem = 3;
|
||
|
|
repeated MerkleTreeProofItem rawRootItem = 4;
|
||
|
|
string sign = 5;
|
||
|
|
string version = 6; // 版本号
|
||
|
|
}
|