Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Task ¶
type Task struct {
ID common.Hash `json:"id"`
Nonce uint64 `json:"nonce"`
ProjectID *big.Int `json:"projectID"`
ProjectVersion string `json:"projectVersion,omitempty"`
DevicePubKey []byte `json:"devicePublicKey"`
Payload []byte `json:"payload"`
Signature []byte `json:"signature,omitempty"`
PayloadHash common.Hash `json:"payloadHash,omitempty"`
TaskHash common.Hash `json:"taskHash,omitempty"`
PrevTask *Task `json:"previousTask,omitempty"`
}
func (*Task) VerifySignature ¶
Click to show internal directories.
Click to hide internal directories.