Documentation
¶
Index ¶
- type DB
- func (p *DB) AssignTask(projectID uint64, taskID common.Hash, prover common.Address) error
- func (p *DB) CreateTask(projectID uint64, taskID common.Hash) error
- func (p *DB) DeleteTask(projectID uint64, taskID, tx common.Hash) error
- func (p *DB) Provers() ([]common.Address, error)
- func (p *DB) ScannedBlockNumber() (uint64, error)
- func (p *DB) UnassignedTask() (uint64, common.Hash, error)
- func (p *DB) UpsertProver(addr common.Address) error
- func (p *DB) UpsertScannedBlockNumber(number uint64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) AssignTask ¶
func (*DB) ScannedBlockNumber ¶
func (*DB) UpsertScannedBlockNumber ¶
Click to show internal directories.
Click to hide internal directories.