Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • crown-core crown-core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 75
    • Issues 75
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Crown
  • crown-corecrown-core
  • Issues
  • #333

Closed
Open
Created Aug 14, 2019 by Mark Brooker@walkjiveflyMaintainer

Testnet -reindex or sync fails at block 141000 with "incorrect proof of work" error

Summary

Attempting to reindex a testnet node, or process the bootstrap fails at block 141000 with "incorrect proof of work"

Steps to reproduce

Start an existing, synced testnet node with -reindex option -or- try to sync a new testnet node (possibly using a bootstrap).

Expected behavior

Reindex or sync should complete normally.

Problematic behavior

Error message "incorrect proof of work" at block 141000 and the reindex/sync stops

Crown-core environment info

Ubuntu 16.04

Crown-core application info

v0.13.9.0-d5fd2fe3 (2019-06-21 15:57:45 +0300)

Relevant logs, dumps and/or screenshots

debug log contains

2019-08-14 12:11:44 ProcessNewBlock : ACCEPTED
2019-08-14 12:11:44 UpdateTip: new best=000000178a93cbd264e7e95d624b1e39465c951c63db1fa874f8438294d8ed1e  height=140999  log2_work=62.365628  tx=154695  date=2019-03-19 07:40:26 progress=1.000000  cache=30.5MiB(117467tx)
2019-08-14 12:11:44 ProcessNewBlock : ACCEPTED
2019-08-14 12:11:44 ERROR: ContextualCheckBlockHeader : incorrect proof of work
2019-08-14 12:11:44 ERROR: ProcessNewBlock : AcceptBlock FAILED
2019-08-14 12:11:49 Loaded 141000 blocks from external file in 345201ms
2019-08-14 12:11:49 Reindexing block file blk00001.dat...
2019-08-14 12:11:49 Reindexing finished
2019-08-14 12:11:49 ERROR: ContextualCheckBlockHeader : incorrect proof of work
2019-08-14 12:11:49 ERROR: ProcessNewBlock : AcceptBlock FAILED
2019-08-14 12:11:49 Misbehaving: 92.60.46.27:19340 (0 -> 100) BAN THRESHOLD EXCEEDED
2019-08-14 12:11:49 ERROR: ContextualCheckBlockHeader : incorrect proof of work
2019-08-14 12:11:49 ERROR: ProcessNewBlock : AcceptBlock FAILED

Drop full logs & dumps here: https://nextcloud.crown.tech/nextcloud/s/znd8HiiAsRX3C6B

Possible fixes

Workaround the issue by starting a new testnet node/wallet with a snapshot.

/cc @artem

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking