ERROR: CheckBlockProofPointer: Stake pointers cannot be from budget blocks
Summary
Testnet node was syncing happily
2020-02-15 15:37:15 UpdateTip: new best=b44375066482a350d529f988beef10bc2a70090a51c438855989bf4cdc65905a height=353596 log2_work=62.365666 tx=581359 date=2020-02-15 13:18:17 progress=1.000000 cache=0.7MiB(3616tx)
2020-02-15 15:37:15 ProcessNewBlock : ACCEPTED
but then failed to sync after hitting this set of error messages:
2020-02-15 15:37:15 ERROR: CheckBlockProofPointer: Stake pointers cannot be from budget blocks
2020-02-15 15:37:15 ERROR: CheckStake: Invalid block proof pointer
2020-02-15 15:37:15 ERROR: AcceptBlock: Proof of stake check failed
2020-02-15 15:37:15 ERROR: ProcessNewBlock : AcceptBlock FAILED
2020-02-15 15:37:15 ERROR: CheckBlockProofPointer: Stake pointers cannot be from budget blocks
2020-02-15 15:37:15 ERROR: CheckStake: Invalid block proof pointer
2020-02-15 15:37:15 ERROR: AcceptBlock: Proof of stake check failed
2020-02-15 15:37:15 ERROR: ProcessNewBlock : AcceptBlock FAILED
followed a few seconds later by repeated block download timeouts, eg
2020-02-15 15:40:57 Timeout downloading block 2b43a1283c24ddbb2ed2f51f0b35073e86af62081bd8f219d0f4f1fd8fe33804 from peer=11, disconnecting
...
2020-02-15 15:45:43 Timeout downloading block 2b43a1283c24ddbb2ed2f51f0b35073e86af62081bd8f219d0f4f1fd8fe33804 from peer=16, disconnecting
...
2020-02-15 15:47:27 Timeout downloading block 3983e80874da3a4c6d85dec6a05fa0bd0ff03432e68b12c71270cf5026b81193 from peer=1, disconnecting
...
2020-02-15 15:52:20 Timeout downloading block 606874f1b3877ab9540b6a2d1fdddd7436ee2900a454911079e1c5ed4e21f208 from peer=19, disconnecting
2020-02-15 15:52:20 Timeout downloading block 2b43a1283c24ddbb2ed2f51f0b35073e86af62081bd8f219d0f4f1fd8fe33804 from peer=21, disconnecting
2020-02-15 15:53:14 connect() to 89.31.41.46:19340 failed after select(): Connection refused (111)
2020-02-15 15:53:21 Timeout downloading block 877fa0a5fd23c106571122d92a4994dbd80fab8e19f5ed2b2c5295f407eb0fbb from peer=5, disconnecting
...
Steps to reproduce
Not reproducible on demand
Expected behavior
Sync should complete normally
Problematic behavior
Node doesn't sync
Crown-core environment info
16.04
Crown-core application info
Crown version v0.13.9.3-3230ab8a
Relevant logs, dumps and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code; it's very hard to read otherwise.)
Drop full logs & dumps here: https://nextcloud.crownplatform.com/index.php/s/Q6H8enXNmJsQYCD
Possible fixes
(Any comments on what you think might be responsible for the problem, if you have particular insight.)
/cc @artem
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information