-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:cosmos/cosmos-sdk into aaronc/x-g…
…ov-proto-any
- Loading branch information
Showing
5 changed files
with
3,299 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
syntax = "proto3"; | ||
package cosmos_sdk.crypto.v1; | ||
|
||
//import "third_party/proto/gogoproto/gogo.proto"; | ||
|
||
option go_package = "github.com/cosmos/cosmos-sdk/crypto/types"; | ||
|
||
// CompactBitArray is an implementation of a space efficient bit array. | ||
// This is used to ensure that the encoded data takes up a minimal amount of | ||
// space after proto encoding. | ||
// This is not thread safe, and is not intended for concurrent usage. | ||
message CompactBitArray { | ||
// TODO: re-enable these when the actual implementation is added | ||
// option (gogoproto.sizer) = false; | ||
// option (gogoproto.goproto_stringer) = false; | ||
|
||
uint32 extra_bits_stored = 1; | ||
bytes elems = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.