silkworm

package
v1.9.7-0...-ba03429 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInterrupted = silkworm_go.ErrInterrupted
View Source
var NewMappedBodySnapshot = silkworm_go.NewMappedBodySnapshot
View Source
var NewMappedHeaderSnapshot = silkworm_go.NewMappedHeaderSnapshot
View Source
var NewMappedTxnSnapshot = silkworm_go.NewMappedTxnSnapshot
View Source
var NewMemoryMappedRegion = silkworm_go.NewMemoryMappedRegion

Functions

func ExecuteBlocksEphemeral

func ExecuteBlocksEphemeral(s *Silkworm, txn kv.Tx, chainID *big.Int, startBlock uint64, maxBlock uint64, batchSize uint64, writeChangeSets, writeReceipts, writeCallTraces bool) (uint64, error)

func ExecuteBlocksPerpetual

func ExecuteBlocksPerpetual(s *Silkworm, db kv.RwDB, chainID *big.Int, startBlock uint64, maxBlock uint64, batchSize uint64, writeChangeSets, writeReceipts, writeCallTraces bool) (uint64, error)

Types

type CanAddSnapshotsToSilkwarm

type CanAddSnapshotsToSilkwarm interface {
	AddSnapshotsToSilkworm(*Silkworm) error
}

type MappedBodySnapshot

type MappedBodySnapshot = silkworm_go.MappedBodySnapshot

type MappedChainSnapshot

type MappedChainSnapshot = silkworm_go.MappedChainSnapshot

type MappedHeaderSnapshot

type MappedHeaderSnapshot = silkworm_go.MappedHeaderSnapshot

type MappedTxnSnapshot

type MappedTxnSnapshot = silkworm_go.MappedTxnSnapshot

type RpcDaemonService

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

func NewRpcDaemonService

func NewRpcDaemonService(s *Silkworm, db kv.RoDB, settings RpcDaemonSettings) RpcDaemonService

func (RpcDaemonService) Start

func (service RpcDaemonService) Start() error

func (RpcDaemonService) Stop

func (service RpcDaemonService) Stop() error

type RpcDaemonSettings

type RpcDaemonSettings = silkworm_go.RpcDaemonSettings

type RpcInterfaceLogSettings

type RpcInterfaceLogSettings = silkworm_go.RpcInterfaceLogSettings

type SentryService

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

func NewSentryService

func NewSentryService(s *Silkworm, settings SentrySettings) SentryService

func (SentryService) Start

func (service SentryService) Start() error

func (SentryService) Stop

func (service SentryService) Stop() error

type SentrySettings

type SentrySettings = silkworm_go.SentrySettings

type Silkworm

type Silkworm = silkworm_go.Silkworm

func New

func New(dataDirPath string, libMdbxVersion string, numIOContexts uint32, logLevel log.Lvl) (*Silkworm, error)

type SilkwormLogLevel

type SilkwormLogLevel = silkworm_go.SilkwormLogLevel

Jump to

Keyboard shortcuts

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