Documentation
¶
Index ¶
- type DB
- func (p *DB) CreateTask(projectID uint64, taskID common.Hash, prover common.Address) error
- func (p *DB) DeleteTask(projectID uint64, taskID common.Hash) error
- func (p *DB) ProcessTask(projectID uint64, taskID common.Hash) error
- func (p *DB) Project(projectID uint64) (string, common.Hash, error)
- func (p *DB) ProjectFile(projectID uint64) ([]byte, common.Hash, error)
- func (p *DB) ScannedBlockNumber() (uint64, error)
- func (p *DB) UnprocessedTask() (uint64, common.Hash, error)
- func (p *DB) UpsertProject(projectID uint64, uri string, hash common.Hash) error
- func (p *DB) UpsertProjectFile(projectID uint64, file []byte, hash common.Hash) 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) CreateTask ¶
func (*DB) ScannedBlockNumber ¶
func (*DB) UpsertProject ¶
func (*DB) UpsertProjectFile ¶
func (*DB) UpsertScannedBlockNumber ¶
Click to show internal directories.
Click to hide internal directories.