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
801 B

  1. syntax = "proto3";
  2. package tendermint.libs.kv;
  3. option go_package = "github.com/tendermint/tendermint/libs/kv";
  4. import "third_party/proto/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/kv.Pair.
  16. message Pair {
  17. bytes key = 1;
  18. bytes value = 2;
  19. }
  20. // Define these here for compatibility but use tmlibs/kv.KI64Pair.
  21. message KI64Pair {
  22. bytes key = 1;
  23. int64 value = 2;
  24. }