mirror of
https://github.com/mii443/merkle.rs.git
synced 2025-08-22 16:05:30 +00:00
20 lines
281 B
Protocol Buffer
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;
|
|
}
|
|
|
|
}
|