Commit 29c42df6 authored by vicotor's avatar vicotor

update protocol

parent 7dbfaf03
...@@ -62,6 +62,7 @@ message TaskReceipt { ...@@ -62,6 +62,7 @@ message TaskReceipt {
string task_profit_account = 9; string task_profit_account = 9;
string task_worker_account = 10; string task_worker_account = 10;
string task_result = 11; // some message for task result, ex: failed, success, timeout, etc. string task_result = 11; // some message for task result, ex: failed, success, timeout, etc.
uint64 task_execute_duration = 12; // 任务实际执行时间, us 为单位
} }
message TaskResponse { message TaskResponse {
...@@ -72,5 +73,4 @@ message TaskResponse { ...@@ -72,5 +73,4 @@ message TaskResponse {
string task_fee = 5; string task_fee = 5;
bool task_is_succeed = 6; bool task_is_succeed = 6;
string task_error = 7; string task_error = 7;
uint64 task_execute_duration = 8; // 任务实际执行时间, us 为单位
} }
\ No newline at end of file
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