Commit 719f957f authored by vicotor's avatar vicotor

update proto

parent 58538ec8
...@@ -35,6 +35,7 @@ message TaskContent { ...@@ -35,6 +35,7 @@ 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 {
...@@ -74,4 +75,5 @@ message TaskResponse { ...@@ -74,4 +75,5 @@ 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;
int32 task_result_code = 8;
} }
\ No newline at end of file
This diff is collapsed.
...@@ -106,6 +106,7 @@ message SubmitTaskResult { ...@@ -106,6 +106,7 @@ message SubmitTaskResult {
bytes task_result_body = 5; // result body. bytes task_result_body = 5; // result body.
bool is_successed = 6; // 任务是否成功 bool is_successed = 6; // 任务是否成功
uint64 task_execute_duration = 7; // 任务实际执行时间, us 为单位 uint64 task_execute_duration = 7; // 任务实际执行时间, us 为单位
int32 task_result_code = 8;
} }
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