Commit ceb64402 authored by vicotor's avatar vicotor

add standard task

parent 3833d2e6
......@@ -14,6 +14,7 @@ message WorkerMessage {
DeviceUsageResponse device_usage = 5;
GoodbyeMessage goodbye_message = 6;
SubmitResourceMap resource_map = 7;
FetchStandardTask fetch_standard_task = 8;
}
}
......@@ -105,6 +106,10 @@ message ProofTaskResult {
bytes container_pubkey = 4;
}
message FetchStandardTask {
uint64 task_type = 1; // fetch a standard task with special task_type.
}
message DispatchTaskRequest {
base.v1.TaskContent task_data = 1;
string miner = 2;
......
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