Commit 5cd44dc2 authored by vicotor's avatar vicotor

update protocol

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