Skip to content

witness_node_configuration

gxchain123 edited this page Aug 16, 2017 · 2 revisions

The configuration file config.ini in your data directory is commented and contains the following essential settings:

p2p-endpoint

Endpoint for P2P node to listen on

seed-node

P2P nodes to connect to on startup (may specify multiple times)

checkpoint

Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints.

rpc-endpoint

Endpoint for websocket RPC to listen on (e.g. 0.0.0.0:8090)

rpc-tls-endpoint

Endpoint for TLS websocket RPC to listen on

server-pem

The TLS certificate file for this server

server-pem-password

Password for this certificate

genesis-json

File to read Genesis State from

api-access

JSON file specifying API permissions

enable-stale-production

Enable block production, even if the chain is stale. (unless for private testnets should be false)

required-participation

Percent of witnesses (0-99) that must be participating in order to produce blocks

allow-consecutive

Allow block production, even if the last block was produced by the same witness.

witness-id

ID of witness controlled by this node (e.g. “1.6.5”, quotes are required, may specify multiple times)

private-key

Tuple of [PublicKey, WIF private key] (may specify multiple times)

track-account

Account ID to track history for (may specify multiple times)

bucket-size

Track market history by grouping orders into buckets of equal size measured in seconds specified as a JSON array of numbers

history-per-size

How far back in time to track history for each bucket size, measured in the number of buckets (default: 1000)