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 revision
Previous revision
how_to_edit_qortal_core_settings [03/18/2023 17:19] – Cleaned up previous edits quickmythrilhow_to_edit_qortal_core_settings [05/22/2023 14:34] (current) – Removed bindAddress quickmythril
Line 24: Line 24:
  
 **Here is explanation of the most commonly used settings:** **Here is explanation of the most commonly used settings:**
- 
-**bindAddress** - Adding "bindAddress":"0.0.0.0" will force IPv4 (disabling IPv6). 
  
 **apiDocumentationEnabled** - Setting this to true will enable the API Documentation page, found at [[http://localhost:12391/api-documentation]] by default.  This page assists in using the API, also providing information and examples for available API calls. **apiDocumentationEnabled** - Setting this to true will enable the API Documentation page, found at [[http://localhost:12391/api-documentation]] by default.  This page assists in using the API, also providing information and examples for available API calls.
Line 34: Line 32:
  
 **repositoryMaintenanceMinInterval & repositoryMaintenanceMaxInterval** - These settings determine the timeframe in which the database will be automatically "trimmed" to reduce storage space used.  The value should be given in milliseconds.  For example, 259200000 is the default minimum, which equals 3 days.  Note: A random value between these two options is chosen when starting the Core.  That means if you restart the Core daily, no maintenance will occur (unless your settings allow for values lower than one day). **repositoryMaintenanceMinInterval & repositoryMaintenanceMaxInterval** - These settings determine the timeframe in which the database will be automatically "trimmed" to reduce storage space used.  The value should be given in milliseconds.  For example, 259200000 is the default minimum, which equals 3 days.  Note: A random value between these two options is chosen when starting the Core.  That means if you restart the Core daily, no maintenance will occur (unless your settings allow for values lower than one day).
- 
-**topOnly** - Setting this to true will enable "top only sync" which results in a much smaller database, however it will prevent the ability to look up data from older blocks.  This can affect retrieving full information on older transactions, but will not interfere with most other features, like displaying your current balance.  Note: Enabling this with a "full sync" database in place will cause the Core to convert it to "top sync" Disabling this with a "top sync" database will cause the Core to discard the database and download a "full sync" bootstrap, or sync from 0 if that is disabled.  (See the following setting.) 
  
 **bootstrap** - Setting this to false will prevent the Core from automatically downloading the bootstrap file when no database is found.  This would allow syncing blocks from peers, starting at 0 (the genesis block). **bootstrap** - Setting this to false will prevent the Core from automatically downloading the bootstrap file when no database is found.  This would allow syncing blocks from peers, starting at 0 (the genesis block).
Line 63: Line 59:
 **relayModeEnabled** - By default, the Core will act as a "go between" for any peers requesting data from your node, if you are not hosting those files, but connected to another peer who is.  Setting it to false will disable that behavior.  The status of this setting is also visible in the Qortal UI at the bottom the Websites plugin page. **relayModeEnabled** - By default, the Core will act as a "go between" for any peers requesting data from your node, if you are not hosting those files, but connected to another peer who is.  Setting it to false will disable that behavior.  The status of this setting is also visible in the Qortal UI at the bottom the Websites plugin page.
  
-**maxStorageCapacity** - This setting can be used to limit the amount of space available for QDN data hosting (in the folder specified by the dataPath setting).  By default, there is no limit aside from the available drive space on your system.  The value should be given in bytes.  For example, 1048576 would limit storage to 1 GB.+**maxStorageCapacity** - This setting can be used to limit the amount of space available for QDN data hosting (in the folder specified by the dataPath setting).  By default, there is no limit aside from the available drive space on your system.  The value should be given in bytes.  For example, 1073741824 would limit storage to 1 GB.
how_to_edit_qortal_core_settings.1679174384.txt.gz · Last modified: 03/18/2023 17:19 by quickmythril