Skip to content

Commit

Permalink
refactor(pb/proof.go)converting pb definition to use snake_case
Browse files Browse the repository at this point in the history
  • Loading branch information
distractedm1nd committed Aug 29, 2023
1 parent 31f4525 commit 6e39116
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 23 deletions.
39 changes: 20 additions & 19 deletions pb/proof.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions pb/proof.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ message Proof {
int64 end = 2;
// Nodes hold the tree nodes necessary for the Merkle range proof.
repeated bytes nodes = 3;
// LeafHash contains the namespace.ID if NMT does not have it and
// leaf_hash contains the namespace.ID if NMT does not have it and
// it should be proven. LeafHash is necessary to prove the Absence Proof.
// This field will be empty in case of Inclusion Proof.
bytes leafHash = 4;
// The isMaxNamespaceIgnored flag influences the calculation of the
bytes leaf_hash = 4;
// The is_max_namespace_ignored flag influences the calculation of the
// namespace ID range for intermediate nodes in the tree.
bool isMaxNamespaceIgnored=5;
bool is_max_namespace_ignored=5;
}

0 comments on commit 6e39116

Please sign in to comment.