ethereum

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigGasEstimationFactor   = "gasEstimationFactor"
	ConfigDataFormat            = "dataFormat"
	BlockPollingInterval        = "blockPollingInterval"
	BlockCacheSize              = "blockCacheSize"
	EventsCatchupPageSize       = "events.catchupPageSize"
	EventsCatchupThreshold      = "events.catchupThreshold"
	EventsCatchupDownscaleRegex = "events.catchupDownscaleRegex"
	EventsCheckpointBlockGap    = "events.checkpointBlockGap"
	EventsBlockTimestamps       = "events.blockTimestamps"
	EventsFilterPollingInterval = "events.filterPollingInterval"
	RetryInitDelay              = "retry.initialDelay"
	RetryMaxDelay               = "retry.maxDelay"
	RetryFactor                 = "retry.factor"
	MaxConcurrentRequests       = "maxConcurrentRequests"
	TxCacheSize                 = "txCacheSize"
	TraceTXForRevertReason      = "traceTXForRevertReason"
)
View Source
const (
	DefaultListenerPort        = 5102
	DefaultGasEstimationFactor = 1.5

	DefaultCatchupPageSize             = 500
	DefaultEventsCatchupThreshold      = 500
	DefaultEventsCatchupDownscaleRegex = "Response size is larger than.*limit"
	DefaultEventsCheckpointBlockGap    = 50

	DefaultRetryInitDelay   = "100ms"
	DefaultRetryMaxDelay    = "30s"
	DefaultRetryDelayFactor = 2.0
)

Variables

This section is empty.

Functions

func InitConfig

func InitConfig(conf config.Section)

func NewEthereumConnector

func NewEthereumConnector(ctx context.Context, conf config.Section) (cc ffcapi.API, err error)

func ProtocolIDForReceipt added in v1.1.11

func ProtocolIDForReceipt(blockNumber, transactionIndex *fftypes.FFBigInt) string

Types

type StructLog added in v1.2.10

type StructLog struct {
	PC      *fftypes.FFBigInt `json:"pc"`
	Op      *string           `json:"op"`
	Gas     *fftypes.FFBigInt `json:"gas"`
	GasCost *fftypes.FFBigInt `json:"gasCost"`
	Depth   *fftypes.FFBigInt `json:"depth"`
	Stack   []*string         `json:"stack"`
	Memory  []*string         `json:"memory"`
	Reason  *string           `json:"reason"`
}

Jump to

Keyboard shortcuts

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