Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jianoaix committed Jul 26, 2024
1 parent 0be5e3d commit 7978389
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ const (

// The list of supported encoding formats for bundle.
// Values must be in range [0, 255].
// Note that the IDs here may not be the same as the ChunkEncodingFormat enum in
// the node.proto file. For eaxmple, GobBundleEncodingFormat is 0 here, but in
// ChunkEncodingFormat the GOB is 2 (and UNKNOWN is 0). The reason is because
// we need to set GobBundleEncodingFormat to 0 for backward compatibility (and
// in protobuf, UNKNOWN as 0 is a convention).
GobBundleEncodingFormat BundleEncodingFormat = 0
GnarkBundleEncodingFormat BundleEncodingFormat = 1
)
Expand Down

0 comments on commit 7978389

Please sign in to comment.