Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions chain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,7 @@ path = "src/bin/validator.rs"
[[bin]]
name = "setup"
path = "src/bin/setup.rs"

[[bin]]
name = "follower"
path = "src/bin/follower.rs"
32 changes: 32 additions & 0 deletions chain/examples/global-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Example configuration for the alto follower node (Global cluster)
#
# This configuration connects to the global alto exoware relay
# and stores finalized blocks locally.

# URL of the exoware relay or indexer endpoint
source: "https://global.alto.exoware.xyz"

# Hex-encoded BLS12-381 public key of the network identity
# This is the threshold public key used to verify finalization signatures
identity: "a59d10bde4e092aa5160047dfebdb509cf6fa2e2f3d3bd13e8a0defc18a783d37d11e98047cfbcaebb7b7e8ace89863f02da2272c86b4e5e97c47e575ae620c4a26f984ce718c8c6e6154954a2712b1a0f16698c0c6a3a0935b7e17fcfd02d48"

# Directory for storing finalized blocks and state
directory: "/tmp/alto-follower"

# Number of worker threads
worker_threads: 4

# Log level (trace, debug, info, warn, error)
log_level: "info"

# Port for Prometheus metrics endpoint
metrics_port: 9091

# Size of internal mailboxes
mailbox_size: 1024

# Auto-checkpoint from the latest finalized block on first run.
# When true (default), the follower will fetch the latest finalized block
# from the indexer and use that as the starting point, avoiding the need
# to backfill all historical blocks.
auto_checkpoint: true
32 changes: 32 additions & 0 deletions chain/examples/usa-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Example configuration for the alto follower node (USA cluster)
#
# This configuration connects to the USA alto exoware relay
# and stores finalized blocks locally.
#
# NOTE: You need to replace the identity with the correct one for the USA cluster

# URL of the exoware relay or indexer endpoint
source: "https://usa.alto.exoware.xyz"

# Hex-encoded BLS12-381 public key of the network identity
# This is the threshold public key used to verify finalization signatures
identity: "9165a52253f8c3605ae6337c72256750b934c405c54db019bbfd156e9c28049e637eb68a85115fcf3a05a9229b9e2e3e0ec974b3857dcaffda00b7cffa582a7bd2b19df6766e1dd4b4b695ff99bb7e0252348f5a46f6124a06246f1781e8f1fe"

# Directory for storing finalized blocks and state
directory: "/tmp/alto-follower-usa"

# Number of worker threads
worker_threads: 4

# Log level (trace, debug, info, warn, error)
log_level: "info"

# Port for Prometheus metrics endpoint
metrics_port: 9092

# Size of internal mailboxes
mailbox_size: 1024

# Auto-checkpoint from the latest finalized block on first run
# Set to false to start from genesis (requires backfilling all historical blocks)
auto_checkpoint: false
Loading