diff --git a/execution/events/pbevents/events.pb.go b/execution/events/pbevents/events.pb.go index 085192b35d56cd6684f049367f0d912ca0ec3314..132817582cfcda6667e5e75c5fc750bf1b565a4a 100644 --- a/execution/events/pbevents/events.pb.go +++ b/execution/events/pbevents/events.pb.go @@ -58,7 +58,7 @@ func (x Bound_BoundType) String() string { return proto.EnumName(Bound_BoundType_name, int32(x)) } func (Bound_BoundType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_events_d44ffa1d22a15482, []int{7, 0} + return fileDescriptor_events_a0e2b84614955cff, []int{7, 0} } // Params @@ -73,7 +73,7 @@ func (m *EventIdParam) Reset() { *m = EventIdParam{} } func (m *EventIdParam) String() string { return proto.CompactTextString(m) } func (*EventIdParam) ProtoMessage() {} func (*EventIdParam) Descriptor() ([]byte, []int) { - return fileDescriptor_events_d44ffa1d22a15482, []int{0} + return fileDescriptor_events_a0e2b84614955cff, []int{0} } func (m *EventIdParam) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EventIdParam.Unmarshal(m, b) @@ -111,7 +111,7 @@ func (m *SubIdParam) Reset() { *m = SubIdParam{} } func (m *SubIdParam) String() string { return proto.CompactTextString(m) } func (*SubIdParam) ProtoMessage() {} func (*SubIdParam) Descriptor() ([]byte, []int) { - return fileDescriptor_events_d44ffa1d22a15482, []int{1} + return fileDescriptor_events_a0e2b84614955cff, []int{1} } func (m *SubIdParam) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SubIdParam.Unmarshal(m, b) @@ -150,7 +150,7 @@ func (m *EventUnSub) Reset() { *m = EventUnSub{} } func (m *EventUnSub) String() string { return proto.CompactTextString(m) } func (*EventUnSub) ProtoMessage() {} func (*EventUnSub) Descriptor() ([]byte, []int) { - return fileDescriptor_events_d44ffa1d22a15482, []int{2} + return fileDescriptor_events_a0e2b84614955cff, []int{2} } func (m *EventUnSub) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EventUnSub.Unmarshal(m, b) @@ -188,7 +188,7 @@ func (m *PollResponse) Reset() { *m = PollResponse{} } func (m *PollResponse) String() string { return proto.CompactTextString(m) } func (*PollResponse) ProtoMessage() {} func (*PollResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_events_d44ffa1d22a15482, []int{3} + return fileDescriptor_events_a0e2b84614955cff, []int{3} } func (m *PollResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PollResponse.Unmarshal(m, b) @@ -230,7 +230,7 @@ func (m *Event) Reset() { *m = Event{} } func (m *Event) String() string { return proto.CompactTextString(m) } func (*Event) ProtoMessage() {} func (*Event) Descriptor() ([]byte, []int) { - return fileDescriptor_events_d44ffa1d22a15482, []int{4} + return fileDescriptor_events_a0e2b84614955cff, []int{4} } func (m *Event) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Event.Unmarshal(m, b) @@ -363,18 +363,53 @@ func _Event_OneofSizer(msg proto.Message) (n int) { } type GetEventsRequest struct { - BlockRange *BlockRange `protobuf:"bytes,1,opt,name=BlockRange,proto3" json:"BlockRange,omitempty"` - Query string `protobuf:"bytes,2,opt,name=Query,proto3" json:"Query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + BlockRange *BlockRange `protobuf:"bytes,1,opt,name=BlockRange,proto3" json:"BlockRange,omitempty"` + // Specify a query on which to match the tags of events. + // Tag | Match type | Values + // ----------------------------------------- + // All events + // ----------------------------------------- + // TxType | String | "UnknownTx", "SendTx", "CallTx", "NameTx", "BondTx", "UnbondTx", "PermissionsTx", "GovernanceTx" + // TxHash | String | bytes + // EventType | String | "CallEvent", "LogEvent", "AccountInputEvent", "AccountOutputEvent" + // EventID | String | string + // Height | Integer | uint64 + // Index | Integer | uint64 + // MessageType | String | Go type name + // ----------------------------------------- + // Log event + // ----------------------------------------- + // Address | String | Address (hex) + // Log<0-4> | String | Word256 (hex) + // Log<0-4>Text | String | string (trimmed) + // ----------------------------------------- + // Call event + // ----------------------------------------- + // Origin | String | Address (hex) + // Callee | String | Address (hex) + // Caller | String | Address (hex) + // Value | Integer | uint64 + // Gas | Integer | uint64 + // StackDepth | Integer | uint64 + // Exception | String | string + // ----------------------------------------- + // Tx event (input/output) + // ----------------------------------------- + // Exception | String | string + // + // For example: + // EventType = 'LogEvent' AND EventID CONTAINS 'bar' AND TxHash = '020304' AND Height >= 34 AND Index < 3 AND Address = 'DEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEF' + Query string `protobuf:"bytes,2,opt,name=Query,proto3" json:"Query,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *GetEventsRequest) Reset() { *m = GetEventsRequest{} } func (m *GetEventsRequest) String() string { return proto.CompactTextString(m) } func (*GetEventsRequest) ProtoMessage() {} func (*GetEventsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_events_d44ffa1d22a15482, []int{5} + return fileDescriptor_events_a0e2b84614955cff, []int{5} } func (m *GetEventsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetEventsRequest.Unmarshal(m, b) @@ -419,7 +454,7 @@ func (m *GetEventsResponse) Reset() { *m = GetEventsResponse{} } func (m *GetEventsResponse) String() string { return proto.CompactTextString(m) } func (*GetEventsResponse) ProtoMessage() {} func (*GetEventsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_events_d44ffa1d22a15482, []int{6} + return fileDescriptor_events_a0e2b84614955cff, []int{6} } func (m *GetEventsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetEventsResponse.Unmarshal(m, b) @@ -458,7 +493,7 @@ func (m *Bound) Reset() { *m = Bound{} } func (m *Bound) String() string { return proto.CompactTextString(m) } func (*Bound) ProtoMessage() {} func (*Bound) Descriptor() ([]byte, []int) { - return fileDescriptor_events_d44ffa1d22a15482, []int{7} + return fileDescriptor_events_a0e2b84614955cff, []int{7} } func (m *Bound) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Bound.Unmarshal(m, b) @@ -492,9 +527,13 @@ func (m *Bound) GetIndex() uint64 { return 0 } -// An inclusive range of blocks to include +// An inclusive range of blocks to include in output type BlockRange struct { - // How to interpret StartBlock + // Bounds can be set to: + // absolute: block height + // relative: block height counting back from latest + // latest: latest block when call is processed + // stream: for End keep sending new blocks, for start same as latest Start *Bound `protobuf:"bytes,1,opt,name=Start,proto3" json:"Start,omitempty"` End *Bound `protobuf:"bytes,2,opt,name=End,proto3" json:"End,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -506,7 +545,7 @@ func (m *BlockRange) Reset() { *m = BlockRange{} } func (m *BlockRange) String() string { return proto.CompactTextString(m) } func (*BlockRange) ProtoMessage() {} func (*BlockRange) Descriptor() ([]byte, []int) { - return fileDescriptor_events_d44ffa1d22a15482, []int{8} + return fileDescriptor_events_a0e2b84614955cff, []int{8} } func (m *BlockRange) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BlockRange.Unmarshal(m, b) @@ -562,7 +601,7 @@ func (m *EventHeader) Reset() { *m = EventHeader{} } func (m *EventHeader) String() string { return proto.CompactTextString(m) } func (*EventHeader) ProtoMessage() {} func (*EventHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_events_d44ffa1d22a15482, []int{9} + return fileDescriptor_events_a0e2b84614955cff, []int{9} } func (m *EventHeader) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EventHeader.Unmarshal(m, b) @@ -640,7 +679,7 @@ func (m *ExecutionEvent) Reset() { *m = ExecutionEvent{} } func (m *ExecutionEvent) String() string { return proto.CompactTextString(m) } func (*ExecutionEvent) ProtoMessage() {} func (*ExecutionEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_events_d44ffa1d22a15482, []int{10} + return fileDescriptor_events_a0e2b84614955cff, []int{10} } func (m *ExecutionEvent) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExecutionEvent.Unmarshal(m, b) @@ -819,7 +858,7 @@ func (m *EventDataLog) Reset() { *m = EventDataLog{} } func (m *EventDataLog) String() string { return proto.CompactTextString(m) } func (*EventDataLog) ProtoMessage() {} func (*EventDataLog) Descriptor() ([]byte, []int) { - return fileDescriptor_events_d44ffa1d22a15482, []int{11} + return fileDescriptor_events_a0e2b84614955cff, []int{11} } func (m *EventDataLog) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EventDataLog.Unmarshal(m, b) @@ -872,7 +911,7 @@ func (m *EventDataTx) Reset() { *m = EventDataTx{} } func (m *EventDataTx) String() string { return proto.CompactTextString(m) } func (*EventDataTx) ProtoMessage() {} func (*EventDataTx) Descriptor() ([]byte, []int) { - return fileDescriptor_events_d44ffa1d22a15482, []int{12} + return fileDescriptor_events_a0e2b84614955cff, []int{12} } func (m *EventDataTx) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EventDataTx.Unmarshal(m, b) @@ -921,7 +960,7 @@ func (m *EventDataCall) Reset() { *m = EventDataCall{} } func (m *EventDataCall) String() string { return proto.CompactTextString(m) } func (*EventDataCall) ProtoMessage() {} func (*EventDataCall) Descriptor() ([]byte, []int) { - return fileDescriptor_events_d44ffa1d22a15482, []int{13} + return fileDescriptor_events_a0e2b84614955cff, []int{13} } func (m *EventDataCall) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EventDataCall.Unmarshal(m, b) @@ -991,7 +1030,7 @@ func (m *CallData) Reset() { *m = CallData{} } func (m *CallData) String() string { return proto.CompactTextString(m) } func (*CallData) ProtoMessage() {} func (*CallData) Descriptor() ([]byte, []int) { - return fileDescriptor_events_d44ffa1d22a15482, []int{14} + return fileDescriptor_events_a0e2b84614955cff, []int{14} } func (m *CallData) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CallData.Unmarshal(m, b) @@ -1207,6 +1246,8 @@ var _Events_serviceDesc = grpc.ServiceDesc{ // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type ExecutionEventsClient interface { + // GetEvents provides events streaming one block at a time - that is all events emitted in a particular block + // are guaranteed to be delivered in each GetEventsResponse GetEvents(ctx context.Context, in *GetEventsRequest, opts ...grpc.CallOption) (ExecutionEvents_GetEventsClient, error) } @@ -1252,6 +1293,8 @@ func (x *executionEventsGetEventsClient) Recv() (*GetEventsResponse, error) { // ExecutionEventsServer is the server API for ExecutionEvents service. type ExecutionEventsServer interface { + // GetEvents provides events streaming one block at a time - that is all events emitted in a particular block + // are guaranteed to be delivered in each GetEventsResponse GetEvents(*GetEventsRequest, ExecutionEvents_GetEventsServer) error } @@ -1295,10 +1338,10 @@ var _ExecutionEvents_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("github.com/hyperledger/burrow/execution/events/pbevents/events.proto", fileDescriptor_events_d44ffa1d22a15482) + proto.RegisterFile("github.com/hyperledger/burrow/execution/events/pbevents/events.proto", fileDescriptor_events_a0e2b84614955cff) } -var fileDescriptor_events_d44ffa1d22a15482 = []byte{ +var fileDescriptor_events_a0e2b84614955cff = []byte{ // 907 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdd, 0x6e, 0xdc, 0x44, 0x14, 0x5e, 0x67, 0x7f, 0x1a, 0x9f, 0x5d, 0x12, 0x77, 0x08, 0xc5, 0x04, 0x84, 0x82, 0x05, 0x22, diff --git a/keys/pbkeys/keys.pb.go b/keys/pbkeys/keys.pb.go index 480306389b777aa7e282a6b54769f5c179c18dc1..320ab041965a12c94c3e0757f810c9602b2f228c 100644 --- a/keys/pbkeys/keys.pb.go +++ b/keys/pbkeys/keys.pb.go @@ -1,33 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// source: keys.proto - -/* -Package pbkeys is a generated protocol buffer package. - -It is generated from these files: - keys.proto - -It has these top-level messages: - Name - Empty - GenRequest - GenResponse - PubRequest - PubResponse - ImportJSONRequest - ImportResponse - ImportRequest - ExportRequest - ExportResponse - SignRequest - SignResponse - VerifyRequest - HashRequest - HashResponse - Key - ListResponse - AddNameRequest -*/ +// source: github.com/hyperledger/burrow/keys/pbkeys/keys.proto + package pbkeys import proto "github.com/golang/protobuf/proto" @@ -50,40 +23,196 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package -type Name struct { - Keyname string `protobuf:"bytes,1,opt,name=keyname" json:"keyname,omitempty"` +type ListRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListRequest) Reset() { *m = ListRequest{} } +func (m *ListRequest) String() string { return proto.CompactTextString(m) } +func (*ListRequest) ProtoMessage() {} +func (*ListRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{0} +} +func (m *ListRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListRequest.Unmarshal(m, b) +} +func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListRequest.Marshal(b, m, deterministic) +} +func (dst *ListRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRequest.Merge(dst, src) +} +func (m *ListRequest) XXX_Size() int { + return xxx_messageInfo_ListRequest.Size(m) +} +func (m *ListRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListRequest proto.InternalMessageInfo + +type VerifyResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *VerifyResponse) Reset() { *m = VerifyResponse{} } +func (m *VerifyResponse) String() string { return proto.CompactTextString(m) } +func (*VerifyResponse) ProtoMessage() {} +func (*VerifyResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{1} +} +func (m *VerifyResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VerifyResponse.Unmarshal(m, b) +} +func (m *VerifyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VerifyResponse.Marshal(b, m, deterministic) +} +func (dst *VerifyResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_VerifyResponse.Merge(dst, src) +} +func (m *VerifyResponse) XXX_Size() int { + return xxx_messageInfo_VerifyResponse.Size(m) +} +func (m *VerifyResponse) XXX_DiscardUnknown() { + xxx_messageInfo_VerifyResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_VerifyResponse proto.InternalMessageInfo + +type RemoveNameResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RemoveNameResponse) Reset() { *m = RemoveNameResponse{} } +func (m *RemoveNameResponse) String() string { return proto.CompactTextString(m) } +func (*RemoveNameResponse) ProtoMessage() {} +func (*RemoveNameResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{2} +} +func (m *RemoveNameResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveNameResponse.Unmarshal(m, b) +} +func (m *RemoveNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveNameResponse.Marshal(b, m, deterministic) +} +func (dst *RemoveNameResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveNameResponse.Merge(dst, src) +} +func (m *RemoveNameResponse) XXX_Size() int { + return xxx_messageInfo_RemoveNameResponse.Size(m) +} +func (m *RemoveNameResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveNameResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveNameResponse proto.InternalMessageInfo + +type AddNameResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddNameResponse) Reset() { *m = AddNameResponse{} } +func (m *AddNameResponse) String() string { return proto.CompactTextString(m) } +func (*AddNameResponse) ProtoMessage() {} +func (*AddNameResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{3} +} +func (m *AddNameResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddNameResponse.Unmarshal(m, b) +} +func (m *AddNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddNameResponse.Marshal(b, m, deterministic) +} +func (dst *AddNameResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddNameResponse.Merge(dst, src) +} +func (m *AddNameResponse) XXX_Size() int { + return xxx_messageInfo_AddNameResponse.Size(m) +} +func (m *AddNameResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AddNameResponse.DiscardUnknown(m) } -func (m *Name) Reset() { *m = Name{} } -func (m *Name) String() string { return proto.CompactTextString(m) } -func (*Name) ProtoMessage() {} -func (*Name) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } +var xxx_messageInfo_AddNameResponse proto.InternalMessageInfo -func (m *Name) GetKeyname() string { +type RemoveNameRequest struct { + Keyname string `protobuf:"bytes,1,opt,name=keyname,proto3" json:"keyname,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RemoveNameRequest) Reset() { *m = RemoveNameRequest{} } +func (m *RemoveNameRequest) String() string { return proto.CompactTextString(m) } +func (*RemoveNameRequest) ProtoMessage() {} +func (*RemoveNameRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{4} +} +func (m *RemoveNameRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveNameRequest.Unmarshal(m, b) +} +func (m *RemoveNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveNameRequest.Marshal(b, m, deterministic) +} +func (dst *RemoveNameRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveNameRequest.Merge(dst, src) +} +func (m *RemoveNameRequest) XXX_Size() int { + return xxx_messageInfo_RemoveNameRequest.Size(m) +} +func (m *RemoveNameRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveNameRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveNameRequest proto.InternalMessageInfo + +func (m *RemoveNameRequest) GetKeyname() string { if m != nil { return m.Keyname } return "" } -type Empty struct { +type GenRequest struct { + Passphrase string `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"` + Curvetype string `protobuf:"bytes,2,opt,name=curvetype,proto3" json:"curvetype,omitempty"` + Keyname string `protobuf:"bytes,3,opt,name=keyname,proto3" json:"keyname,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *Empty) Reset() { *m = Empty{} } -func (m *Empty) String() string { return proto.CompactTextString(m) } -func (*Empty) ProtoMessage() {} -func (*Empty) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } - -type GenRequest struct { - Passphrase string `protobuf:"bytes,1,opt,name=passphrase" json:"passphrase,omitempty"` - Curvetype string `protobuf:"bytes,2,opt,name=curvetype" json:"curvetype,omitempty"` - Keyname string `protobuf:"bytes,3,opt,name=keyname" json:"keyname,omitempty"` +func (m *GenRequest) Reset() { *m = GenRequest{} } +func (m *GenRequest) String() string { return proto.CompactTextString(m) } +func (*GenRequest) ProtoMessage() {} +func (*GenRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{5} +} +func (m *GenRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GenRequest.Unmarshal(m, b) +} +func (m *GenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GenRequest.Marshal(b, m, deterministic) +} +func (dst *GenRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenRequest.Merge(dst, src) +} +func (m *GenRequest) XXX_Size() int { + return xxx_messageInfo_GenRequest.Size(m) +} +func (m *GenRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GenRequest.DiscardUnknown(m) } -func (m *GenRequest) Reset() { *m = GenRequest{} } -func (m *GenRequest) String() string { return proto.CompactTextString(m) } -func (*GenRequest) ProtoMessage() {} -func (*GenRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} } +var xxx_messageInfo_GenRequest proto.InternalMessageInfo func (m *GenRequest) GetPassphrase() string { if m != nil { @@ -107,13 +236,35 @@ func (m *GenRequest) GetKeyname() string { } type GenResponse struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *GenResponse) Reset() { *m = GenResponse{} } -func (m *GenResponse) String() string { return proto.CompactTextString(m) } -func (*GenResponse) ProtoMessage() {} -func (*GenResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} } +func (m *GenResponse) Reset() { *m = GenResponse{} } +func (m *GenResponse) String() string { return proto.CompactTextString(m) } +func (*GenResponse) ProtoMessage() {} +func (*GenResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{6} +} +func (m *GenResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GenResponse.Unmarshal(m, b) +} +func (m *GenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GenResponse.Marshal(b, m, deterministic) +} +func (dst *GenResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenResponse.Merge(dst, src) +} +func (m *GenResponse) XXX_Size() int { + return xxx_messageInfo_GenResponse.Size(m) +} +func (m *GenResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GenResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GenResponse proto.InternalMessageInfo func (m *GenResponse) GetAddress() string { if m != nil { @@ -123,14 +274,36 @@ func (m *GenResponse) GetAddress() string { } type PubRequest struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *PubRequest) Reset() { *m = PubRequest{} } -func (m *PubRequest) String() string { return proto.CompactTextString(m) } -func (*PubRequest) ProtoMessage() {} -func (*PubRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} } +func (m *PubRequest) Reset() { *m = PubRequest{} } +func (m *PubRequest) String() string { return proto.CompactTextString(m) } +func (*PubRequest) ProtoMessage() {} +func (*PubRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{7} +} +func (m *PubRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PubRequest.Unmarshal(m, b) +} +func (m *PubRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PubRequest.Marshal(b, m, deterministic) +} +func (dst *PubRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PubRequest.Merge(dst, src) +} +func (m *PubRequest) XXX_Size() int { + return xxx_messageInfo_PubRequest.Size(m) +} +func (m *PubRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PubRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_PubRequest proto.InternalMessageInfo func (m *PubRequest) GetAddress() string { if m != nil { @@ -147,14 +320,36 @@ func (m *PubRequest) GetName() string { } type PubResponse struct { - Pub []byte `protobuf:"bytes,1,opt,name=pub,proto3" json:"pub,omitempty"` - Curvetype string `protobuf:"bytes,2,opt,name=curvetype" json:"curvetype,omitempty"` + Pub []byte `protobuf:"bytes,1,opt,name=pub,proto3" json:"pub,omitempty"` + Curvetype string `protobuf:"bytes,2,opt,name=curvetype,proto3" json:"curvetype,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PubResponse) Reset() { *m = PubResponse{} } +func (m *PubResponse) String() string { return proto.CompactTextString(m) } +func (*PubResponse) ProtoMessage() {} +func (*PubResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{8} +} +func (m *PubResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PubResponse.Unmarshal(m, b) +} +func (m *PubResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PubResponse.Marshal(b, m, deterministic) +} +func (dst *PubResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PubResponse.Merge(dst, src) +} +func (m *PubResponse) XXX_Size() int { + return xxx_messageInfo_PubResponse.Size(m) +} +func (m *PubResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PubResponse.DiscardUnknown(m) } -func (m *PubResponse) Reset() { *m = PubResponse{} } -func (m *PubResponse) String() string { return proto.CompactTextString(m) } -func (*PubResponse) ProtoMessage() {} -func (*PubResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} } +var xxx_messageInfo_PubResponse proto.InternalMessageInfo func (m *PubResponse) GetPub() []byte { if m != nil { @@ -171,14 +366,36 @@ func (m *PubResponse) GetCurvetype() string { } type ImportJSONRequest struct { - Passphrase string `protobuf:"bytes,1,opt,name=passphrase" json:"passphrase,omitempty"` - JSON string `protobuf:"bytes,2,opt,name=JSON" json:"JSON,omitempty"` + Passphrase string `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"` + JSON string `protobuf:"bytes,2,opt,name=JSON,proto3" json:"JSON,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *ImportJSONRequest) Reset() { *m = ImportJSONRequest{} } -func (m *ImportJSONRequest) String() string { return proto.CompactTextString(m) } -func (*ImportJSONRequest) ProtoMessage() {} -func (*ImportJSONRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} } +func (m *ImportJSONRequest) Reset() { *m = ImportJSONRequest{} } +func (m *ImportJSONRequest) String() string { return proto.CompactTextString(m) } +func (*ImportJSONRequest) ProtoMessage() {} +func (*ImportJSONRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{9} +} +func (m *ImportJSONRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ImportJSONRequest.Unmarshal(m, b) +} +func (m *ImportJSONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ImportJSONRequest.Marshal(b, m, deterministic) +} +func (dst *ImportJSONRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ImportJSONRequest.Merge(dst, src) +} +func (m *ImportJSONRequest) XXX_Size() int { + return xxx_messageInfo_ImportJSONRequest.Size(m) +} +func (m *ImportJSONRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ImportJSONRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ImportJSONRequest proto.InternalMessageInfo func (m *ImportJSONRequest) GetPassphrase() string { if m != nil { @@ -195,13 +412,35 @@ func (m *ImportJSONRequest) GetJSON() string { } type ImportResponse struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *ImportResponse) Reset() { *m = ImportResponse{} } -func (m *ImportResponse) String() string { return proto.CompactTextString(m) } -func (*ImportResponse) ProtoMessage() {} -func (*ImportResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} } +func (m *ImportResponse) Reset() { *m = ImportResponse{} } +func (m *ImportResponse) String() string { return proto.CompactTextString(m) } +func (*ImportResponse) ProtoMessage() {} +func (*ImportResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{10} +} +func (m *ImportResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ImportResponse.Unmarshal(m, b) +} +func (m *ImportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ImportResponse.Marshal(b, m, deterministic) +} +func (dst *ImportResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ImportResponse.Merge(dst, src) +} +func (m *ImportResponse) XXX_Size() int { + return xxx_messageInfo_ImportResponse.Size(m) +} +func (m *ImportResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ImportResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ImportResponse proto.InternalMessageInfo func (m *ImportResponse) GetAddress() string { if m != nil { @@ -211,16 +450,38 @@ func (m *ImportResponse) GetAddress() string { } type ImportRequest struct { - Passphrase string `protobuf:"bytes,1,opt,name=passphrase" json:"passphrase,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` - Curvetype string `protobuf:"bytes,3,opt,name=curvetype" json:"curvetype,omitempty"` - Keybytes []byte `protobuf:"bytes,4,opt,name=keybytes,proto3" json:"keybytes,omitempty"` + Passphrase string `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Curvetype string `protobuf:"bytes,3,opt,name=curvetype,proto3" json:"curvetype,omitempty"` + Keybytes []byte `protobuf:"bytes,4,opt,name=keybytes,proto3" json:"keybytes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ImportRequest) Reset() { *m = ImportRequest{} } +func (m *ImportRequest) String() string { return proto.CompactTextString(m) } +func (*ImportRequest) ProtoMessage() {} +func (*ImportRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{11} +} +func (m *ImportRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ImportRequest.Unmarshal(m, b) +} +func (m *ImportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ImportRequest.Marshal(b, m, deterministic) +} +func (dst *ImportRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ImportRequest.Merge(dst, src) +} +func (m *ImportRequest) XXX_Size() int { + return xxx_messageInfo_ImportRequest.Size(m) +} +func (m *ImportRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ImportRequest.DiscardUnknown(m) } -func (m *ImportRequest) Reset() { *m = ImportRequest{} } -func (m *ImportRequest) String() string { return proto.CompactTextString(m) } -func (*ImportRequest) ProtoMessage() {} -func (*ImportRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} } +var xxx_messageInfo_ImportRequest proto.InternalMessageInfo func (m *ImportRequest) GetPassphrase() string { if m != nil { @@ -251,15 +512,37 @@ func (m *ImportRequest) GetKeybytes() []byte { } type ExportRequest struct { - Passphrase string `protobuf:"bytes,1,opt,name=passphrase" json:"passphrase,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` - Address string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"` + Passphrase string `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *ExportRequest) Reset() { *m = ExportRequest{} } -func (m *ExportRequest) String() string { return proto.CompactTextString(m) } -func (*ExportRequest) ProtoMessage() {} -func (*ExportRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} } +func (m *ExportRequest) Reset() { *m = ExportRequest{} } +func (m *ExportRequest) String() string { return proto.CompactTextString(m) } +func (*ExportRequest) ProtoMessage() {} +func (*ExportRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{12} +} +func (m *ExportRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExportRequest.Unmarshal(m, b) +} +func (m *ExportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExportRequest.Marshal(b, m, deterministic) +} +func (dst *ExportRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExportRequest.Merge(dst, src) +} +func (m *ExportRequest) XXX_Size() int { + return xxx_messageInfo_ExportRequest.Size(m) +} +func (m *ExportRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ExportRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ExportRequest proto.InternalMessageInfo func (m *ExportRequest) GetPassphrase() string { if m != nil { @@ -283,16 +566,38 @@ func (m *ExportRequest) GetAddress() string { } type ExportResponse struct { - Publickey []byte `protobuf:"bytes,1,opt,name=publickey,proto3" json:"publickey,omitempty"` - Privatekey []byte `protobuf:"bytes,2,opt,name=privatekey,proto3" json:"privatekey,omitempty"` - Address []byte `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` - Curvetype string `protobuf:"bytes,4,opt,name=curvetype" json:"curvetype,omitempty"` + Publickey []byte `protobuf:"bytes,1,opt,name=publickey,proto3" json:"publickey,omitempty"` + Privatekey []byte `protobuf:"bytes,2,opt,name=privatekey,proto3" json:"privatekey,omitempty"` + Address []byte `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` + Curvetype string `protobuf:"bytes,4,opt,name=curvetype,proto3" json:"curvetype,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *ExportResponse) Reset() { *m = ExportResponse{} } -func (m *ExportResponse) String() string { return proto.CompactTextString(m) } -func (*ExportResponse) ProtoMessage() {} -func (*ExportResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} } +func (m *ExportResponse) Reset() { *m = ExportResponse{} } +func (m *ExportResponse) String() string { return proto.CompactTextString(m) } +func (*ExportResponse) ProtoMessage() {} +func (*ExportResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{13} +} +func (m *ExportResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExportResponse.Unmarshal(m, b) +} +func (m *ExportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExportResponse.Marshal(b, m, deterministic) +} +func (dst *ExportResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExportResponse.Merge(dst, src) +} +func (m *ExportResponse) XXX_Size() int { + return xxx_messageInfo_ExportResponse.Size(m) +} +func (m *ExportResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ExportResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ExportResponse proto.InternalMessageInfo func (m *ExportResponse) GetPublickey() []byte { if m != nil { @@ -323,16 +628,38 @@ func (m *ExportResponse) GetCurvetype() string { } type SignRequest struct { - Passphrase string `protobuf:"bytes,1,opt,name=passphrase" json:"passphrase,omitempty"` - Address string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` - Message []byte `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` + Passphrase string `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Message []byte `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *SignRequest) Reset() { *m = SignRequest{} } -func (m *SignRequest) String() string { return proto.CompactTextString(m) } -func (*SignRequest) ProtoMessage() {} -func (*SignRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} } +func (m *SignRequest) Reset() { *m = SignRequest{} } +func (m *SignRequest) String() string { return proto.CompactTextString(m) } +func (*SignRequest) ProtoMessage() {} +func (*SignRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{14} +} +func (m *SignRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SignRequest.Unmarshal(m, b) +} +func (m *SignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SignRequest.Marshal(b, m, deterministic) +} +func (dst *SignRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SignRequest.Merge(dst, src) +} +func (m *SignRequest) XXX_Size() int { + return xxx_messageInfo_SignRequest.Size(m) +} +func (m *SignRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SignRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SignRequest proto.InternalMessageInfo func (m *SignRequest) GetPassphrase() string { if m != nil { @@ -363,14 +690,36 @@ func (m *SignRequest) GetMessage() []byte { } type SignResponse struct { - Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` - Curvetype string `protobuf:"bytes,2,opt,name=curvetype" json:"curvetype,omitempty"` + Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` + Curvetype string `protobuf:"bytes,2,opt,name=curvetype,proto3" json:"curvetype,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *SignResponse) Reset() { *m = SignResponse{} } -func (m *SignResponse) String() string { return proto.CompactTextString(m) } -func (*SignResponse) ProtoMessage() {} -func (*SignResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} } +func (m *SignResponse) Reset() { *m = SignResponse{} } +func (m *SignResponse) String() string { return proto.CompactTextString(m) } +func (*SignResponse) ProtoMessage() {} +func (*SignResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{15} +} +func (m *SignResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SignResponse.Unmarshal(m, b) +} +func (m *SignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SignResponse.Marshal(b, m, deterministic) +} +func (dst *SignResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SignResponse.Merge(dst, src) +} +func (m *SignResponse) XXX_Size() int { + return xxx_messageInfo_SignResponse.Size(m) +} +func (m *SignResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SignResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SignResponse proto.InternalMessageInfo func (m *SignResponse) GetSignature() []byte { if m != nil { @@ -387,16 +736,38 @@ func (m *SignResponse) GetCurvetype() string { } type VerifyRequest struct { - Curvetype string `protobuf:"bytes,1,opt,name=curvetype" json:"curvetype,omitempty"` - Pub []byte `protobuf:"bytes,2,opt,name=pub,proto3" json:"pub,omitempty"` - Message []byte `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` - Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` + Curvetype string `protobuf:"bytes,1,opt,name=curvetype,proto3" json:"curvetype,omitempty"` + Pub []byte `protobuf:"bytes,2,opt,name=pub,proto3" json:"pub,omitempty"` + Message []byte `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` + Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *VerifyRequest) Reset() { *m = VerifyRequest{} } +func (m *VerifyRequest) String() string { return proto.CompactTextString(m) } +func (*VerifyRequest) ProtoMessage() {} +func (*VerifyRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{16} +} +func (m *VerifyRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VerifyRequest.Unmarshal(m, b) +} +func (m *VerifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VerifyRequest.Marshal(b, m, deterministic) +} +func (dst *VerifyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_VerifyRequest.Merge(dst, src) +} +func (m *VerifyRequest) XXX_Size() int { + return xxx_messageInfo_VerifyRequest.Size(m) +} +func (m *VerifyRequest) XXX_DiscardUnknown() { + xxx_messageInfo_VerifyRequest.DiscardUnknown(m) } -func (m *VerifyRequest) Reset() { *m = VerifyRequest{} } -func (m *VerifyRequest) String() string { return proto.CompactTextString(m) } -func (*VerifyRequest) ProtoMessage() {} -func (*VerifyRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} } +var xxx_messageInfo_VerifyRequest proto.InternalMessageInfo func (m *VerifyRequest) GetCurvetype() string { if m != nil { @@ -427,14 +798,36 @@ func (m *VerifyRequest) GetSignature() []byte { } type HashRequest struct { - Hashtype string `protobuf:"bytes,1,opt,name=hashtype" json:"hashtype,omitempty"` - Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + Hashtype string `protobuf:"bytes,1,opt,name=hashtype,proto3" json:"hashtype,omitempty"` + Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *HashRequest) Reset() { *m = HashRequest{} } -func (m *HashRequest) String() string { return proto.CompactTextString(m) } -func (*HashRequest) ProtoMessage() {} -func (*HashRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} } +func (m *HashRequest) Reset() { *m = HashRequest{} } +func (m *HashRequest) String() string { return proto.CompactTextString(m) } +func (*HashRequest) ProtoMessage() {} +func (*HashRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{17} +} +func (m *HashRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HashRequest.Unmarshal(m, b) +} +func (m *HashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HashRequest.Marshal(b, m, deterministic) +} +func (dst *HashRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_HashRequest.Merge(dst, src) +} +func (m *HashRequest) XXX_Size() int { + return xxx_messageInfo_HashRequest.Size(m) +} +func (m *HashRequest) XXX_DiscardUnknown() { + xxx_messageInfo_HashRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_HashRequest proto.InternalMessageInfo func (m *HashRequest) GetHashtype() string { if m != nil { @@ -451,13 +844,35 @@ func (m *HashRequest) GetMessage() []byte { } type HashResponse struct { - Hash string `protobuf:"bytes,1,opt,name=hash" json:"hash,omitempty"` + Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HashResponse) Reset() { *m = HashResponse{} } +func (m *HashResponse) String() string { return proto.CompactTextString(m) } +func (*HashResponse) ProtoMessage() {} +func (*HashResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{18} +} +func (m *HashResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HashResponse.Unmarshal(m, b) +} +func (m *HashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HashResponse.Marshal(b, m, deterministic) +} +func (dst *HashResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_HashResponse.Merge(dst, src) +} +func (m *HashResponse) XXX_Size() int { + return xxx_messageInfo_HashResponse.Size(m) +} +func (m *HashResponse) XXX_DiscardUnknown() { + xxx_messageInfo_HashResponse.DiscardUnknown(m) } -func (m *HashResponse) Reset() { *m = HashResponse{} } -func (m *HashResponse) String() string { return proto.CompactTextString(m) } -func (*HashResponse) ProtoMessage() {} -func (*HashResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} } +var xxx_messageInfo_HashResponse proto.InternalMessageInfo func (m *HashResponse) GetHash() string { if m != nil { @@ -467,14 +882,36 @@ func (m *HashResponse) GetHash() string { } type Key struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` - Keyname string `protobuf:"bytes,2,opt,name=keyname" json:"keyname,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Keyname string `protobuf:"bytes,2,opt,name=keyname,proto3" json:"keyname,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *Key) Reset() { *m = Key{} } -func (m *Key) String() string { return proto.CompactTextString(m) } -func (*Key) ProtoMessage() {} -func (*Key) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} } +func (m *Key) Reset() { *m = Key{} } +func (m *Key) String() string { return proto.CompactTextString(m) } +func (*Key) ProtoMessage() {} +func (*Key) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{19} +} +func (m *Key) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Key.Unmarshal(m, b) +} +func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Key.Marshal(b, m, deterministic) +} +func (dst *Key) XXX_Merge(src proto.Message) { + xxx_messageInfo_Key.Merge(dst, src) +} +func (m *Key) XXX_Size() int { + return xxx_messageInfo_Key.Size(m) +} +func (m *Key) XXX_DiscardUnknown() { + xxx_messageInfo_Key.DiscardUnknown(m) +} + +var xxx_messageInfo_Key proto.InternalMessageInfo func (m *Key) GetAddress() string { if m != nil { @@ -491,13 +928,35 @@ func (m *Key) GetKeyname() string { } type ListResponse struct { - Key []*Key `protobuf:"bytes,1,rep,name=key" json:"key,omitempty"` + Key []*Key `protobuf:"bytes,1,rep,name=key,proto3" json:"key,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *ListResponse) Reset() { *m = ListResponse{} } -func (m *ListResponse) String() string { return proto.CompactTextString(m) } -func (*ListResponse) ProtoMessage() {} -func (*ListResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} } +func (m *ListResponse) Reset() { *m = ListResponse{} } +func (m *ListResponse) String() string { return proto.CompactTextString(m) } +func (*ListResponse) ProtoMessage() {} +func (*ListResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{20} +} +func (m *ListResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListResponse.Unmarshal(m, b) +} +func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListResponse.Marshal(b, m, deterministic) +} +func (dst *ListResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListResponse.Merge(dst, src) +} +func (m *ListResponse) XXX_Size() int { + return xxx_messageInfo_ListResponse.Size(m) +} +func (m *ListResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListResponse proto.InternalMessageInfo func (m *ListResponse) GetKey() []*Key { if m != nil { @@ -507,14 +966,36 @@ func (m *ListResponse) GetKey() []*Key { } type AddNameRequest struct { - Keyname string `protobuf:"bytes,1,opt,name=keyname" json:"keyname,omitempty"` - Address string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"` + Keyname string `protobuf:"bytes,1,opt,name=keyname,proto3" json:"keyname,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *AddNameRequest) Reset() { *m = AddNameRequest{} } -func (m *AddNameRequest) String() string { return proto.CompactTextString(m) } -func (*AddNameRequest) ProtoMessage() {} -func (*AddNameRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} } +func (m *AddNameRequest) Reset() { *m = AddNameRequest{} } +func (m *AddNameRequest) String() string { return proto.CompactTextString(m) } +func (*AddNameRequest) ProtoMessage() {} +func (*AddNameRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{21} +} +func (m *AddNameRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddNameRequest.Unmarshal(m, b) +} +func (m *AddNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddNameRequest.Marshal(b, m, deterministic) +} +func (dst *AddNameRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddNameRequest.Merge(dst, src) +} +func (m *AddNameRequest) XXX_Size() int { + return xxx_messageInfo_AddNameRequest.Size(m) +} +func (m *AddNameRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddNameRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AddNameRequest proto.InternalMessageInfo func (m *AddNameRequest) GetKeyname() string { if m != nil { @@ -531,8 +1012,11 @@ func (m *AddNameRequest) GetAddress() string { } func init() { - proto.RegisterType((*Name)(nil), "pbkeys.Name") - proto.RegisterType((*Empty)(nil), "pbkeys.Empty") + proto.RegisterType((*ListRequest)(nil), "pbkeys.ListRequest") + proto.RegisterType((*VerifyResponse)(nil), "pbkeys.VerifyResponse") + proto.RegisterType((*RemoveNameResponse)(nil), "pbkeys.RemoveNameResponse") + proto.RegisterType((*AddNameResponse)(nil), "pbkeys.AddNameResponse") + proto.RegisterType((*RemoveNameRequest)(nil), "pbkeys.RemoveNameRequest") proto.RegisterType((*GenRequest)(nil), "pbkeys.GenRequest") proto.RegisterType((*GenResponse)(nil), "pbkeys.GenResponse") proto.RegisterType((*PubRequest)(nil), "pbkeys.PubRequest") @@ -560,20 +1044,21 @@ var _ grpc.ClientConn // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 -// Client API for Keys service - +// KeysClient is the client API for Keys service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type KeysClient interface { GenerateKey(ctx context.Context, in *GenRequest, opts ...grpc.CallOption) (*GenResponse, error) PublicKey(ctx context.Context, in *PubRequest, opts ...grpc.CallOption) (*PubResponse, error) Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error) - Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*Empty, error) + Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*VerifyResponse, error) Import(ctx context.Context, in *ImportRequest, opts ...grpc.CallOption) (*ImportResponse, error) ImportJSON(ctx context.Context, in *ImportJSONRequest, opts ...grpc.CallOption) (*ImportResponse, error) Export(ctx context.Context, in *ExportRequest, opts ...grpc.CallOption) (*ExportResponse, error) Hash(ctx context.Context, in *HashRequest, opts ...grpc.CallOption) (*HashResponse, error) - RemoveName(ctx context.Context, in *Name, opts ...grpc.CallOption) (*Empty, error) - List(ctx context.Context, in *Name, opts ...grpc.CallOption) (*ListResponse, error) - AddName(ctx context.Context, in *AddNameRequest, opts ...grpc.CallOption) (*Empty, error) + RemoveName(ctx context.Context, in *RemoveNameRequest, opts ...grpc.CallOption) (*RemoveNameResponse, error) + List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) + AddName(ctx context.Context, in *AddNameRequest, opts ...grpc.CallOption) (*AddNameResponse, error) } type keysClient struct { @@ -586,7 +1071,7 @@ func NewKeysClient(cc *grpc.ClientConn) KeysClient { func (c *keysClient) GenerateKey(ctx context.Context, in *GenRequest, opts ...grpc.CallOption) (*GenResponse, error) { out := new(GenResponse) - err := grpc.Invoke(ctx, "/pbkeys.Keys/GenerateKey", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/pbkeys.Keys/GenerateKey", in, out, opts...) if err != nil { return nil, err } @@ -595,7 +1080,7 @@ func (c *keysClient) GenerateKey(ctx context.Context, in *GenRequest, opts ...gr func (c *keysClient) PublicKey(ctx context.Context, in *PubRequest, opts ...grpc.CallOption) (*PubResponse, error) { out := new(PubResponse) - err := grpc.Invoke(ctx, "/pbkeys.Keys/PublicKey", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/pbkeys.Keys/PublicKey", in, out, opts...) if err != nil { return nil, err } @@ -604,16 +1089,16 @@ func (c *keysClient) PublicKey(ctx context.Context, in *PubRequest, opts ...grpc func (c *keysClient) Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error) { out := new(SignResponse) - err := grpc.Invoke(ctx, "/pbkeys.Keys/Sign", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/pbkeys.Keys/Sign", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *keysClient) Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*Empty, error) { - out := new(Empty) - err := grpc.Invoke(ctx, "/pbkeys.Keys/Verify", in, out, c.cc, opts...) +func (c *keysClient) Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*VerifyResponse, error) { + out := new(VerifyResponse) + err := c.cc.Invoke(ctx, "/pbkeys.Keys/Verify", in, out, opts...) if err != nil { return nil, err } @@ -622,7 +1107,7 @@ func (c *keysClient) Verify(ctx context.Context, in *VerifyRequest, opts ...grpc func (c *keysClient) Import(ctx context.Context, in *ImportRequest, opts ...grpc.CallOption) (*ImportResponse, error) { out := new(ImportResponse) - err := grpc.Invoke(ctx, "/pbkeys.Keys/Import", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/pbkeys.Keys/Import", in, out, opts...) if err != nil { return nil, err } @@ -631,7 +1116,7 @@ func (c *keysClient) Import(ctx context.Context, in *ImportRequest, opts ...grpc func (c *keysClient) ImportJSON(ctx context.Context, in *ImportJSONRequest, opts ...grpc.CallOption) (*ImportResponse, error) { out := new(ImportResponse) - err := grpc.Invoke(ctx, "/pbkeys.Keys/ImportJSON", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/pbkeys.Keys/ImportJSON", in, out, opts...) if err != nil { return nil, err } @@ -640,7 +1125,7 @@ func (c *keysClient) ImportJSON(ctx context.Context, in *ImportJSONRequest, opts func (c *keysClient) Export(ctx context.Context, in *ExportRequest, opts ...grpc.CallOption) (*ExportResponse, error) { out := new(ExportResponse) - err := grpc.Invoke(ctx, "/pbkeys.Keys/Export", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/pbkeys.Keys/Export", in, out, opts...) if err != nil { return nil, err } @@ -649,54 +1134,53 @@ func (c *keysClient) Export(ctx context.Context, in *ExportRequest, opts ...grpc func (c *keysClient) Hash(ctx context.Context, in *HashRequest, opts ...grpc.CallOption) (*HashResponse, error) { out := new(HashResponse) - err := grpc.Invoke(ctx, "/pbkeys.Keys/Hash", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/pbkeys.Keys/Hash", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *keysClient) RemoveName(ctx context.Context, in *Name, opts ...grpc.CallOption) (*Empty, error) { - out := new(Empty) - err := grpc.Invoke(ctx, "/pbkeys.Keys/RemoveName", in, out, c.cc, opts...) +func (c *keysClient) RemoveName(ctx context.Context, in *RemoveNameRequest, opts ...grpc.CallOption) (*RemoveNameResponse, error) { + out := new(RemoveNameResponse) + err := c.cc.Invoke(ctx, "/pbkeys.Keys/RemoveName", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *keysClient) List(ctx context.Context, in *Name, opts ...grpc.CallOption) (*ListResponse, error) { +func (c *keysClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) { out := new(ListResponse) - err := grpc.Invoke(ctx, "/pbkeys.Keys/List", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/pbkeys.Keys/List", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *keysClient) AddName(ctx context.Context, in *AddNameRequest, opts ...grpc.CallOption) (*Empty, error) { - out := new(Empty) - err := grpc.Invoke(ctx, "/pbkeys.Keys/AddName", in, out, c.cc, opts...) +func (c *keysClient) AddName(ctx context.Context, in *AddNameRequest, opts ...grpc.CallOption) (*AddNameResponse, error) { + out := new(AddNameResponse) + err := c.cc.Invoke(ctx, "/pbkeys.Keys/AddName", in, out, opts...) if err != nil { return nil, err } return out, nil } -// Server API for Keys service - +// KeysServer is the server API for Keys service. type KeysServer interface { GenerateKey(context.Context, *GenRequest) (*GenResponse, error) PublicKey(context.Context, *PubRequest) (*PubResponse, error) Sign(context.Context, *SignRequest) (*SignResponse, error) - Verify(context.Context, *VerifyRequest) (*Empty, error) + Verify(context.Context, *VerifyRequest) (*VerifyResponse, error) Import(context.Context, *ImportRequest) (*ImportResponse, error) ImportJSON(context.Context, *ImportJSONRequest) (*ImportResponse, error) Export(context.Context, *ExportRequest) (*ExportResponse, error) Hash(context.Context, *HashRequest) (*HashResponse, error) - RemoveName(context.Context, *Name) (*Empty, error) - List(context.Context, *Name) (*ListResponse, error) - AddName(context.Context, *AddNameRequest) (*Empty, error) + RemoveName(context.Context, *RemoveNameRequest) (*RemoveNameResponse, error) + List(context.Context, *ListRequest) (*ListResponse, error) + AddName(context.Context, *AddNameRequest) (*AddNameResponse, error) } func RegisterKeysServer(s *grpc.Server, srv KeysServer) { @@ -848,7 +1332,7 @@ func _Keys_Hash_Handler(srv interface{}, ctx context.Context, dec func(interface } func _Keys_RemoveName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Name) + in := new(RemoveNameRequest) if err := dec(in); err != nil { return nil, err } @@ -860,13 +1344,13 @@ func _Keys_RemoveName_Handler(srv interface{}, ctx context.Context, dec func(int FullMethod: "/pbkeys.Keys/RemoveName", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KeysServer).RemoveName(ctx, req.(*Name)) + return srv.(KeysServer).RemoveName(ctx, req.(*RemoveNameRequest)) } return interceptor(ctx, in, info, handler) } func _Keys_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Name) + in := new(ListRequest) if err := dec(in); err != nil { return nil, err } @@ -878,7 +1362,7 @@ func _Keys_List_Handler(srv interface{}, ctx context.Context, dec func(interface FullMethod: "/pbkeys.Keys/List", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KeysServer).List(ctx, req.(*Name)) + return srv.(KeysServer).List(ctx, req.(*ListRequest)) } return interceptor(ctx, in, info, handler) } @@ -951,53 +1435,58 @@ var _Keys_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "keys.proto", -} - -func init() { proto.RegisterFile("keys.proto", fileDescriptor0) } - -var fileDescriptor0 = []byte{ - // 661 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x4d, 0x6f, 0xd3, 0x40, - 0x10, 0x55, 0x62, 0x93, 0x36, 0x2f, 0x49, 0x05, 0xcb, 0x87, 0x42, 0x54, 0x50, 0xb5, 0x17, 0x4a, - 0x25, 0x22, 0x5a, 0x10, 0x15, 0x48, 0x08, 0x21, 0xa8, 0x0a, 0x2d, 0x2a, 0x55, 0x2a, 0x71, 0xe3, - 0xe0, 0x34, 0x43, 0x13, 0x85, 0x24, 0xc6, 0x6b, 0x17, 0x7c, 0xe0, 0xca, 0x4f, 0xe3, 0x77, 0xa1, - 0x5d, 0x7b, 0xbd, 0x1f, 0x6a, 0x20, 0x12, 0xb7, 0x9d, 0xd9, 0x99, 0x79, 0x33, 0xb3, 0xc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f2, - 0xcb, 0x0b, 0xaa, 0xca, 0x3a, 0xdc, 0x7b, 0x8c, 0xb5, 0x92, 0x5c, 0xac, 0x6a, 0xd6, 0x65, 0x9b, - 0x57, 0x7d, 0xd8, 0x50, 0x7f, 0xef, 0x27, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x64, 0xd5, 0x2f, - 0xa7, 0xcb, 0x07, 0x00, 0x00, + Metadata: "github.com/hyperledger/burrow/keys/pbkeys/keys.proto", +} + +func init() { + proto.RegisterFile("github.com/hyperledger/burrow/keys/pbkeys/keys.proto", fileDescriptor_keys_ff2cb7ec9ea3671c) +} + +var fileDescriptor_keys_ff2cb7ec9ea3671c = []byte{ + // 716 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xd1, 0x6f, 0xd3, 0x3c, + 0x10, 0x57, 0x9b, 0xa8, 0x5b, 0x2f, 0x6d, 0xbf, 0xcd, 0xdf, 0xbe, 0x8f, 0x12, 0x0d, 0x84, 0xfc, + 0xc2, 0x84, 0xb4, 0x56, 0x1b, 0x13, 0x13, 0x93, 0x10, 0x42, 0x03, 0x0d, 0x36, 0x34, 0xa6, 0x4e, + 0xe2, 0x8d, 0x87, 0x64, 0x3d, 0xda, 0xa8, 0x6b, 0x13, 0xec, 0x64, 0x23, 0x0f, 0xbc, 0xf2, 0x47, + 0xf3, 0x84, 0x62, 0xc7, 0xb1, 0x9d, 0x6d, 0xac, 0x12, 0x2f, 0xad, 0x7d, 0xbe, 0xbb, 0xdf, 0xdd, + 0xf9, 0xd7, 0x9f, 0x0b, 0x7b, 0x93, 0x28, 0x9d, 0x66, 0xe1, 0xe0, 0x22, 0x9e, 0x0f, 0xa7, 0x79, + 0x82, 0xec, 0x12, 0xc7, 0x13, 0x64, 0xc3, 0x30, 0x63, 0x2c, 0xbe, 0x1e, 0xce, 0x30, 0xe7, 0xc3, + 0x24, 0x14, 0x5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