Skip to content

Instantly share code, notes, and snippets.

@propertunist
Created February 11, 2018 21:34
Show Gist options
  • Save propertunist/b45b8f12531d191c308500e440fa91da to your computer and use it in GitHub Desktop.
Save propertunist/b45b8f12531d191c308500e440fa91da to your computer and use it in GitHub Desktop.
config.ini
# Endpoint for P2P node to listen on
# p2p-endpoint=0.0.0.0:2001
# Maxmimum number of incoming connections on P2P endpoint
# p2p-max-connections =
# P2P nodes to connect to on startup (may specify multiple times)
# seed-node = seed.jesta.us:2001
#seed-node = anyx.co:2001
# seed-node = 149.56.108.203:2001
#seed-node = 176.31.126.187:2001
seed-node = gtg.steem.house:2001
# Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints.
# checkpoint =
# Location of the shared memory file. Defaults to data_dir/blockchain
shared-file-dir = /dev/shm/
# Size of the shared memory file. Default: 54G
shared-file-size = 54G
# Endpoint for websocket RPC to listen on
# rpc-endpoint = 0.0.0.0:8090
# Endpoint for TLS websocket RPC to listen on
# rpc-tls-endpoint =
# Endpoint to forward write API calls to for a read node
# read-forward-rpc =
# The TLS certificate file for this server
# server-pem =
# Password for this certificate
# server-pem-password =
# API user specification, may be specified multiple times
# api-user =
# Set an API to be publicly available, may be specified multiple times
public-api = database_api login_api
# Plugin(s) to enable, may be specified multiple times
enable-plugin = witness
# Maximum age of head block when broadcasting tx via API
max-block-age = 200
# Flush shared memory file to disk this many blocks
flush = 100000
# Whether to print backtrace on SIGSEGV
backtrace = yes
# Defines a range of accounts to track as a json pair ["from","to"] [from,to] Can be specified multiple times
# track-account-range =
# Defines a list of operations which will be explicitly logged.
# history-whitelist-ops =
# Defines a list of operations which will be explicitly ignored.
# history-blacklist-ops =
# Track account statistics by grouping orders into buckets of equal size measured in seconds specified as a JSON array of numbers
account-stats-bucket-size = [60,3600,21600,86400,604800,2592000]
# How far back in time to track history for each bucker size, measured in the number of buckets (default: 100)
account-stats-history-per-bucket = 100
# Which accounts to track the statistics of. Empty list tracks all accounts.
account-stats-tracked-accounts = []
# Track blockchain statistics by grouping orders into buckets of equal size measured in seconds specified as a JSON array of numbers
chain-stats-bucket-size = [60,3600,21600,86400,604800,2592000]
# How far back in time to track history for each bucket size, measured in the number of buckets (default: 100)
chain-stats-history-per-bucket = 100
# Database edits to apply on startup (may specify multiple times)
# edit-script =
# RPC endpoint of a trusted validating node (required)
# trusted-node =
# Set the maximum size of cached feed for an account
follow-max-feed-size = 500
# Block time (in epoch seconds) when to start calculating feeds
follow-start-feeds = 0
# Track market history by grouping orders into buckets of equal size measured in seconds specified as a JSON array of numbers
market-history-bucket-size = [15,60,300,3600,86400]
# How far back in time to track history for each bucket size, measured in the number of buckets (default: 5760)
market-history-buckets-per-size = 5760
# Defines a range of accounts to private messages to/from as a json pair ["from","to"] [from,to)
# pm-account-range =
# Enable block production, even if the chain is stale.
enable-stale-production = false
# Percent of witnesses (0-99) that must be participating in order to produce blocks
required-participation = false
# name of witness controlled by this node (e.g. initwitness )
witness = "ura-soul"
# WIF PRIVATE KEY to be used by one or more witnesses or miners
private-key = removed
# declare an appender named "stderr" that writes messages to the console
[log.console_appender.stderr]
stream=std_error
# declare an appender named "p2p" that writes messages to p2p.log
[log.file_appender.p2p]
filename=logs/p2p/p2p.log
# filename can be absolute or relative to this config file
# route any messages logged to the default logger to the "stderr" logger we
# declared above, if they are info level are higher
[logger.default]
level=debug
appenders=stderr
# route messages sent to the "p2p" logger to the p2p appender declared above
[logger.p2p]
level=debug
appenders=p2p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment