Commit aab8d347 authored by vicotor's avatar vicotor

add task proof

parent e00fea14
...@@ -52,6 +52,20 @@ message TaskReceipt { ...@@ -52,6 +52,20 @@ message TaskReceipt {
uint64 task_execute_duration = 12; // 任务实际执行时间, us 为单位 uint64 task_execute_duration = 12; // 任务实际执行时间, us 为单位
} }
message TaskProof {
string task_id = 1;
uint64 task_finish_timestamp = 2;
uint64 task_type = 3;
uint64 task_workload = 4;
bytes task_req_hash = 5;
bytes task_resp_hash = 6;
bytes task_manager_signature = 7;
bytes task_container_signature = 8;
bytes task_miner_signature = 9;
string task_profit_account = 10;
string task_worker_account = 11;
}
message TaskResponse { message TaskResponse {
string task_id = 1; string task_id = 1;
bytes task_result_header = 2; bytes task_result_header = 2;
......
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