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:
crowetic 2025-04-28 11:41:33 -07:00
parent 9784fc24d1
commit df0aa36712

38
pubnode-settings.json Normal file
View 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
}