syntax = "proto3";
|
|
package common;
|
|
|
|
// For more information on gogo.proto, see:
|
|
// https://github.com/gogo/protobuf/blob/master/extensions.md
|
|
// NOTE: Try really hard not to use custom types,
|
|
// it's often complicated, broken, nor not worth it.
|
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
|
|
|
|
|
//----------------------------------------
|
|
// Abstract types
|
|
|
|
// Define these here for compatibility but use tmlibs/common.KVPair.
|
|
message KVPair {
|
|
bytes key = 1;
|
|
bytes value = 2;
|
|
}
|
|
|
|
// Define these here for compatibility but use tmlibs/common.KI64Pair.
|
|
message KI64Pair {
|
|
bytes key = 1;
|
|
int64 value = 2;
|
|
}
|