CARVIEW |
Select Language
HTTP/2 301
date: Sat, 26 Jul 2025 19:51:15 GMT
content-type: text/html; charset=utf-8
content-length: 0
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
location: https://github.com/input-output-hk/Scorex/wiki/Settings
cache-control: no-cache
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: origin-when-cross-origin, strict-origin-when-cross-origin
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
set-cookie: _gh_sess=%2B1gh0KgV1A4h9DBiSYGezJUP75sURL5EJdwk%2BzDE0SS6qX469NpSFPg%2BH6quLvp3Nb0kA2LsZZnZ3Kxr49dmt%2BO3VibQwq3AzyL1mG1C0%2BRIdREYYwB4c%2F21c68fsuGofSjcD9A5vRc64TSIZS6dn8jkMYnj4%2BshIKgjbXJMidwFHUyQgRlzBlWG0F0vceXhfQzO7E8toF6XuyTdAT1SeMul2ZFglTMzqBrGvwKqdttGEiINsV8qiKy3jyrbu8oxSqxW3YOJBXUmlykb5b0J0Q%3D%3D--SS9d2JnNyQ%2BxFfTy--kCG6JUI0hY%2FWHdOIBLW0Yw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.856251754.1753559475; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 19:51:15 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 19:51:15 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A632:37D5F1:89002D:B1230A:688531B3
HTTP/2 200
date: Sat, 26 Jul 2025 19:51:15 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-robots-tag: none
etag: W/"0fa5c09e1de3328a15c2783b953dbb45"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
x-github-request-id: A632:37D5F1:890044:B12337:688531B3
Settings · input-output-hk/Scorex Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 79
Settings
Bruno edited this page Aug 30, 2017
·
14 revisions
Network-wide settings are compiled with the source code and can be managed with application.conf
file via typesafe config library.
app {
# Release name. Will be used by peers to identify the network
release = "Lagonaki"
}
scorex {
# Full path to the main hash function. It should implement CryptographicHash interface. You can find a lot of hash functions in scrypto library (https://github.com/ScorexProject/scrypto).
fastHash = "scorex.crypto.hash.Blake256"
# Full path to slow and most secure hash function. It should implement CryptographicHash interface. You can find a lot of hash functions in scrypto library (https://github.com/ScorexProject/scrypto).
secureHash = "scorex.crypto.hash.ScorexHashChain"
}
To run your Scorex node 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.
Parameter | Default value | Description |
---|---|---|
dataDir |
undefined | Optional folder to keep your data. When undefined, all the data is kept in memory |
localOnly |
false |
Node is only available locally |
rpcAddress |
0.0.0.0 |
Bind address for remote procedure call |
rpcPort |
9085 |
Port for remote procedure call |
rpcAllowed |
127.0.0.1 |
Space separated list of addresses, that can use rpc |
offlineGeneration |
false |
Allow node to generate new blocks when it's offline |
historySynchronizerTimeout |
30 |
Timeout in seconds for the history synchronizer to wait a response from remote nodes |
blockGenerationDelay |
1000 |
Time in milliseconds for block generator to try to generate a new block |
miningThreads |
1 |
Number of threads for mining |
walletDirOpt |
undefined | Optional folder to keep your wallet. When undefined, your wallet is kept in memory |
walletPassword |
undefined | Password for your wallet. When undefined, you should pass it on application start |
walletSeed |
undefined | Seed for your wallet to generate new accounts. When undefined, you should pass it on application start |
apiKeyHash |
undefined | Hash for API key. When undefined, RPC requests are allowed without any authentication |
genesisTimestamp |
1460952000000 |
Timestamp for genesis block. |
cors |
false |
Allow API to called from another domain outside the domain from which the resource originated. |
p2p :nodeName
|
Random string | Name of the node |
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
|
[] |
List of known peers |
Parameter | Default value | Description |
---|---|---|
history |
blockchain |
History type. Blockchain or blocktree (experimental) |
maxRollback |
100 |
Maximum number of blocks to rollback |
Parameter | Default value | Description |
---|---|---|
perma :rootHash
|
13uSUANW... |
Base58-encoded root hash of Merkle tree with permacoin data. |
perma :isTrustedDealer
|
false |
Set current node as trusted dealer |
perma :treeDir
|
required | Folder to keep permacoin data |
perma :authDataStorage
|
authDataStorage.db |
Name of file to put authenticated permacoin data. File will be created in treeDir |
Typical json files with settings looks like
{
"p2p": {
"bindAddress": "0.0.0.0",
"upnp": false,
"upnpGatewayTimeout": 7000,
"upnpDiscoverTimeout": 3000,
"port": 9084,
"knownPeers": [
"23.94.190.226:9185"
],
"maxConnections": 10
},
"walletDir": "/tmp/scorex/wallet",
"dataDir": "/tmp/scorex/data",
"rpcPort": 9085,
"rpcAllowed": [],
"maxRollback": 100,
"blockGenerationDelay": 0,
"genesisTimestamp": 1460952000000,
"apiKeyHash": "GmVvcpx1BRUPDZiADbZ7a6zgQV3Sgj2GhNoEiTH9Drdx",
"cors": false
}
You can’t perform that action at this time.