cpuaward

package
v0.0.0-...-34ee9b9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2021 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CPUScore

func CPUScore() (score int, err error)

CPUScore returns the score of current device's CPU

Types

type Service

type Service interface {
	Compute()
}

Service is the main interface for interacting with the nodes chequebook.

func NewCPUAward

func NewCPUAward(transactionService transaction.Service, ownerAddress common.Address) (Service, error)

New creates a new chequebook service for the provided chequebook contract.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL