Commit 2b8a15ef authored by vicotor's avatar vicotor

update protocol

parent a7c1027a
...@@ -35,7 +35,6 @@ message TaskContent { ...@@ -35,7 +35,6 @@ message TaskContent {
int64 task_workload = 10; int64 task_workload = 10;
bytes container_pubkey = 11; bytes container_pubkey = 11;
int32 task_in_len =12; int32 task_in_len =12;
} }
message TaskReceipt { message TaskReceipt {
......
...@@ -24,7 +24,6 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package ...@@ -24,7 +24,6 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
type WorkerMessage struct { type WorkerMessage struct {
// Types that are valid to be assigned to Message: // Types that are valid to be assigned to Message:
//
// *WorkerMessage_HeartbeatResponse // *WorkerMessage_HeartbeatResponse
// *WorkerMessage_SubmitTaskResult // *WorkerMessage_SubmitTaskResult
// *WorkerMessage_Status // *WorkerMessage_Status
...@@ -206,7 +205,6 @@ func (*WorkerMessage) XXX_OneofWrappers() []interface{} { ...@@ -206,7 +205,6 @@ func (*WorkerMessage) XXX_OneofWrappers() []interface{} {
type ManagerMessage struct { type ManagerMessage struct {
// Types that are valid to be assigned to Message: // Types that are valid to be assigned to Message:
//
// *ManagerMessage_HeartbeatRequest // *ManagerMessage_HeartbeatRequest
// *ManagerMessage_PushTaskMessage // *ManagerMessage_PushTaskMessage
// *ManagerMessage_ProofTaskResult // *ManagerMessage_ProofTaskResult
...@@ -638,6 +636,7 @@ func (m *DeviceInfoMessage) GetDeviceSignature() []byte { ...@@ -638,6 +636,7 @@ func (m *DeviceInfoMessage) GetDeviceSignature() []byte {
type RegisteMessage struct { type RegisteMessage struct {
DeviceIp string `protobuf:"bytes,1,opt,name=device_ip,json=deviceIp,proto3" json:"device_ip,omitempty"` DeviceIp string `protobuf:"bytes,1,opt,name=device_ip,json=deviceIp,proto3" json:"device_ip,omitempty"`
MinerPubkey string `protobuf:"bytes,2,opt,name=miner_pubkey,json=minerPubkey,proto3" json:"miner_pubkey,omitempty"` MinerPubkey string `protobuf:"bytes,2,opt,name=miner_pubkey,json=minerPubkey,proto3" json:"miner_pubkey,omitempty"`
BenefitAddress string `protobuf:"bytes,3,opt,name=benefit_address,json=benefitAddress,proto3" json:"benefit_address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
...@@ -681,6 +680,13 @@ func (m *RegisteMessage) GetMinerPubkey() string { ...@@ -681,6 +680,13 @@ func (m *RegisteMessage) GetMinerPubkey() string {
return "" return ""
} }
func (m *RegisteMessage) GetBenefitAddress() string {
if m != nil {
return m.BenefitAddress
}
return ""
}
type NodeInfoRequest struct { type NodeInfoRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
...@@ -1359,88 +1365,89 @@ func init() { ...@@ -1359,88 +1365,89 @@ func init() {
} }
var fileDescriptor_810ae261dc8e2975 = []byte{ var fileDescriptor_810ae261dc8e2975 = []byte{
// 1324 bytes of a gzipped FileDescriptorProto // 1332 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x4d, 0x6f, 0x1b, 0x45, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xcb, 0x72, 0x1b, 0x45,
0x18, 0xae, 0xed, 0x7c, 0xd8, 0x6f, 0x12, 0x7f, 0x8c, 0x43, 0x31, 0x29, 0xa5, 0xe9, 0x56, 0x88, 0x17, 0x8e, 0x24, 0x5f, 0xa4, 0x63, 0x5b, 0x97, 0x96, 0xff, 0xfc, 0xc2, 0x21, 0xc4, 0x99, 0x14,
0x54, 0x80, 0x5d, 0x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0x22, 0x0e, 0x00, 0x00,
} }
...@@ -65,6 +65,7 @@ message DeviceInfoMessage { ...@@ -65,6 +65,7 @@ message DeviceInfoMessage {
message RegisteMessage { message RegisteMessage {
string device_ip = 1; string device_ip = 1;
string miner_pubkey = 2; string miner_pubkey = 2;
string benefit_address = 3;
} }
message NodeInfoRequest { message NodeInfoRequest {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment