Unable to build chain in regtest "algo-toomany" in RunAllTestInDifferentAppSession #60
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Core-Wallets/Auroracoin#60
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Start auroracoin-qt.exe with the -regtest argument
Attempt to build block chain to 225000 height to test sha256 mining
Two problems: generatetoaddress only maybe builds some blocks, it does not produce as many as requested because nHeight is always incremented in the loop in 'generateBlocks (mining.cpp)' - it also stops at block height 145 because that is 'algo-toomany'
But we cannot create a non-scrypt block until block height 225000
Some code needs to know about this requirement and not check for algo-toomany when the block height is low enough to only accept scrypt
The -regtest flag isn't functional, don't use it. Same goes for the testnet.