Skip to content

Instantly share code, notes, and snippets.

@areshand
Created June 13, 2024 21:38
Show Gist options
  • Save areshand/ec91d7b7d8acae9138de999f74773ab0 to your computer and use it in GitHub Desktop.
Save areshand/ec91d7b7d8acae9138de999f74773ab0 to your computer and use it in GitHub Desktop.
node_config.yaml
base:
# Update this value to the location you want the node to store its database
data_dir: "/Users/bowu/tmp/data2/"
role: "full_node"
waypoint:
# Update this value to that which the blockchain publicly provides. Please regard the directions
# below on how to safely manage your genesis_file_location with respect to the waypoint.
from_file: "/opt/aptos/waypoint.txt"
execution:
# Update this to the location to where the genesis.blob is stored, prefer fullpaths
# Note, this must be paired with a waypoint. If you update your waypoint without a
# corresponding genesis, the file location should be an empty path.
genesis_file_location: "/opt/aptos/genesis.blob"
full_node_networks:
- discovery_method: "onchain"
# The network must have a listen address to specify protocols. This runs it locally to
# prevent remote, incoming connections.
listen_address: "/ip4/127.0.0.1/tcp/6180"
network_id: "public"
# Define the upstream peers to connect to
seeds:
{}
state_sync:
state_sync_driver:
bootstrapping_mode: ExecuteOrApplyFromGenesis
continuous_syncing_mode: ExecuteTransactionsOrApplyOutputs
indexer_table_info:
enabled: true
parser_task_count: 10
parser_batch_size: 100
index_db_tailer:
enable_transaction: true
enable_event: true
batch_size: 10000
indexer_grpc:
enabled: true
address: 0.0.0.0:50051
processor_task_count: 10
processor_batch_size: 100
output_batch_size: 100
api:
enabled: true
address: 127.0.0.1:8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment