seqtypes

package
v1.20.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: MIT Imports: 4 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrGeneric                = &jsonrpc.Error{Code: -38500, Message: "sequencer error"}
	ErrUnknownKind            = &jsonrpc.Error{Code: -38501, Message: "unknown kind"}
	ErrUnknownBuilder         = &jsonrpc.Error{Code: -38502, Message: "unknown builder"}
	ErrNotImplemented         = &jsonrpc.Error{Code: -38503, Message: "not implemented"}
	ErrUnknownJob             = &jsonrpc.Error{Code: -38510, Message: "unknown job"}
	ErrConflictingJob         = &jsonrpc.Error{Code: -38511, Message: "conflicting job"}
	ErrNotSealed              = &jsonrpc.Error{Code: -38520, Message: "block not yet sealed"}
	ErrAlreadySealed          = &jsonrpc.Error{Code: -38521, Message: "block already sealed"}
	ErrUnsigned               = &jsonrpc.Error{Code: -38530, Message: "block not yet signed"}
	ErrAlreadySigned          = &jsonrpc.Error{Code: -38531, Message: "block already signed"}
	ErrUncommitted            = &jsonrpc.Error{Code: -38540, Message: "block not yet committed"}
	ErrAlreadyCommitted       = &jsonrpc.Error{Code: -38541, Message: "block already committed"}
	ErrSequencerInactive      = &jsonrpc.Error{Code: -38550, Message: "sequencer inactive"}
	ErrSequencerAlreadyActive = &jsonrpc.Error{Code: -38551, Message: "sequencer already active"}
	ErrBackendInactive        = &jsonrpc.Error{Code: -38560, Message: "backend inactive"}
	ErrBackendAlreadyStarted  = &jsonrpc.Error{Code: -38561, Message: "backend already started"}
)
View Source
var ErrInvalidID = errors.New("invalid ID")

Functions

This section is empty.

Types

type BuildJobID

type BuildJobID genericID

BuildJobID identifies a block-building job. Multiple alternative blocks may be built in parallel.

func RandomJobID

func RandomJobID() BuildJobID

func (BuildJobID) MarshalText

func (id BuildJobID) MarshalText() ([]byte, error)

func (BuildJobID) String

func (id BuildJobID) String() string

func (*BuildJobID) UnmarshalText

func (id *BuildJobID) UnmarshalText(data []byte) error

type BuildOpts

type BuildOpts struct {
	// Parent block to build on top of
	Parent common.Hash `json:"parent"`

	// L1Origin overrides the L1 origin of the block.
	// Optional, by default the L1 origin of the parent block
	// is progressed when first allowed (respecting time invariants).
	L1Origin *common.Hash `json:"l1Origin,omitempty"`
}

type BuilderID

type BuilderID genericID

func (BuilderID) MarshalText

func (id BuilderID) MarshalText() ([]byte, error)

func (BuilderID) String

func (id BuilderID) String() string

func (*BuilderID) UnmarshalText

func (id *BuilderID) UnmarshalText(data []byte) error

type CommitterID

type CommitterID genericID

func (CommitterID) MarshalText

func (id CommitterID) MarshalText() ([]byte, error)

func (CommitterID) String

func (id CommitterID) String() string

func (*CommitterID) UnmarshalText

func (id *CommitterID) UnmarshalText(data []byte) error

type PublisherID

type PublisherID genericID

func (PublisherID) MarshalText

func (id PublisherID) MarshalText() ([]byte, error)

func (PublisherID) String

func (id PublisherID) String() string

func (*PublisherID) UnmarshalText

func (id *PublisherID) UnmarshalText(data []byte) error

type SequencerID

type SequencerID genericID

func (SequencerID) MarshalText

func (id SequencerID) MarshalText() ([]byte, error)

func (SequencerID) String

func (id SequencerID) String() string

func (*SequencerID) UnmarshalText

func (id *SequencerID) UnmarshalText(data []byte) error

type SignerID

type SignerID genericID

func (SignerID) MarshalText

func (id SignerID) MarshalText() ([]byte, error)

func (SignerID) String

func (id SignerID) String() string

func (*SignerID) UnmarshalText

func (id *SignerID) UnmarshalText(data []byte) error

Jump to

Keyboard shortcuts

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