Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConfigEthereumURL = ffc("config.connector.url", "URL of JSON/RPC endpoint for the Ethereum node/gateway", "string") ConfigEthereumWSEnabled = ffc("config.connector.ws.enabled", "When true a WebSocket is established for block listening, in addition to the HTTP RPC connections used for other functions", i18n.BooleanType) ConfigEthereumDataFormat = ffc("config.connector.dataFormat", "Configure the JSON data format for query output and events", "map,flat_array,self_describing") ConfigEthereumGasEstimationFactor = ffc("config.connector.gasEstimationFactor", "The factor to apply to the gas estimation to determine the gas limit", "float") ConfigBlockCacheSize = ffc("config.connector.blockCacheSize", "Maximum of blocks to hold in the block info cache", i18n.IntType) ConfigBlockPollingInterval = ffc("config.connector.blockPollingInterval", "Interval for polling to check for new blocks", i18n.TimeDurationType) ConfigEventsBlockTimestamps = ffc("config.connector.events.blockTimestamps", "Whether to include the block timestamps in the event information", i18n.BooleanType) ConfigEventsCatchupPageSize = ffc("config.connector.events.catchupPageSize", "Number of blocks to query per poll when catching up to the head of the blockchain", i18n.IntType) ConfigEventsCatchupThreshold = ffc("config.connector.events.catchupThreshold", "How many blocks behind the chain head an event stream or listener must be on startup, to enter catchup mode", i18n.IntType) ConfigEventsCatchupDownscaleRegex = ffc("config.connector.events.catchupDownscaleRegex", "An error pattern to check for from JSON/RPC providers if they limit response sizes to eth_getLogs(). If an error is returned from eth_getLogs() and that error matches the configured pattern, the number of logs requested (catchupPageSize) will be reduced automatically.", "string") ConfigEventsCheckpointBlockGap = ffc("config.connector.events.checkpointBlockGap", "The number of blocks at the head of the chain that should be considered unstable (could be dropped from the canonical chain after a re-org). Unless events with a full set of confirmations are detected, the restart checkpoint will this many blocks behind the chain head.", i18n.IntType) ConfigEventsFilterPollingInterval = ffc("config.connector.events.filterPollingInterval", "The interval between polling calls to a filter, when checking for newly arrived events", i18n.TimeDurationType) ConfigTxCacheSize = ffc("config.connector.txCacheSize", "Maximum of transactions to hold in the transaction info cache", i18n.IntType) ConfigMaxConcurrentRequests = ffc("config.connector.maxConcurrentRequests", "Maximum of concurrent requests to be submitted to the blockchain", i18n.IntType) ConfigHederaCompatibilityMode = ffc("config.connector.hederaCompatibilityMode", "Compatibility mode for Hedera, allowing non-standard block header hashes to be processed", i18n.BooleanType) ConfigTraceTXForRevertReason = ffc("config.connector.traceTXForRevertReason", "Enable the use of transaction trace functions (e.g. debug_traceTransaction) to obtain transaction revert reasons. This can place a high load on the EVM client.", i18n.BooleanType) )
View Source
var ( MsgRequestTypeNotImplemented = ffe("FF23010", "FFCAPI request '%s' not currently supported") MsgBlockNotAvailable = ffe("FF23011", "Block not available") MsgReceiptNotAvailable = ffe("FF23012", "Receipt not available for transaction '%s'") MsgUnmarshalABIMethodFail = ffe("FF23013", "Failed to parse method ABI: %s") MsgUnmarshalParamFail = ffe("FF23014", "Failed to parse parameter %d: %s") MsgGasPriceError = ffe("FF23015", `The gasPrice '%s' could not be parsed. Please supply a numeric string, or an object with 'gasPrice' field, or 'maxFeePerGas'/'maxPriorityFeePerGas' fields (EIP-1559)`) MsgInvalidOutputType = ffe("FF23016", "Invalid output type: %s") MsgInvalidGasPrice = ffe("FF23017", "Failed to parse gasPrice '%s': %s") MsgInvalidTXData = ffe("FF23018", "Failed to parse transaction data as hex '%s': %s") MsgInvalidFromAddress = ffe("FF23019", "Invalid 'from' address '%s': %s") MsgInvalidToAddress = ffe("FF23020", "Invalid 'to' address '%s': %s") MsgReverted = ffe("FF23021", "EVM reverted: %s") MsgReturnDataInvalid = ffe("FF23023", "EVM return data invalid: %s") MsgNotInitialized = ffe("FF23024", "Not initialized") MsgMissingBackendURL = ffe("FF23025", "URL must be set for the backend JSON/RPC endpoint") MsgBadVersion = ffe("FF23026", "Bad FFCAPI Version '%s': %s") MsgUnsupportedVersion = ffe("FF23027", "Unsupported FFCAPI Version '%s'") MsgUnsupportedRequestType = ffe("FF23028", "Unsupported FFCAPI request type '%s'") MsgMissingRequestID = ffe("FF23029", "Missing FFCAPI request id") MsgUnknownConnector = ffe("FF23031", "Unknown connector type: '%s'") MsgBadDataFormat = ffe("FF23032", "Unknown data format option '%s' supported: %s") MsgInvalidListenerOptions = ffe("FF23033", "Invalid listener options supplied: %v") MsgInvalidFromBlock = ffe("FF23034", "Invalid fromBlock '%s'") MsgMissingEventFilter = ffe("FF23035", "Missing event filter - must specify one or more event filters") MsgInvalidEventFilter = ffe("FF23036", "Invalid event filter: %s") MsgMissingEventInFilter = ffe("FF23037", "Each filter must have an 'event' child containing the ABI definition of the event") MsgListenerAlreadyStarted = ffe("FF23038", "Listener already started: %s") MsgInvalidCheckpoint = ffe("FF23039", "Invalid checkpoint: %s") MsgCacheInitFail = ffe("FF23040", "Failed to initialize %s cache") MsgStreamNotStarted = ffe("FF23041", "Event stream %s not started") MsgStreamAlreadyStarted = ffe("FF23042", "Event stream %s already started") MsgListenerNotStarted = ffe("FF23043", "Event listener %s not started in event stream %s") MsgListenerNotInitialized = ffe("FF23044", "Event listener %s not initialized in event stream %s") MsgStreamNotStopped = ffe("FF23045", "Event stream %s not stopped") MsgTimedOutQueryingChainHead = ffe("FF23046", "Timed out waiting for chain head block number") MsgDecodeBytecodeFailed = ffe("FF23047", "Failed to decode 'bytecode' as hex or Base64") MsgInvalidTXHashReturned = ffe("FF23048", "Received invalid transaction hash from node len=%d") MsgUnmarshalErrorFail = ffe("FF23049", "Failed to parse error %d: %s") MsgUnmarshalABIErrorsFail = ffe("FF23050", "Failed to parse errors ABI: %s") MsgInvalidRegex = ffe("FF23051", "Invalid regular expression for auto-backoff catchup error: %s") MsgUnableToCallDebug = ffe("FF23052", "Failed to call debug_traceTransaction to get error detail: %s") MsgReturnValueNotDecoded = ffe("FF23053", "Error return value for custom error: %s") MsgReturnValueNotAvailable = ffe("FF23054", "Error return value unavailable") MsgInvalidProtocolID = ffe("FF23055", "Invalid protocol ID in event log: %s") )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.