Skip to content

Commit

Permalink
refactor(pb/proof.go)!: converting pb definition to use snake_case (#232
Browse files Browse the repository at this point in the history
)

Related: celestiaorg/celestia-node#2631,
celestiaorg/celestia-node#2633

---------

Co-authored-by: Rootul P <rootulp@gmail.com>
  • Loading branch information
distractedm1nd and rootulp authored Aug 31, 2023
1 parent e63158e commit ac56b3b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 24 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.

10 changes: 5 additions & 5 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
// it should be proven. LeafHash is necessary to prove the Absence Proof.
// leaf_hash contains the namespace.ID if NMT does not have it and
// it should be proven. leaf_hash 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 ac56b3b

Please sign in to comment.