ergo Directory to keep data directory user dir ergo_test data networkT

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
ergo {
# Directory to keep data
directory = ${user.dir}"/.ergo_test/data"
networkType = "testnet"
# Settings for node view holder regime. See papers.yellow.ModifiersProcessing.md
node {
# State type. Possible options are:
# "utxo" - keep full utxo set, that allows to validate arbitrary block and generate ADProofs
# "digest" - keep state root hash only and validate transactions via ADProofs
stateType = "utxo"
# Download block transactions and verify them (requires BlocksToKeep == 0 if disabled)
verifyTransactions = true
# Number of last blocks to keep with transactions and ADproofs, for all other blocks only header will be stored.
# Keep all blocks from genesis if negative
blocksToKeep = 1000
# Download PoPoW proof on node bootstrap
PoPoWBootstrap = false
# Minimal suffix size for PoPoW proof (may be pre-defined constant or settings parameter)
minimalSuffix = 10
# Is the node is doing mining
mining = false
maxTransactionComplexity = 100000
useExternalMiner = false
# Public key mining rewards will be dedicated to
miningPubKeyHex = null
# If true, a node generates blocks being offline. The only really useful case for it probably is to start a new
# blockchain
offlineGeneration = false
# Delay for miner after succesful block creation
miningDelay = 1s
keepVersions = 200
mempoolCapacity = 100000
blacklistCapacity = 100000
mempoolCleanupDuration = 10s
# Number of transactions from mempool to be re-broadcasted at each epoch
rebroadcastCount = 3
# Minimal fee amount of transactions mempool accepts
minimalFeeAmount = 0
}
#Chain-specific settings. Change only if you are going to launch a new chain!
chain {
protocolVersion = 1
genesisId = null
monetary {
# delay between the block mined and a time, when the reward can be spent. ~ 1 day.
minerRewardDelay = -1000
}
# Public keys of founders for tests. Two keys from defaultProver and one random one.
foundersPubkeys = [
"038b0f29a60fa8d7e1aeafbe512288a6c6bc696547bbf8247db23c95e83014513c",
"031ee1ab3b729f21e0dcee05642a63745286354d8e511e6376838e235a28078c01",
"0248502b73f35bb2b77eb5ad16f80f55beff178ccd104488edd2d8b69c192c109d"
]
# Base16 representation of genesis state roothash
genesisStateDigestHex = "93914ecff82cea3b53b32d0f0527069f7361ef3b426271235eb6f4d76337900202"
# Network address prefix, currently reserved values are 0x00 (money chain mainnet) and 0x10 (16 in decimal,
# money chain testnet)
addressPrefix = 16
# Desired time interval between blocks
blockInterval = 1m
# Difficulty network start with
initialDifficultyHex = "01"
# length of an epoch in difficulty recalculation
epochLength = 100
useLastEpochs = 8
//Proof-of-Work algorithm and its parameters. Possible options are "fake" and "autolykos".
powScheme {
powType = "fake"
k = 32
n = 26
}
voting {
# Length of a voting epoch.
votingLength = 1024
# Voting epochs to vote for soft-fork
softForkEpochs = 32
# Voting epochs to activate a soft-fork after acceptance
activationEpochs = 32
}
noPremineProof = [
"'Chaos reigns': what the papers say about the no-deal Brexit vote", # https://www.theguardian.com/politics/2019/mar/14/chaos-reigns-what-the-papers-say-about-the-no-deal-brexit-vote
"习近平的两会时间|这里有份习近平两会日历,请查收!", # http://www.xinhuanet.com/politics/2019lh/2019-03/13/c_1124232018.htm
"ТАСС сообщил об обнаружении нескольких майнинговых ферм на столичных рынках", # https://www.vedomosti.ru/politics/news/2019/03/14/796376-mainingovih-ferm
"000000000000000000139a3e61bd5721827b51a5309a8bfeca0b8c4b5c060931", # https://www.blockchain.com/btc/block/000000000000000000139a3e61bd5721827b51a5309a8bfeca0b8c4b5c060931
"0xef1d584d77e74e3c509de625dc17893b22b73d040b5d5302bbf832065f928d03" # https://etherscan.io/block/0xef1d584d77e74e3c509de625dc17893b22b73d040b5d5302bbf832065f928d03
]
}
testing {
# Whether to turn on transaction generator
transactionGeneration = false
# Max number of transactions generated per a new block received
maxTransactionsPerBlock = 100
}
cache {
# Number of recently used modifiers that will be kept in memory
modifiersCacheSize = 1000
# Number of recently used indexes that will be kept in memory
indexesCacheSize = 10000
}
voting {
# Length of a voting epoch.
votingLength = 100
# Voting epochs to vote for soft-fork
softForkEpochs = 32
# Voting epochs to activate a soft-fork after acceptance
activationEpochs = 32
"rulesToDisable" = []
}
wallet {
secretStorage {
secretDir = ${ergo.directory}"/wallet/keystore"
encryption {
# Pseudo-random function with output of length `dkLen` (PBKDF2 param)
prf = "HmacSHA256"
# Number of PBKDF2 iterations (PBKDF2 param)
c = 128000
# Desired bit-length of the derived key (PBKDF2 param)
dkLen = 256
}
}
# Generating seed length in bits
# Options: 128, 160, 192, 224, 256
seedStrengthBits = 160
# Language to be used in mnemonic seed
# Options: "chinese_simplified", "chinese_traditional", "english", "french", "italian", "japanese", "korean", "spanish"
mnemonicPhraseLanguage = "english"
# Interval to re-scan uncertain boxes. When a block arrives, its transaction outputs are to be scanned, and if
# certain bytes are found in the output script (e.g. public key bytes), the box is to be put to a queue of a boxes
# which are potentially wallet's. But to be sure, script execution is needed, which could be costly to do in a bulk.
# So we check from a queue only one box per "scanningInterval".
scanningInterval = 1ms
defaultTransactionFee = 10000
# Save used boxes (may consume additinal disk space) or delete them immediately
keepSpentBoxes = false
# Mnemonic seed used in wallet for tests
testMnemonic = "ozone drill grab fiber curtain grace pudding thank cruise elder eight picnic"
# Number of keys to be generated for tests
testKeysQty = 5
}
}
scorex {
restApi {
apiKeyHash = null
}
}
akka {
test {
timefactor = 3 # duration scale factor to prevent spurious test failures on the heavily loaded CI servers
}
}