forked from x42protocol/xServer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathx42.conf
176 lines (165 loc) · 7.21 KB
/
x42.conf
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
####Node Settings####
#Test network. Defaults to 0.
testnet=0
#Regression test network. Defaults to 0.
regtest=0
#Minimum fee rate. Defaults to 0.
#mintxfee=0
#maxtxfee=100000000
#Fallback fee rate. Defaults to 0.
#fallbackfee=0
#Minimum relay fee rate. Defaults to 0.
#minrelaytxfee=0
#Which db to use. Defaults to rocksdb. Available options: leveldb, rocksdb.
#dbtype=<name>
####ConnectionManager Settings####
#The default network port to connect to. Default 52342.
#port=52342
#Accept connections from the outside.
#listen=<0 or 1>
#This can be used to accept incoming connections when -connect is specified.
#forcelisten=<0 or 1>
#Specified node to connect to. Can be specified multiple times.
#connect=<ip:port>
#Add a node to connect to and attempt to keep the connection open. Can be specified multiple times.
#addnode=<ip:port>
#Bind to given address. Use [host]:port notation for IPv6. Can be specified multiple times.
#bind=<ip:port>
#Bind to given address and whitelist peers connecting to it. Use [host]:port notation for IPv6. Can be specified multiple times.
#whitebind=<ip:port>
#Whitelist peers having the given IP:port address, both inbound or outbound. Can be specified multiple times.
#whitelist=<ip:port>
#Specify your own public address.
#externalip=<ip>
#Number of seconds to keep misbehaving peers from reconnecting. Default 16000.
#bantime=<number>
#The maximum number of outbound connections. Default 16.
#maxoutboundconnections=<number>
#The maximum number of inbound connections. Default 109.
#maxinboundconnections=<number>
#The number of connections to be reached before a 1 second connection interval (initally 100ms). Default 1.
#initialconnectiontarget=<number>
#Sync with peers. Default 1.
#synctime=1
#An optional prefix for the node's user agent shared with peers. Truncated if over 10 characters.
#agentprefix=<string>
#Enable bandwidth saving setting to send and received confirmed blocks only. Defaults to 0.
#blocksonly=0
#bantime=<number>
#Disallow connection to peers in same IP range. Default is 1 for remote hosts.
#iprangefiltering=<0 or 1>
####BlockStore Settings####
#Enable to maintain a full transaction index.
#txindex=0
#Rebuild store with tx index from block data files on disk.
#reindex=0
#Rebuild the coindb from block data files on disk.
#reindex-chain=0
#Enable pruning to reduce storage requirements by enabling deleting of old blocks.
#prune=2880
#The maximum amount of blocks the cache can contain. Default is 5 MB
#maxblkstoremem=5
####MemPool Settings####
#Maximal size of the transaction memory pool in megabytes. Defaults to 300.
#maxmempool=300
#Maximum number of hours to keep transactions in the mempool. Defaults to 336.
#mempoolexpiry=336
#Enable high priority for relaying free or low-fee transactions. Defaults to 1.
#relaypriority=1
#Maximum number of ancestors of a transaction in mempool (including itself). Defaults to 25.
#limitancestorcount=25
#Maximal size in kB of ancestors of a transaction in mempool (including itself). Defaults to 101.
#limitancestorsize=101
#Maximum number of descendants any ancestor can have in mempool (including itself). Defaults to 25.
#limitdescendantcount=25
#Maximum size in kB of descendants any ancestor can have in mempool (including itself). Defaults to 101.
#limitdescendantsize=101.
#Enable transaction replacement in the memory pool.
#mempoolreplacement=0
#Maximum number of orphan transactions kept in memory. Defaults to 100.
#maxorphantx=100
#Enable to accept relayed transactions received from whitelisted peers even when not relaying transactions. Defaults to 1.
#whitelistrelay=1
#Accept non-standard transactions. Default 1.
#acceptnonstdtxn=1
#Relay non-P2SH multisig. Defaults to True.
#permitbaremultisig=True
####API Settings####
#URI to node's API interface. Defaults to 'http://localhost'.
apiuri=http://0.0.0.0
#Port of node's API interface. Defaults to 42220.
#apiport=42220
#Use HTTPS protocol on the API. Default is false.
#usehttps=false
#Enable the Web Socket endpoints. Defaults to false.
#enableWS=false
#Enable the node UI. Defaults to true.
#enableUI=true
#Enable the node API. Defaults to true.
#enableAPI=true
#Enable authentication on the node API. Defaults to true.
#enableAuth=true
#Path to the file containing the certificate to use for https traffic encryption. Password protected files are not supported. On MacOs, only p12 certificates can be used without password.
#Please refer to .Net Core documentation for usage: 'https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.x509certificates.x509certificate2.-ctor?view=netcore-2.1#System_Security_Cryptography_X509Certificates_X509Certificate2__ctor_System_Byte___'.
#certificatefilepath=
####RPC Settings####
#Activate RPC Server (default: 0)
#server=0
#Where the RPC Server binds (default: 127.0.0.1 and ::1)
#rpcbind=127.0.0.1
#Ip address allowed to connect to RPC (default all: 0.0.0.0 and ::)
#rpcallowip=127.0.0.1
#Can load the RPCContentType with or without charset. (default: application/json; chartset=utf-8)
#rpccontenttype=application/json
####Consensus Settings####
#Use checkpoints. Default 1.
#checkpoints=1
#If this block is in the chain assume that it and its ancestors are valid and potentially skip their script verification (0 to verify all). Defaults to .
#assumevalid=
#Max tip age. Default 7200.
#maxtipage=7200
#Max memory to use for unconsumed blocks in MB. Default 200.
#maxblkmem=200
#Max cache memory for the coindb in MB. Default 200.
#dbcache=200
#How often to flush the cache to disk when in IBD in minutes (min=1min, max=60min). The bigger the number the faster the sync and smaller the db, but shutdown will be longer.
#dbflush=10
####Miner Settings####
#Enable POW mining.
#mine=0
#Enable POS.
#stake=0
#The address to use for mining (empty string to select an address from the wallet).
#mineaddress=<string>
#The wallet name to use when staking.
#walletname=<string>
#Password to unlock the wallet.
#walletpassword=<string>
#Maximum block size (in bytes) for the miner to generate.
#blockmaxsize=4000000
#Maximum block weight (in weight units) for the miner to generate.
#blockmaxweight=4000000
#Minimum fee rate for transactions to be included in blocks created by miner.
#blockmintxfee=0
#Enable splitting coins when staking.
#enablecoinstakesplitting=1
#Minimum size of the coins considered for staking, in satoshis.
#minimumstakingcoinvalue=10000000
#Targeted minimum value of staking coins after splitting, in satoshis.
#minimumsplitcoinvalue=10000000000
#If staking will require whitelisting addresses in order to stake. Defult is false.
#enforceStakingFlag=0
####Wallet Settings####
#Save the hex of transactions in the wallet file. Default: 0.
#savetrxhex=0
#Creates a wallet with the specified name and the specified password. It will be created if it doesn't exist and can be unlocked on startup when unlockdefaultwallet is set to 1.
#defaultwalletname=
#Overrides the default wallet password. Default: default.
#defaultwalletpassword=default
#A value indicating whether to unlock the supplied default wallet on startup. Default 0.
#unlockdefaultwallet=0
#Size of the buffer of unused addresses maintained in an account. Default: 20.
#walletaddressbuffer=20
####xServer Settings####
#Add a xServer node to connect to and attempt to keep the connection open. Can be specified multiple times.
#addxservernode=<ip:port>