Config.json

This section provides a greater understanding of the config.json file and a description of each parameter.

 {
    "port": 8000, // The port Lisk will listen on
    "address": "0.0.0.0", // The interface Lisk will listen on
    "version": "0.5.0", // The version of Lisk
    "minVersion": ">=0.5.0", // The minimum version Lisk will communicate with
    "fileLogLevel": "info", // Logging level for Lisk
    "logFileName": "logs/lisk.log", // The name of the logfile and where it will be stored
    "consoleLogLevel": "info", // The console logging level for app.js
    "trustProxy": false, // If true, client IP addresses are understood as the left-most entry in the X-Forwarded-* header
    "topAccounts": false, // Enables the top accounts endpoint for the explorer when set to True
    "db": {
        "host": "localhost", // The location to host the database interface
        "port": 5432, // The port for the database
        "database": "lisk_main", // The name of the instance to use
        "user": "", // The user to use with the database, defaults to the current user
        "password": "password", // The default password to use with the database
        "poolSize": 95, // Specifies the amount of database handles
        "poolIdleTimeout": 30000, // This parameter sets how long to hold connection handles open
        "reapIntervalMillis": 1000, // Closes & removes clients which have been idle > 1 second
        "logEvents": [
            "error"
        ]
    },
    "api": {
        "enabled": true, // Controls the API's availability. If disabled no API access is possible
        "access": {
            "public": false, // Controls the whitelist. When true all incoming connections are allowed
            "whiteList": ["127.0.0.1"] // This parameter allows connections to the API by IP. Defaults to only allow local host
        },
        "options": {
            "limits": {
                "max": 0, 
                "delayMs": 0,
                "delayAfter": 0,
                "windowMs": 60000
            }
        }
    },
    "peers": {
        "enabled": true, // Controls the Peers API's availability. If disabled, no inbound network communications will function
        "list": [ // Specifies a list of seed peers to connect to 
            {
                "ip": "192.168.1.1",
                "port": 8000
            }
        ],
        "blackList": [], // Peers to exclude from communicating with
        "options": {
            "limits": {
                "max": 0,
                "delayMs": 0,
                "delayAfter": 0,
                "windowMs": 60000
            },
            "timeout": 5000 // How long to wait for peers to respond with data. Defaults to 5 seconds
        }
    },
    "broadcasts": {
        "broadcastInterval": 5000, // Specifies how often the node will broadcast transaction bundles
        "broadcastLimit": 20, // How many nodes will be used in a single broadcast
        "parallelLimit": 20, // Specifies how many parallel threads will be used to broadcast transactions
        "releaseLimit": 25, // How many transactions can be included in a single bundle
        "relayLimit": 2 // Specifies how many times a transaction broadcast from the node will be relayed
    },
    "transactions": {
        "maxTxsPerQueue": 1000 // Sets the maximum size of each transaction queue. Default: 1000
    },
    "forging": {
        "force": false, // Forces forging to be on, only used on local development networks
        "secret": [], // Hardcoded list of secrets to use for forging, only recommended for local development networks
        "access": {
            "whiteList": [ // This parameter allows connections to the Forging API by IP. Defaults to allow only local connections
                "127.0.0.1"
            ]
        }
    },
    "loading": {
        "verifyOnLoading": false, // Forces the memory tables to be rebuilt from existing data if enabled
        "loadPerIteration": 5000 // How many blocks to load from a peer or the database during verification
    },
    "ssl": {
        "enabled": false, // Enables SSL for the Lisk process for Lisk UI - Default is false
        "options": {
            "port": 443, // Port to host the Lisk Wallet on, default is 443 but is recommended to use a port above 1024 with iptables
            "address": "0.0.0.0", // Interface to listen on for the Lisk Wallet
            "key": "./ssl/lisk.key", // Required private key to decrypt and verify the SSL Certificate
            "cert": "./ssl/lisk.crt" // SSL certificate to use with the Lisk Wallet
        }
    },
    "dapp": {
        "masterrequired": true, // Applications password required. If disabled anyone can install an application on the node
        "masterpassword": "", // Random password that is generated on the first execution of Lisk
        "autoexec": [] // Applications to automatically start with Lisk
    },
    "nethash": "ed14889723f24ecc54871d058d98ce91ff2f973192075c0155ba2b7b70ad2511" // Network hash of the Genesis block, used to differentiate networks. This should never be manually edited
}

What's next?
API - Configuration