PoS testing: ERROR: CheckBlockProofPointer: Stake pointer from height 18758 is too recent
Summary
Debug log contains multiple occurrences of message
ERROR: CheckBlockProofPointer: Stake pointer from height 18758 is too recent
for multiple block heights.
Steps to reproduce
Unknown.
Expected behavior
Log doesn't contain scary looking error messages
Problematic behavior
On one single MN there are hundreds of occurrences:
mark@x230:~/tmp$ grep -c CheckBlockProofPointer: 2019*morra1*
20190120_walkjivefly_MN_morra1.log:471
20190121_walkjivefly_MN_morra1.log:263
20190122_walkjivefly_MN_morra1.log:108
20190123_walkjivefly_MN_morra1.log:365
20190124_walkjivefly_MN_morra1.log:88
Crown-core environment info
Ubuntu 16.04
Crown-core application info
Crown version v0.12.7.1-2029222a
Relevant logs, dumps and/or screenshots
2019-01-20 06:45:32 CreateCoinStake: Found valid kernel for mn/sn collateral COutPoint(efbfe1ce31dbd992f06ed997e1091794d048c11f2d871126be8752ac49964aa4, 1)
2019-01-20 06:45:32 CreateCoinStake: OutPoint: f5d1a3f660d990cbc82bdf96a56dd2afa71ea4170328ff0a28d82cd510454176:1 Modifier=e59db0f33064417f422240d4f2fc2f64c6bc5efbb8d5fe9b15dcf05ac0e3baf1 timeblockfrom=1547965553 time=1547966763 amount=10000
2019-01-20 06:45:32 Masternode payment to tCRWP8uiyNWLzrr1pVDbVHs94XaH99ihWa1Jf
2019-01-20 06:45:32 Systemnode payment to tCRWadeDsPZK7X27uCRSEUdPcnZ8bBESLRe6Z
2019-01-20 06:45:32 CreateNewBlock(): total size 1000
2019-01-20 06:45:32 ERROR: CheckBlockProofPointer: Stake pointer from height 18758 is too recent
2019-01-20 06:45:32 ERROR: CheckStake: Invalid block proof pointer
2019-01-20 06:45:32 ERROR: ConnectBlock: Block has invalid proof of stake
2019-01-20 06:45:32 CreateNewBlock() : TestBlockValidity failed
CBlock(hash=7d9434451423c76ee697fb821f8d18eadfbd09d3a0bc6f8a7cc6f32b1c8ea2a1, ver=1442306, hashPrevBlock=1787313764a1e520e64dfe517123491bf3503ad958784db76d8c14ca086c770b, hashMerkleRoot=25ec1acf40ade88d5376cee0ec1b312db4c6a24787949337cacb10ec91a2db47, nTime=1547966763, nBits=1d10bb0d, nNonce=0, vtx=2)
CTransaction(hash=9e367a5107, ver=1, vin.size=1, vout.size=3, nLockTime=0)
CTxIn(COutPoint(0000000000000000000000000000000000000000000000000000000000000000, 4294967295), coinbase 02534900)
CTxOut(nValue=0.00000000, scriptPubKey=)
CTxOut(nValue=6.00000000, scriptPubKey=OP_DUP OP_HASH160 6f4e232135db)
CTxOut(nValue=1.20000000, scriptPubKey=OP_DUP OP_HASH160 ed66a4bcd1e9)
CTransaction(hash=e87fdf69fa, ver=1, vin.size=1, vout.size=1, nLockTime=0)
CTxIn(COutPoint(0000000000000000000000000000000000000000000000000000000000000000, 4294967295), coinbase c002534900)
CTxOut(nValue=4.80000000, scriptPubKey=OP_DUP OP_HASH160 c28b65bdef31)
vMerkleTree: 9e367a5107cac9c56ff2e51dcad4ceac6385b4454a97d35bec9406d4d69ca270 e87fdf69fa0eaf27d36a31d319d400d48d5f3840bd9e71263b54412897476ed5 25ec1acf40ade88d5376cee0ec1b312db4c6a24787949337cacb10ec91a2db47
Uploaded 20190120_walkjivefly_MN_morra1.log to 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
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information