bitcoinj / bitcoinj/bitcoinj

DownloadProgressTracker logs negative percentage during reorg

Open
#1,349 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.2k
Forks
2.6k
Avg merge
10h 56m
Merged PRs (30d)
18

Description

The Download Progress Tracker outputs a negative percentage while downloading blocks during a reorg:
`[NioClientManager] INFO org.bitcoinj.core.listeners.DownloadProgressTracker - Chain download -775% done with 35 blocks to go, block date 2017-03-13T20:36:44Z`
[reorg.txt](https://github.com/bitcoinj/bitcoinj/files/840493/reorg.txt)

Contributor guide

Open the contributing guide

Research direction

Start at DownloadProgressTracker and use the attached reorg.txt trace to follow how the percentage is computed during a reorganization. Done means the reorg scenario no longer logs a negative download percentage.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.