bitcoinj / bitcoinj/bitcoinj

Replace downloadBlockChain() by setMode(mode)

Open
#464 3 comments 0 reactions 0 assignees View on GitHub
Enhancement Module: Network
Dominant language
Java
Stars
5.2k
Forks
2.6k
Avg merge
10h 56m
Merged PRs (30d)
18

Description

Originally reported on Google Code with ID 98

```
Mode being one of DOWNLOAD or STANDBY.

Rationale: the concept of a "complete download of blockchain" is not meaningful in
Bitcoin, where we might be behind or on a losing fork of the chain and not know it.
We should either continuously try to download, or pause.

Suggested by andreas.schildbach in issue 90.
```

Reported by `miron@google.com` on 2011-10-28 18:53:04

Contributor guide

Open the contributing guide

Research direction

Start by locating downloadBlockChain() and all of its callers, then inspect how blockchain synchronization currently represents download completion. Compare those paths with the issue's DOWNLOAD and STANDBY modes; done means the old method is replaced consistently and the affected behavior is covered by the project's relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
blockchain
Issue type
Refactor
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.