Testnet stalled on halvening
Closed
Testnet stalled on halvening
Summary
Testnet stalled with the last block produced=259999. Block 260000 is a halvening block.
Steps to reproduce
Expected behavior
Block minting should continue through a halvening as normal.
Problematic behavior
Testnet stalled at Sunday, 6 October 2019 15:31:58 UTC and last block produced 2599999. There were at least 4 active MNs and 3 SNs at the time. The problem was noticed on Friday, 11 October at around 11:00 UTC. All of the above MNs and SNs reported themselves started but not staking. They all had several hundred available stakepointers.
Crown-core environment info
Ubuntu 16.04.6
Crown-core application info
Crown version v0.13.9.0-d5fd2fe3
Relevant logs, dumps and/or screenshots
none available
Drop full logs & dumps here: https://nextcloud.crown.tech/nextcloud/s/znd8HiiAsRX3C6B
Possible fixes
(Any comments on what you think might be responsible for the problem, if you have particular insight.)
/cc @artem
added Status: New/Suggestion Story: Bug labels
@walkjivefly Logs link needs updated, if possible. I did not experience the same stalling as all my nodes are still in sync with the chain without interruption.
@defunctec updated bug template in !207 (merged)
removed Status: New/Suggestion label
@walkjivefly It'd be a good idea to use Artems sandbox to replicate an environment with many more nodes online and a halving situation. Since were operating around 12 nodes between 2 of us is not a great environment to see the results of a halving.
Edited by defunctecAs expected, this happened again at block 389999/390000. Testnet is stuck. All nodes have stopped minting with
2020-03-26 09:38:48 CreateCoinStake: Found valid kernel for mn/sn collateral COutPoint(c311b9abce8bc700d13e6c9682791e2c02107007f7167ac3be383aea1845be05, 0) 2020-03-26 09:38:48 CreateCoinStake: OutPoint: c6aabfdac22d41ff4a5c504c26f64c9e0654cfb0418234572742c9a9b3fb39b9:1 Modifier=e1e8307e6a44daf051372029991a03a94e0d14a17cefb43de0615744584761b8 timeblockfrom=1585162790 time=1585215558 amount=10000 2020-03-26 09:38:48 Masternode payment to tCRWQU8uh9CTbS3jom4HkVFZPonLkNo5bFCKs 2020-03-26 09:38:48 Systemnode payment to tCRWVrkXK7AZ9j9Q4xCMmb4ua8P3RW7isDR9W 2020-03-26 09:38:48 CreateNewBlock(): total size 1000 2020-03-26 09:38:49 CrownMiner runtime error: CTransaction::GetValueOut() : value out of range 2020-03-26 09:38:49 keypool return 32125 2020-03-26 09:38:49 ThreadStakeMinter exiting, 2020-03-26 09:38:49 stake-miner thread exit
Testnet running again following application of 0d8a744e