Commit 76bd2751 authored by vicotor's avatar vicotor

add new message

parent 4dfca04c
......@@ -210,7 +210,6 @@ func (*TaskContent) XXX_MessageName() string {
}
// CREATE TABLE 'bills' (
//
// id UUID,
// time TIMESTAMP,
// type symbol CAPACITY 128 CACHE INDEX CAPACITY 8192,
......@@ -222,7 +221,6 @@ func (*TaskContent) XXX_MessageName() string {
// profit_acc symbol CAPACITY 128 CACHE INDEX CAPACITY 8192,
// worker_acc symbol CAPACITY 128 CACHE INDEX CAPACITY 8192,
// result symbol CAPACITY 128 CACHE INDEX CAPACITY 8192
//
// ) timestamp (time) PARTITION BY DAY WAL;
type TaskReceipt struct {
TaskUuid string `protobuf:"bytes,1,opt,name=task_uuid,json=taskUuid,proto3" json:"task_uuid,omitempty"`
......
......@@ -89,6 +89,10 @@ message SubmitTaskResult {
bool is_successed = 5; // 任务是否成功
}
message SubmitResourceMap {
bytes resource_map = 1; // a bitmap of all task id.
}
message ProofTaskResult {
string task_uuid = 1;
uint64 workload = 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