Qortal Project

The future of blockchain platforms

User Tools

Site Tools


how_to_setup_a_gateway_node

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
how_to_setup_a_gateway_node [11/05/2022 17:55] – [Forwarding the Correct Ports] gfactorhow_to_setup_a_gateway_node [01/17/2024 16:23] (current) – updated settings.json recommendation for gateway nodes. crowetic
Line 59: Line 59:
 We will copy paste the following into the settings.json, and use ''cntrl+x'' then ''ENTER'' to save changes. We will copy paste the following into the settings.json, and use ''cntrl+x'' then ''ENTER'' to save changes.
  
-<code>{+<code>{{
   "gatewayEnabled": true,   "gatewayEnabled": true,
   "gatewayPort": 8080,   "gatewayPort": 8080,
-  "maxPeers": 150+  "maxPeers": 424
-  "maxNetworkThreadPoolSize": 300+  "maxNetworkThreadPoolSize": 1200
-  "repositoryConnectionPoolSize": 300+  "repositoryConnectionPoolSize": 4620, 
-  "minOutbountPeers": 8+  "allowConnectionsWithOlderPeerVersions": false, 
-  "minBlockchainPeers": 8,+  "maxThreadsPerMessageType":
 +        { "messageType": "ARBITRARY_DATA_FILE", "limit": 125 }, 
 +        { "messageType": "GET_ARBITRARY_DATA_FILE", "limit": 125 }, 
 +        { "messageType": "ARBITRARY_DATA", "limit": 125 }, 
 +        { "messageType": "GET_ARBITRARY_DATA", "limit": 125 }, 
 +        { "messageType": "ARBITRARY_DATA_FILE_LIST", "limit": 125 }, 
 +        { "messageType": "GET_ARBITRARY_DATA_FILE_LIST", "limit": 125 }, 
 +        { "messageType": "ARBITRARY_SIGNATURES", "limit": 125 }, 
 +        { "messageType": "ARBITRARY_METADATA", "limit": 125 }, 
 +        { "messageType": "GET_ARBITRARY_METADATA", "limit": 125 }, 
 +        { "messageType": "GET_TRANSACTION", "limit": 125 }, 
 +        { "messageType": "TRANSACTION_SIGNATURES", "limit": 125 }, 
 +        { "messageType": "TRADE_PRESENCES", "limit": 125 } 
 +], 
 +  "minPeerVersion": "4.4.0"
 +  "minOutbountPeers": 32
 +  "blockCacheSize": 220,
   "apiRestricted": true,   "apiRestricted": true,
   "listenAddress":"0.0.0.0",   "listenAddress":"0.0.0.0",
-  "apiKeyDisabled": false+  "apiWhitelistEnabled": false
-  "apiWhitelist":+
-          "127.0.0.1", +
-          "0.0.0.0/0", +
-          "::/0" +
-  ] +
 } }
 +
 </code> </code>
  
how_to_setup_a_gateway_node.1667685330.txt.gz · Last modified: 11/05/2022 17:55 by gfactor