Added new public node configuration file. This is for a node that is fully accessible to the public. Including removal of the need of an API key for any calls. Massively increased number of peers and threads. Need a decent machine to run these settings.
This commit is contained in:
parent
9784fc24d1
commit
df0aa36712
38
pubnode-settings.json
Normal file
38
pubnode-settings.json
Normal file
@ -0,0 +1,38 @@
|
||||
{
|
||||
"maxThreadsPerMessageType": [
|
||||
{ "messageType": "ARBITRARY_DATA_FILE", "limit": 128 },
|
||||
{ "messageType": "GET_ARBITRARY_DATA_FILE", "limit": 128 },
|
||||
{ "messageType": "ARBITRARY_DATA", "limit": 128 },
|
||||
{ "messageType": "GET_ARBITRARY_DATA", "limit": 128 },
|
||||
{ "messageType": "ARBITRARY_DATA_FILE_LIST", "limit": 128 },
|
||||
{ "messageType": "GET_ARBITRARY_DATA_FILE_LIST", "limit": 128 },
|
||||
{ "messageType": "ARBITRARY_SIGNATURES", "limit": 128 },
|
||||
{ "messageType": "ARBITRARY_METADATA", "limit": 128 },
|
||||
{ "messageType": "GET_ARBITRARY_METADATA", "limit": 128 },
|
||||
{ "messageType": "GET_TRANSACTION", "limit": 128 },
|
||||
{ "messageType": "TRANSACTION_SIGNATURES", "limit": 128 },
|
||||
{ "messageType": "TRADE_PRESENCES", "limit": 128 }
|
||||
],
|
||||
"handshakeThreadPriority": 9,
|
||||
"dbCacheThreadPriority": 2,
|
||||
"networkThreadPriority": 9,
|
||||
"pruningThreadPriority": 2,
|
||||
"synchronizerThreadPriority": 9,
|
||||
"apiDocumentationEnabled": true,
|
||||
"apiRestricted": false,
|
||||
"maxNetworkThreadPoolSize": 2424,
|
||||
"repositoryConnectionPoolSize": 4242,
|
||||
"maxPeers": 444,
|
||||
"minOutboundPeers": 11,
|
||||
"maxDataPeers": 22,
|
||||
"networkPoWComputePoolSize": 8,
|
||||
"minPeerConnectionTime": "6*60*60",
|
||||
"maxPeerConnectionTime": "18*60*60",
|
||||
"slowQueryThreshold": "18000",
|
||||
"blockCacheSize": 420,
|
||||
"dbCacheEnabled": true,
|
||||
"gapLimit": 1,
|
||||
"apiWhitelistEnabled": false,
|
||||
"allowConnectionsWithOlderPeerVersions": false,
|
||||
"localAuthBypassEnabled": true
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user