Skip to content

verifychain fails #630

@aguycalled

Description

@aguycalled

How to reproduce

  • verifychain 4 0 as a rpc or console command.

Issue description

  • verifychain 4 0 fails and log shows (system 1):
2019-11-17 22:31:05 ERROR: CheckProofOfStake: INFO: read txPrev failed d5f3bfe368b7bc6dfa9a9c8016aa13900ae3dda671969d818044855c9a2d1170
2019-11-17 22:31:05 ERROR: ContextualCheckBlock() : check proof-of-stake signature failed for block 379b1b3adc1b00dbb20402972158447df9b3adc31e7f60c4eab747beefc917d4
2019-11-17 22:31:05 ERROR: VerifyDB(): *** found unconnectable block at 3219222, hash=379b1b3adc1b00dbb20402972158447df9b3adc31e7f60c4eab747beefc917d4
  • system 2 showed error at a different height:
2019-11-18 09:46:57 Verifying last 3658219 blocks at level 4
2019-11-18 09:46:57 [0%]...[10%]...INFO: Updating prices
2019-11-18 09:50:34 INFO: Updated prices
2019-11-18 09:52:05 [20%]...[30%]...[40%]...2019-11-18 09:57:12 ERROR: CheckProofOfStake: INFO: read txPrev failed c08d0d3871034eb80bc81707596bd05bb824bbd913aea4a7999ea40fdf6b2aa6
2019-11-18 09:57:12 ERROR: ContextualCheckBlock() : check proof-of-stake signature failed for block 8e27116a5d8d73d4a27601bb0c430f9aedf6a80d6846ab602fcb976f3fdfcf6d
2019-11-18 09:57:12 ERROR: VerifyDB(): *** found unconnectable block at 3011736, hash=8e27116a5d8d73d4a27601bb0c430f9aedf6a80d6846ab602fcb976f3fdfcf6d
  • system 3 showed different error:
2019-11-18 10:22:19 [10%]...[20%]...[30%]...[40%]...2019-11-18 10:30:03 ERROR: IsValidPaymentRequest: Could not find parent proposal c9bb6a509b601a2a233154d60b04e6f9bce6cdc8636bbe667743593060ef9a13 for payment request 785491267ef2cce458dd7fd6c273887b9bb33cd36caa86f4d5898e65ae1deb5e
2019-11-18 10:30:03 ERROR: VerifyDB(): *** found unconnectable block at 3105446, hash=29bd754b4a8f3966c8dead17c5450fae5a95e25cae8bf2ca6328179acdaddc22

What to expect when it is fixed

  • verifychain 4 0 succeeds.

Syncing test

Self build with depends folder of master @ b8ed018

Tested a GUI wallet:

  • Bootstrap ✅
    • Wallet closed and opened again. Still synced. ✅
    • verifychain 4 0 rpc command succeeds ❌ Failed ❌

Specs:

System 1:

  • No indexes
  • Intel Core i7 2,8 Ghz 4 core, 16GB RAM, 1TB SSD
  • OSX Mojave 64 bits
  • Apple clang version 11.0.0 (clang-1100.0.33.12)
  • Apple LLVM version 11.0.0 (clang-1100.0.33.12)

System 2:

  • No indexes
  • Ryzen 3900x 12 core, 64GB RAM CL16 DDR4-3600, 1TB NVMe SSD
  • Hackintosh with Catalina OSX.

System 3:

  • txindex=1 addressindex=1 spendindex=1
  • 2 vCore - 4096 MB - 80 GB SSD
  • Debian 8.11 64bits
  • ldd (Debian GLIBC 2.19-18+deb8u10) 2.19
  • gcc version 4.9.2 (Debian 4.9.2-10+deb8u2)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions