· 6 years ago · Oct 01, 2019, 10:02 AM
1# Endpoint for P2P node to listen on
2# p2p-endpoint =
3
4# Maxmimum number of incoming connections on P2P endpoint
5# p2p-max-connections =
6
7# P2P network parameters. (Default: {"listen_endpoint":"0.0.0.0:0","accept_incoming_connections":true,"wait_if_endpoint_is_busy":true,"private_key":"0000000000000000000000000000000000000000000000000000000000000000","desired_number_of_co$
8# p2p-parameters =
9
10# P2P nodes to connect to on startup (may specify multiple times)
11seed-node = 51.15.223.10:2001
12seed-node = 51.15.120.228:2001
13seed-node = 45.63.43.84:2001
14seed-node = 51.15.95.123:2001
15seed-node = 163.172.128.38:2001
16
17# Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints.
18# checkpoint =
19
20# Location of the shared memory file. Defaults to data_dir/blockchain
21# shared-file-dir =
22
23# Size of the shared memory file. Default: 1G
24shared-file-size = 8G
25
26# Endpoint for websocket RPC to listen on
27rpc-endpoint = 127.0.0.1:8090
28
29# Endpoint for TLS websocket RPC to listen on
30# rpc-tls-endpoint =
31
32# Endpoint to forward write API calls to for a read node
33# read-forward-rpc =
34
35# The TLS certificate file for this server
36# server-pem =
37
38# Password for this certificate
39# server-pem-password =
40
41# API user specification, may be specified multiple times
42# api-user =
43
44# Set an API to be publicly available, may be specified multiple times
45public-api = database_api login_api account_by_key_api
46
47# Plugin(s) to enable, may be specified multiple times
48enable-plugin = witness account_history account_by_key
49
50# Maximum age of head block when broadcasting tx via API
51max-block-age = 200
52
53# Flush shared memory file to disk this many blocks
54flush = 100000
55
56# Whether to print backtrace on SIGSEGV
57backtrace = yes
58
59# Defines a range of accounts to track as a json pair ["from","to"] [from,to] Can be specified multiple times
60# track-account-range =
61
62# Defines a list of operations which will be explicitly logged.
63# history-whitelist-ops =
64
65# Defines a list of operations which will be explicitly ignored.
66# history-blacklist-ops =
67
68# Disables automatic account history trimming
69history-disable-pruning = 0
70
71# Track account statistics by grouping orders into buckets of equal size measured in seconds specified as a JSON array of numbers
72account-stats-bucket-size = [60,3600,21600,86400,604800,2592000]
73
74# How far back in time to track history for each bucker size, measured in the number of buckets (default: 100)
75account-stats-history-per-bucket = 100
76
77# Which accounts to track the statistics of. Empty list tracks all accounts.
78account-stats-tracked-accounts = []
79
80# Track blockchain statistics by grouping orders into buckets of equal size measured in seconds specified as a JSON array of numbers
81chain-stats-bucket-size = [60,3600,21600,86400,604800,2592000]
82
83# How far back in time to track history for each bucket size, measured in the number of buckets (default: 100)
84chain-stats-history-per-bucket = 100
85
86# Database edits to apply on startup (may specify multiple times)
87# edit-script =
88
89# RPC endpoint of a trusted validating node (required)
90# trusted-node =
91
92# Set the maximum size of cached feed for an account
93follow-max-feed-size = 500
94
95# Block time (in epoch seconds) when to start calculating feeds
96follow-start-feeds = 0
97
98# Defines a range of accounts to private messages to/from as a json pair ["from","to"] [from,to)
99# pm-account-range =
100
101# Enable block production, even if the chain is stale.
102enable-stale-production = false
103
104# Percent of witnesses (0-99) that must be participating in order to produce blocks
105required-participation = false
106
107# name of witness controlled by this node (e.g. initwitness )
108witness = "subways"
109
110# WIF PRIVATE KEY to be used by one or more witnesses or miners
111private-key = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
112
113# declare an appender named "stderr" that writes messages to the console
114[log.console_appender.stderr]
115stream=std_error
116
117# declare an appender named "p2p" that writes messages to p2p.log
118[log.file_appender.p2p]
119filename=logs/p2p/p2p.log
120# filename can be absolute or relative to this config file
121
122# route any messages logged to the default logger to the "stderr" logger we
123# declared above, if they are info level are higher
124[logger.default]
125level=warn
126appenders=stderr
127
128# route messages sent to the "p2p" logger to the p2p appender declared above
129[logger.p2p]
130level=warn
131appenders=p2p