Relayer
This page documents the configuration flags for the Relayer component. For architectural concepts and how the Relayer works, see Relayer Architecture.
Starting the Relayer
firecore start relayer [flags]Core Configuration
--relayer-grpc-listen-addr
gRPC listening address
:10014
--relayer-source
Reader source addresses (repeatable)
[:10010]
--common-one-block-store-url
One-block files storage URL
file://{data-dir}/storage/one-blocks
Performance Tuning
--relayer-max-source-latency
Max tolerated source latency
999999h
--relayer-source-request-burst
Request burst size to upstream sources
(varies)
Connecting Multiple Sources
The --relayer-source flag can be specified multiple times:
firecore start relayer \
--relayer-grpc-listen-addr=":10014" \
--relayer-source="reader-1.internal:10010" \
--relayer-source="reader-2.internal:10010" \
--relayer-source="reader-3.internal:10010"Health Check
The Relayer exposes a gRPC health check endpoint with two states:
SERVING
Relayer is synchronized and streaming blocks
NOT_SERVING
Relayer is starting up or has lost connection to sources
Health Check Commands
Kubernetes Integration
Example Usage
Single Reader Setup
Multiple Readers with Latency Filtering
Last updated
Was this helpful?
