Skip to content

Instantly share code, notes, and snippets.

@kushti
Last active December 14, 2020 20:24
Show Gist options
  • Save kushti/ec4ecc20a6ce7426883f244e85c1b042 to your computer and use it in GitHub Desktop.
Save kushti/ec4ecc20a6ce7426883f244e85c1b042 to your computer and use it in GitHub Desktop.
ergo {
networkType = "testnet"
node {
mining = true
# offlineGeneration = true
# useExternalMiner = false
}
chain {
# Network address prefix, currently reserved values are 0 (money chain mainnet) and 16 (money chain testnet)
addressPrefix = 16
# Difficulty network start with
initialDifficultyHex = "01"
monetary {
# Reduced 1-block reward delay for faster testing
minerRewardDelay = 1
}
voting {
# Length of a voting epoch.
votingLength = 128
# Voting epochs to vote for soft-fork
softForkEpochs = 32
# Voting epochs to activate a soft-fork after acceptance
activationEpochs = 32
# Activation height for mainnet protocol version 2 (client version 4.0.0 hard-fork)
version2ActivationHeight = 128
}
# Base16 representation of genesis state roothash
genesisStateDigestHex = "840ca0b8aec2d7a6c4f1589ca6070c8a5ed5924c835cdb8f816aa773b6fe1b6302"
}
}
scorex {
network {
bindAddress = "0.0.0.0:9020"
nodeName = "ergo-testnet-4.0.0"
magicBytes = [2, 2, 2, 4]
}
restApi {
# Hex-encoded Blake2b256 hash of an API key. Should be 64-chars long Base16 string.
apiKeyHash = "6ed54addddaf10fe8fcda330bd443a57914fbce38a9fa27248b07e361cc76a41"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment