Skip to content
catena edited this page May 6, 2016 · 14 revisions

To run your scorex application you should create json file with application settings. Most of settings have default values so you may provide just few settings to customize your app.

Scorex-basics settings

Parameter Default value Description
nodeName Random string Name of the node
dataDir None Optional folder to keep your data. When None, all the data is kept in memory
localOnly false Node is only available locally
p2p:bindAddress 127.0.0.1 The socket address to bind to
p2p:port 9084 Port of the socket address to bind to
p2p:maxConnections 20 Maximum number of outgoing connections
p2p:connectionTimeout 60 Connection timeout in seconds
p2p:upnp true Enable upnp
p2p:upnpGatewayTimeout true The timeout for actions on the device
p2p:upnpDiscoverTimeout true The timeout for socket connections of the initial broadcast request
p2p:myAddress None Optional setting to configure declared address
p2p:knownPeers [] Array of known peers

Scorex-transaciton settings

Scorex-perma settings

Recommended example

Clone this wiki locally