sequencer

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: 16 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 {
	ChallengeAddr common.Address
	Assertion     *rollupTypes.Assertion
	Parent        *rollupTypes.Assertion
}

type Sequencer

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

Sequencer run confirming loop and respond challenge, assumes no Berlin+London fork on L2

func New

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

func (*Sequencer) APIs

func (s *Sequencer) APIs() []rpc.API

func (*Sequencer) Protocols

func (s *Sequencer) Protocols() []p2p.Protocol

func (*Sequencer) Start

func (s *Sequencer) Start() error

func (*Sequencer) Stop

func (s *Sequencer) Stop() error

Jump to

Keyboard shortcuts

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