Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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 = 35.183.138.117:2001
- seed-node = 18.217.66.193:2001
- seed-node = 13.52.15.197:2001
- seed-node = 52.32.235.184:2001
- seed-node = 185.197.30.13: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 =
- # 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 account_by_key_api follow_api
- # Plugin(s) to enable, may be specified multiple times
- #enable-plugin = witness account_history account_by_key follow
- # Set an API to be publicly available, may be specified multiple times
- public-api = database_api login_api account_by_key_api network_broadcast_api tag_api follow_api raw_block_api
- # Plugin(s) to enable, may be specified multiple times
- enable-plugin = witness account_history account_by_key tags follow raw_block
- # Maximum age of head block when broadcasting tx via API
- max-block-age = 2000
- # Flush shared memory file to disk this many blocks
- flush = 100000
- # 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 = "node_name"
- # WIF PRIVATE KEY to be used by one or more witnesses or miners
- private-key = PRIVKEY
- # 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=warn
- appenders=stderr
- # route messages sent to the "p2p" logger to the p2p appender declared above
- [logger.p2p]
- level=warn
- appenders=p2p
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement