You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
796 B

  1. syntax = "proto3";
  2. package tendermint.libs.common;
  3. option go_package = "github.com/tendermint/tendermint/libs/common";
  4. import "github.com/gogo/protobuf/gogoproto/gogo.proto";
  5. option (gogoproto.marshaler_all) = true;
  6. option (gogoproto.unmarshaler_all) = true;
  7. option (gogoproto.sizer_all) = true;
  8. option (gogoproto.goproto_registration) = true;
  9. // Generate tests
  10. option (gogoproto.populate_all) = true;
  11. option (gogoproto.equal_all) = true;
  12. option (gogoproto.testgen_all) = true;
  13. //----------------------------------------
  14. // Abstract types
  15. // Define these here for compatibility but use tmlibs/common.KVPair.
  16. message KVPair {
  17. bytes key = 1;
  18. bytes value = 2;
  19. }
  20. // Define these here for compatibility but use tmlibs/common.KI64Pair.
  21. message KI64Pair {
  22. bytes key = 1;
  23. int64 value = 2;
  24. }