tezos

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 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"
	EventsCheckpointBlockGap    = "events.checkpointBlockGap"
	EventsBlockTimestamps       = "events.blockTimestamps"
	EventsFilterPollingInterval = "events.filterPollingInterval"
	RetryInitDelay              = "retry.initialDelay"
	RetryMaxDelay               = "retry.maxDelay"
	RetryFactor                 = "retry.factor"
	TxCacheSize                 = "txCacheSize"
	BlockchainRPC               = "blockchain.rpc"
	BlockchainNetwork           = "blockchain.network"
	BlockchainSignatory         = "blockchain.signatory"
)
View Source
const (
	DefaultListenerPort        = 5102
	DefaultGasEstimationFactor = 1.5

	DefaultCatchupPageSize          = 500
	DefaultEventsCatchupThreshold   = 500
	DefaultEventsCheckpointBlockGap = 50

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

Variables

This section is empty.

Functions

func ErrorStatus

func ErrorStatus(err error) int

func InitConfig

func InitConfig(conf config.Section)

func NewTezosConnector

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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