Commit 5cd44dc2 authored by vicotor's avatar vicotor

update protocol

parent 4711d31a
...@@ -22,17 +22,18 @@ enum BillingMethod { ...@@ -22,17 +22,18 @@ enum BillingMethod {
} }
message TaskContent { message TaskContent {
string task_id = 1; string task_uuid = 1;
TaskType task_type = 2; TaskType task_type = 2;
string task_cmd =3; uint64 task_id = 3;
bytes task_param = 4; string task_cmd =4;
uint64 task_timestamp = 5; bytes task_param = 5;
string task_callback = 6; uint64 task_timestamp = 6;
string task_uid = 7; string task_callback = 7;
string task_fee = 8; string task_uid = 8;
string task_fee = 9;
// todo: add workload and container publickey // todo: add workload and container publickey
int64 task_workload = 9; int64 task_workload = 10;
bytes container_pubkey = 10; bytes container_pubkey = 11;
} }
message TaskResponse { message TaskResponse {
......
This diff is collapsed.
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