Commit e2d869ab authored by vicotor's avatar vicotor

update protocol

parent b5d4d6fb
...@@ -66,9 +66,10 @@ message TaskReceipt { ...@@ -66,9 +66,10 @@ message TaskReceipt {
message TaskResponse { message TaskResponse {
string task_uuid = 1; string task_uuid = 1;
bytes task_result = 2; bytes task_result_header = 2;
string task_uid = 3; bytes task_result_body = 3;
string task_fee = 4; string task_uid = 4;
bool task_is_succeed = 5; string task_fee = 5;
string task_error = 6; bool task_is_succeed = 6;
string task_error = 7;
} }
\ No newline at end of file
This diff is collapsed.
...@@ -86,8 +86,9 @@ message SubmitTaskResult { ...@@ -86,8 +86,9 @@ message SubmitTaskResult {
string task_uuid = 1; string task_uuid = 1;
bytes container_signature = 2; // 容器签名 bytes container_signature = 2; // 容器签名
bytes miner_signature = 3; // worker 签名 bytes miner_signature = 3; // worker 签名
bytes task_result = 4; // 任务结果 bytes task_result_header = 4; // result headyer
bool is_successed = 5; // 任务是否成功 bytes task_result_body = 5; // result body.
bool is_successed = 6; // 任务是否成功
} }
message SubmitResourceMap { message SubmitResourceMap {
......
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