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 = "queryLoopRetry.initialDelay" RetryMaxDelay = "queryLoopRetry.maxDelay" RetryFactor = "queryLoopRetry.factor" DeprecatedRetryInitDelay = "retry.initialDelay" DeprecatedRetryMaxDelay = "retry.maxDelay" DeprecatedRetryFactor = "retry.factor" RetryEnabled = "retry.enabled" MaxConcurrentRequests = "maxConcurrentRequests" TxCacheSize = "txCacheSize" HederaCompatibilityMode = "hederaCompatibilityMode" TraceTXForRevertReason = "traceTXForRevertReason" WebSocketsEnabled = "ws.enabled" MaxAsyncBlockFetchConcurrency = "maxAsyncBlockFetchConcurrency" UseGetBlockReceipts = "useGetBlockReceipts" )
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 ProtocolIDForReceipt ¶ added in v1.1.11
Types ¶
type Connector ¶ added in v1.4.1
type Connector interface {
ffcapi.API
// RPC returns the http JSON/RPC client
RPC() rpcbackend.RPC
// WSRPC returns the websocket JSON/RPC client
// NOTE: websocket client will be nil if websockets are not enabled
WSRPC() rpcbackend.WebSocketRPCClient
// Get the high level block listener functionality, which provides a view of the head of the chain
BlockListener() ethblocklistener.BlockListener
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.