-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
160 lines (114 loc) · 5.3 KB
/
config.yaml
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
###############################################################################
# THE FIRST TWO SETTINGS ARE PROBABLY THE ONLY ONES YOU NEED TO MODIFY
# YOU CAN ADAPT THEM FOR YOUR SPECIFIC NEEDS
###############################################################################
# The identity of the node (will be publicly displayed in Ethstats)
identity: VAL_TELIN2_PC_T_2_8_00
# The type of node. Can be "regular", "validator" or "boot"
nodetype: regular
###############################################################################
# GENERAL PARAMETERS FOR ALASTRIA REDT
# YOU SHOULD NOT MODIFY THEM UNLESS YOU HAVE A GOOD REASON
###############################################################################
###################################################
# ETHEREUM OPTIONS:
###################################################
# Alastria RedT network id
networkid: 83584648538
# The directory where blockchain data is stored
datadir: /root/alastria/data_dir
# Data directory for ancient chain segments (default = inside chaindata)
datadir.ancient: /root/alastria/data_ancient
# Disables monitoring for and managing USB hardware wallets
nousb: true
# Blockchain sync mode ("fast", "full", or "light")
syncmode: full
# Blockchain garbage collection mode ("full", "archive")
gcmode: full
# Number of recent blocks to maintain transactions index by-hash for (default = index all blocks) (default: 0)
txlookuplimit: 0
###################################################
# PERFORMANCE TUNING OPTIONS
###################################################
# Megabytes of memory allocated to internal caching (default = 4096 mainnet full node, 128 light mode) (default: 1024)
cache: 0
###################################################
# API AND CONSOLE OPTIONS
###################################################
# Enable the HTTP-RPC server
http: true
# HTTP-RPC server listening interface (default: "localhost")
http.addr: 0.0.0.0
# HTTP-RPC server listening port (default: 8545)
http.port: 22000
# API's offered over the HTTP-RPC interface
http.api: "admin,eth,debug,miner,net,txpool,personal,web3,istanbul"
# Comma separated list of domains from which to accept cross origin requests (browser enforced)
http.corsdomain: "*"
# Comma separated list of virtual hostnames from which to accept requests (server enforced). Accepts '*' wildcard. (default: "localhost")
http.vhosts: "*"
# Enable the WS-RPC server
ws: true
# WS-RPC server listening interface (default: "localhost")
ws.addr: 0.0.0.0
# WS-RPC server listening port (default: 8546)
ws.port: 22001
# API's offered over the WS-RPC interface
ws.api: "admin,eth,debug,miner,net,txpool,personal,web3,istanbul"
# Origins from which to accept websockets requests
ws.origins: "*"
###################################################
# NETWORKING OPTIONS
###################################################
# The P2P network listening port. This is how nodes talk to each other (default: 30303)
port: 21000
# Maximum number of network peers (network disabled if set to 0) (default: 50)
maxpeers: 50
# Maximum number of pending connection attempts (defaults used if set to 0) (default: 0)
maxpendpeers: 0
# NAT port mapping mechanism (any|none|upnp|pmp|extip:<IP>) (default: "any")
nat: any
# Disables the peer discovery mechanism (manual peer addition)
nodiscover: true
# Restricts network communication to the given IP networks (CIDR masks)
# netrestrict: value
# P2P node key file, which is where the private key of the node resides
nodekey: /root/alastria/secrets/nodekey"
###################################################
# MINER OPTIONS
###################################################
# Enable mining
mine: true
# Number of CPU threads to use for mining (default: 0)
miner.threads: "$(grep -c processor /proc/cpuinfo)"
###################################################
# LOGGING AND DEBUGGING OPTIONS
###################################################
# Logging verbosity: 0=silent, 1=error, 2=warn, 3=info, 4=debug, 5=detail (default: 3)
verbosity: 3
# Per-module verbosity: comma-separated list of <pattern>=<level> (e.g. eth/*=5,p2p=4)
vmodule: "consensus/istanbul/ibft/core/core.go=5,eth/fetcher/block_fetcher.go=5,p2p/dial.go=5"
# Prepends log messages with call-site location (file and line number)
debug: true
###################################################
# QUORUM OPTIONS
###################################################
# Overrides the default immutability threshold for Quorum nodes.
# Its the threshold beyond which block data will be moved to ancient db (default: 3162240)
immutabilitythreshold: 3162240
# If enabled, the node will allow only a defined list of nodes to connect
permissioned: true
# Location of the permissioned permissioned-nodes.json file
permissioned.nodes: /root/alastria/config/permissioned-nodes.json
# Path to the ipc file when using unix domain socket for the private transaction manager connection
# Disabled if set to "ignore"
ptm.socket: ignore
###################################################
# ISTANBUL OPTIONS
###################################################
# Timeout for each Istanbul round in milliseconds (default: 10000)
istanbul.requesttimeout: 10000
# Default minimum difference between two consecutive block's timestamps in seconds (default: 1)
istanbul.blockperiod: 3
# If enabled, emit specially formatted logging checkpoints
emitcheckpoints: true