Qortal Project

The future of blockchain platforms

User Tools

Site Tools


how_to_edit_qortal_core_settings

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
how_to_edit_qortal_core_settings [07/31/2022 10:17] gisele_hhow_to_edit_qortal_core_settings [03/18/2023 17:19] – Cleaned up previous edits quickmythril
Line 4: Line 4:
 ===== settings.json File Information ===== ===== settings.json File Information =====
  
-Note: " July 31,2022 from Caldescent, head core dev: settings.json should really be left at the default (blankunless you have a specific reason to override something. The defaults are designed to be correct for general use."+**CautionThe settings.json file should be left blankunless there is a specific reason to override the defaults, which are designed to be optimal for general use.**
  
 +To configure your Qortal Core settings, you can open and edit the settings.json file using any text editor.  Changes are only applied when loading the Core, so it must be restarted to take effect.  This file is found in the main "qortal" folder created when installing the Core.  On Windows however, it would be in the "%localappdata%/Qortal" folder by default.
  
-To configure your Qortal Core settings, you can open and edit the settings.json file using any text editor.  Changes are only applied when loading the Core, so it must be restarted to take effect.  This file is found in the main "qortal" folder created when installing the Core.  On Windows however, it would be in the "%localappdata%/Qortal" folder by default.  Note: There is also a settings.json file in "C:/Program Files/Qortal" Changing that copy of the file is recommended for advanced users only, as it is just meant to specify the "userPath" setting, which tells the Core where to find your primary settings file, and database folder.  Info on relocating the database folder is given below.+Note: There is also a settings.json file in "C:/Program Files/Qortal" Changing that copy of the file is recommended for advanced users only, as it is just meant to specify the "userPath" setting, which tells the Core where to find your primary settings file, and database folder.  Info on relocating the database folder is given below.
  
 The settings file is written using the standard JSON format.  This requires a curly brace at the start and end, and each setting "key" should be enclosed in straight double quotes (do not use curly/angled “ ” quotes, or single ' ' quotes), followed by a colon, then the setting "value", which also needs quotes if it's a text value.  Numerical or boolean (true/false) values do not need quotes.  A comma must be placed between each key/value pair, but not after the last entry.  JSON is whitespace neutral, so any spaces, tabs, or new lines are ignored and not required.  Here is an example showing two equivalent layouts: The settings file is written using the standard JSON format.  This requires a curly brace at the start and end, and each setting "key" should be enclosed in straight double quotes (do not use curly/angled “ ” quotes, or single ' ' quotes), followed by a colon, then the setting "value", which also needs quotes if it's a text value.  Numerical or boolean (true/false) values do not need quotes.  A comma must be placed between each key/value pair, but not after the last entry.  JSON is whitespace neutral, so any spaces, tabs, or new lines are ignored and not required.  Here is an example showing two equivalent layouts:
  
 <code>{ <code>{
-"setting1": "enabled", +    "setting1": "enabled", 
-"setting2": true+    "setting2": true
 }</code> }</code>
 <code>{"setting1":"enabled","setting2":true}</code> <code>{"setting1":"enabled","setting2":true}</code>
Line 39: Line 40:
  
 **isTestNet** - Setting this to true is required for anyone wanting to run a Qortal node on the test net.  More information regarding this will be added to its own wiki page. **isTestNet** - Setting this to true is required for anyone wanting to run a Qortal node on the test net.  More information regarding this will be added to its own wiki page.
 +
 +**listenPort** - The default port is 12392.  This can be changed if you have multiple nodes on the same network and want to enable port forwarding for all of them.  [[https://wiki.qortal.org/doku.php?id=port_forwarding|(More info)]]
  
 **minBlockchainPeers** - This specifies the minimum number of connected peers which must be at a given block height to be able to sync that block to your local database. **minBlockchainPeers** - This specifies the minimum number of connected peers which must be at a given block height to be able to sync that block to your local database.
how_to_edit_qortal_core_settings.txt · Last modified: 05/22/2023 14:34 by quickmythril