From df0aa3671226011842e7b5e43a90efc4b7fea301 Mon Sep 17 00:00:00 2001 From: crowetic <jason@crowetic.com> Date: Mon, 28 Apr 2025 11:41:33 -0700 Subject: [PATCH] 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. --- pubnode-settings.json | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pubnode-settings.json diff --git a/pubnode-settings.json b/pubnode-settings.json new file mode 100644 index 0000000..33fee4e --- /dev/null +++ b/pubnode-settings.json @@ -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 +}