mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-31 15:22:16 +00:00
Peer.blockChainDownloadLocked() - fix getblocks message documentation
This commit is contained in:
parent
659a728790
commit
1d5058626a
@ -1227,7 +1227,7 @@ public class Peer extends PeerSocketHandler {
|
||||
// https://en.bitcoin.it/wiki/Protocol_specification#getblocks
|
||||
//
|
||||
// This is because it requires scanning all the block chain headers, which is very slow. Instead we add the top
|
||||
// 50 block headers. If there is a re-org deeper than that, we'll end up downloading the entire chain. We
|
||||
// 100 block headers. If there is a re-org deeper than that, we'll end up downloading the entire chain. We
|
||||
// must always put the genesis block as the first entry.
|
||||
BlockStore store = checkNotNull(blockChain).getBlockStore();
|
||||
StoredBlock chainHead = blockChain.getChainHead();
|
||||
|
Loading…
Reference in New Issue
Block a user