Files
merkle.rs/protobuf/proof.proto
2016-11-21 22:22:37 +01:00

20 lines
281 B
Protocol Buffer

syntax = "proto3";
message ProofProto {
bytes root_hash = 1;
LemmaProto lemma = 2;
bytes value = 3;
}
message LemmaProto {
bytes node_hash = 1;
LemmaProto sub_lemma = 2;
oneof sibling_hash {
bytes left_sibling_hash = 3;
bytes right_sibling_hash = 4;
}
}