silkworm

package
v1.9.7-0...-33c98f5 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: LGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInterrupted = silkworm_go.ErrInterrupted
View Source
var NewFilePath = silkworm_go.NewFilePath

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 BlocksSnapshotBundle

type BlocksSnapshotBundle = silkworm_go.BlocksSnapshotBundle

type BodiesSnapshot

type BodiesSnapshot = silkworm_go.BodiesSnapshot

type DomainSnapshot

type DomainSnapshot = silkworm_go.DomainSnapshot

type HeadersSnapshot

type HeadersSnapshot = silkworm_go.HeadersSnapshot

type HistorySnapshot

type HistorySnapshot = silkworm_go.HistorySnapshot

type InvertedIndexSnapshot

type InvertedIndexSnapshot = silkworm_go.InvertedIndexSnapshot

type MemoryMappedFile

type MemoryMappedFile interface {
	FilePath() string
	DataHandle() unsafe.Pointer
	Size() int64
}

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

type SnapshotsRepository

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

func NewSnapshotsRepository

func NewSnapshotsRepository(
	silkworm *Silkworm,
	blockSnapshots *freezeblocks.RoSnapshots,
	stateSnapshots *state.Aggregator,
	logger log.Logger,
) *SnapshotsRepository

func (*SnapshotsRepository) Update

func (r *SnapshotsRepository) Update() error

type StateSnapshotBundleLatest

type StateSnapshotBundleLatest = silkworm_go.StateSnapshotBundleLatest

type TransactionsSnapshot

type TransactionsSnapshot = silkworm_go.TransactionsSnapshot

Jump to

Keyboard shortcuts

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