Skip to content

Instantly share code, notes, and snippets.

@iammelea
Created May 28, 2018 19:01
Show Gist options
  • Save iammelea/4214368a78bf2f846ad54a13049f6e5d to your computer and use it in GitHub Desktop.
Save iammelea/4214368a78bf2f846ad54a13049f6e5d to your computer and use it in GitHub Desktop.
Config.ini for Peerplays witness node. Just add your keys.
# Endpoint for P2P node to listen on
# p2p-endpoint =
p2p-endpoint = 0.0.0.0:9777
# P2P nodes to connect to on startup (may specify multiple times)
# seed-node =
seed-node = peerplays-seed.privex.io:7777 # @someguy123/@privex (DE)
seed-node = ppy.blckchnd.com:6112 # blckchnd
seed-node = 5.9.18.213:18828 # pfunk
seed-node = 31.171.244.121:7777 # taconator
seed-node = seed.peerplaysdb.com:9777 # jesta
seed-node = ppy.esteem.ws:7777 # good-karma
seed-node = peerplays.roelandp.nl:9777 # roelandp
seed-node = ppy-seed.xeldal.com:19777 # xeldal
seed-node = 51.15.42.228:61388 # iPerky
seed-node = seed.peerplaysnodes.com:9777 # wackou
witness-id = "1.1.11"
private-key =["PPY111your-key-publick1111","5xxxwitness-private-key-herexxx"]
# JSON array of P2P nodes to connect to on startup
# seed-nodes =
# Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints.
# checkpoint =
# Endpoint for websocket RPC to listen on
# rpc-endpoint =
rpc-endpoint = 127.0.0.1:8090
# Endpoint for TLS websocket RPC to listen on
# rpc-tls-endpoint =
# Enable support for per-message deflate compression in the websocket servers (--rpc-endpoint and --rpc-tls-endpoint), disabled by default
# enable-permessage-deflate =
# The TLS certificate file for this server
# server-pem =
# Password for this certificate
# server-pem-password =
# File to read Genesis State from
# genesis-json =
# Block signing key to use for init witnesses, overrides genesis file
# dbg-init-key =
# JSON file specifying API permissions
# api-access =
# 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
# ID of witness controlled by this node (e.g. "1.6.5", quotes are required, may specify multiple times)
# witness-id =
# IDs of multiple witnesses controlled by this node (e.g. ["1.6.5", "1.6.6"], quotes are required)
# witness-ids =
# Tuple of [PublicKey, WIF private key] (may specify multiple times)
private-key = ["",""]
# Account ID to track history for (may specify multiple times)
# track-account =
# Track market history by grouping orders into buckets of equal size measured in seconds specified as a JSON array of numbers
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: 1000)
history-per-size = 1000
# 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=info
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