rollup

package module
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: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterFraudProofService

func RegisterFraudProofService(stack *node.Node, cfg *services.Config)

RegisterFraudProofService registers rollup service configured by ctx Either a sequncer service or a validator service will be registered

Types

type FraudProover

type FraudProover interface {
	Start() error

	Stop() error

	CreateAssertionWithStateBatch([][32]byte, *big.Int, []byte, interface{}) error

	CreateAssertion(interface{}) error

	GetLatestAssertion() (interface{}, error)

	InChallenge() bool

	RespondChallenge() error

	GenerateState() (interface{}, error)
}

Directories

Path Synopsis
rollup

Jump to

Keyboard shortcuts

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