validator

package
v0.0.0-...-5cda5f8 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterService

func RegisterService(eth services.Backend, proofBackend proof.Backend, cfg *services.Config, auth *bind.TransactOpts)

Types

type ChallengeCtx

type ChallengeCtx struct {
	OpponentAssertion *rollupTypes.Assertion
	OurAssertion      *rollupTypes.Assertion
}

type Validator

type Validator struct {
	*services.BaseService
	// contains filtered or unexported fields
}

func New

func New(eth services.Backend, proofBackend proof.Backend, cfg *services.Config, auth *bind.TransactOpts) (*Validator, error)

func (*Validator) APIs

func (v *Validator) APIs() []rpc.API

func (*Validator) Start

func (v *Validator) Start() error

func (*Validator) Stop

func (v *Validator) Stop() error

Jump to

Keyboard shortcuts

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