Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Task ¶ added in v0.4.1
type Task struct { ID uint64 `json:"id"` ProjectID uint64 `json:"projectID"` ProjectVersion string `json:"projectVersion"` Data [][]byte `json:"data"` ClientID string `json:"clientID"` Signature string `json:"signature"` }
func (*Task) VerifySignature ¶ added in v0.9.0
type TaskStateLog ¶ added in v0.4.1
type TaskStateLog struct { TaskID uint64 ProjectID uint64 State TaskState Comment string Result []byte Signature string ProverID uint64 CreatedAt time.Time }
func (*TaskStateLog) SignerAddress ¶ added in v0.10.1
func (l *TaskStateLog) SignerAddress(task *Task) (common.Address, error)
Click to show internal directories.
Click to hide internal directories.