-
Notifications
You must be signed in to change notification settings - Fork 7
/
config-for-docker.ini
96 lines (66 loc) · 3.43 KB
/
config-for-docker.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Console appender definition json: {"appender", "stream"}
log-console-appender = {"appender":"stderr","stream":"std_error"}
# File appender definition json: {"appender", "file"}
log-file-appender = {"appender":"p2p","file":"logs/p2p/p2p.log"}
# Logger definition json: {"name", "level", "appender"}
log-logger = {"name":"default","level":"info","appender":"stderr"}
log-logger = {"name":"p2p","level":"info","appender":"stderr"}
# Plugin(s) to enable, may be specified multiple times
plugin = webserver p2p json_rpc witness transaction_status
plugin = database_api condenser_api rc_api block_api network_broadcast_api transaction_status_api
# Note: If using the docker image, account_history and account_history_api plugins
# are added automatically to track single accounts when the `TRACK_ACCOUNT` environment variable is set
# to an account name.
# If using the docker image, this is set with the environment variable `TRACK_ACCOUNT`
# Defines a range of accounts to track as a json pair ["from","to"] [from,to] Can be specified multiple times
# account-history-track-account-range = ["accountname","accountname"]
# Defines a list of operations which will be explicitly logged.
# account-history-whitelist-ops =
# Defines a list of operations which will be explicitly ignored.
# account-history-blacklist-ops =
# the location of the chain shared memory files (absolute path or relative to application data dir)
shared-file-dir = "blockchain"
# Size of the shared memory file. Default: 100G
shared-file-size = 64G
# Set autoscaling of shared memory file
# If using the docker image, this is set with a default command line arugment
# shared-file-full-threshold = 9500
# shared-file-scale-rate = 1000
# Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints.
# checkpoint =
# flush shared memory changes to disk every N blocks
flush-state-interval = 0
# Database edits to apply on startup (may specify multiple times)
# edit-script =
# 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,21600]
# How far back in time to track market history, measure in seconds (default: 604800)
market-history-track-time = 604800
# The local IP address and port to listen for incoming connections.
# p2p-endpoint =
# Maxmimum number of incoming connections on P2P endpoint
# p2p-max-connections =
# The IP address and port of a remote peer to sync with. Deprecated in favor of p2p-seed-node.
# seed-node =
# The IP address and port of a remote peer to sync with.
# p2p-seed-node =
# User agent to advertise to peers
p2p-user-agent = Graphene Reference Implementation
# The local IP and port to listen for incoming http connections.
# webserver-http-endpoint =
# The local IP and port to listen for incoming websocket connections.
# webserver-ws-endpoint =
# Number of threads used to handle queries. Default: 32.
webserver-thread-pool-size = 256
# 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 =
# name of witness controlled by this node (e.g. initwitness )
# witness =
# WIF PRIVATE KEY to be used by one or more witnesses or miners
# private-key =