vrf

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Gas to be used
	GasAfterPaymentCalculation = 5000 +
		2100 +
		20000 +
		2*2100 -
		4800 +
		21000 +
		8890 // Static costs of argument encoding etc. note that it varies by +/- x*12 for every x bytes of non-zero data in the proof.
)

Variables

View Source
var (
	ErrKeyNotSet = errors.New("key not set")
)

Functions

func GetStartingResponseCountsV2 added in v1.0.0

func GetStartingResponseCountsV2(db *gorm.DB, l *logger.Logger) map[string]uint64

func ValidatedVRFSpec added in v0.10.8

func ValidatedVRFSpec(tomlString string) (job.Job, error)

Types

type Config added in v0.10.8

type Config interface {
	MinIncomingConfirmations() uint32
	EvmGasLimitDefault() uint64
}

type Delegate added in v0.10.8

type Delegate struct {
	// contains filtered or unexported fields
}

func NewDelegate added in v0.10.8

func (*Delegate) AfterJobCreated added in v0.10.11

func (d *Delegate) AfterJobCreated(spec job.Job)

func (*Delegate) BeforeJobDeleted added in v0.10.11

func (d *Delegate) BeforeJobDeleted(spec job.Job)

func (*Delegate) JobType added in v0.10.8

func (d *Delegate) JobType() job.Type

func (*Delegate) ServicesForSpec added in v0.10.8

func (d *Delegate) ServicesForSpec(jb job.Job) ([]job.Service, error)

type GethKeyStore added in v0.10.8

type GethKeyStore interface {
	GetRoundRobinAddress(addresses ...common.Address) (common.Address, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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