|
| 1 | +# ID of witness controlled by this node (e.g. "1.6.5", quotes are required, may specify multiple times) |
| 2 | +witness-id = "1.6.1" |
| 3 | + |
| 4 | +# Tuple of [PublicKey, WIF private key] (may specify multiple times) |
| 5 | +private-key = ["BTS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"] |
| 6 | + |
| 7 | +# JSON array of P2P nodes to connect to on startup |
| 8 | +seed-nodes = ["newton.array.io:9090"] |
| 9 | + |
| 10 | +# Enable block production, even if the chain is stale. |
| 11 | +enable-stale-production = true |
| 12 | + |
| 13 | +# Endpoint for P2P node to listen on |
| 14 | +p2p-endpoint = 0.0.0.0:9090 |
| 15 | + |
| 16 | +# Endpoint for websocket RPC to listen on |
| 17 | +rpc-endpoint = 0.0.0.0:8090 |
| 18 | + |
| 19 | +# File to read Genesis State from |
| 20 | +genesis-json = main_genesis.json |
| 21 | + |
| 22 | +# Endpoint for P2P node to listen on |
| 23 | +# p2p-endpoint = |
| 24 | + |
| 25 | +# P2P nodes to connect to on startup (may specify multiple times) |
| 26 | +# seed-node = |
| 27 | + |
| 28 | +# JSON array of P2P nodes to connect to on startup |
| 29 | +# seed-nodes = |
| 30 | + |
| 31 | +# Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints. |
| 32 | +# checkpoint = |
| 33 | + |
| 34 | +# Endpoint for websocket RPC to listen on |
| 35 | +# rpc-endpoint = |
| 36 | + |
| 37 | +# Endpoint for TLS websocket RPC to listen on |
| 38 | +# rpc-tls-endpoint = |
| 39 | + |
| 40 | +# The TLS certificate file for this server |
| 41 | +# server-pem = |
| 42 | + |
| 43 | +# Password for this certificate |
| 44 | +# server-pem-password = |
| 45 | + |
| 46 | +# File to read Genesis State from |
| 47 | +# genesis-json = |
| 48 | + |
| 49 | +# Block signing key to use for init witnesses, overrides genesis file |
| 50 | +# dbg-init-key = |
| 51 | + |
| 52 | +# JSON file specifying API permissions |
| 53 | +# api-access = |
| 54 | + |
| 55 | +# Enable block production, even if the chain is stale. |
| 56 | +# enable-stale-production = true |
| 57 | + |
| 58 | +# Percent of witnesses (0-99) that must be participating in order to produce blocks |
| 59 | +# required-participation = false |
| 60 | + |
| 61 | +# ID of witness controlled by this node (e.g. "1.6.5", quotes are required, may specify multiple times) |
| 62 | +# witness-id = |
| 63 | + |
| 64 | +# Tuple of [PublicKey, WIF private key] (may specify multiple times) |
| 65 | +# private-key = ["BTS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"] |
| 66 | + |
| 67 | +# Account ID to track history for (may specify multiple times) |
| 68 | +# track-account = |
| 69 | + |
| 70 | +# Track market history by grouping orders into buckets of equal size measured in seconds specified as a JSON array of numbers |
| 71 | +bucket-size = [15,60,300,3600,86400] |
| 72 | + |
| 73 | +# How far back in time to track history for each bucket size, measured in the number of buckets (default: 1000) |
| 74 | +history-per-size = 1000 |
| 75 | + |
| 76 | +# declare an appender named "stderr" that writes messages to the console |
| 77 | +[log.console_appender.stderr] |
| 78 | +stream=std_error |
| 79 | + |
| 80 | +# declare an appender named "p2p" that writes messages to p2p.log |
| 81 | +[log.file_appender.p2p] |
| 82 | +filename=logs/p2p/p2p.log |
| 83 | +# filename can be absolute or relative to this config file |
| 84 | + |
| 85 | +# route any messages logged to the default logger to the "stderr" logger we |
| 86 | +# declared above, if they are info level are higher |
| 87 | +[logger.default] |
| 88 | +level=info |
| 89 | +appenders=stderr |
| 90 | + |
| 91 | +# route messages sent to the "p2p" logger to the p2p appender declared above |
| 92 | +[logger.p2p] |
| 93 | +level=debug |
| 94 | +appenders=p2p |
0 commit comments