Page MenuHomePhabricator

net_processing: Request assumeutxo background chain blocks
ClosedPublic

Authored by PiRK on Tue, Feb 4, 14:23.

Details

Reviewers
roqqit
Group Reviewers
Restricted Project
Commits
rABCca3c72fce46d: net_processing: Request assumeutxo background chain blocks
Summary

Add new PeerManagerImpl::TryDownloadingHistoricalBlocks method and use it to
request background chain blocks in addition to blocks normally requested by
FindNextBlocksToDownload.

Co-authored-by: Ryan Ofsky <ryan@ofsky.org>
Co-authored-by: James O'Beirne <james.obeirne@gmail.com>

This is a partial backport of core#27596
https://github.com/bitcoin/bitcoin/pull/27596/commits/b73d3bbd23220857bf17cbb6401275bf58013b72

Depends on D17631

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Tue, Feb 4, 14:23
roqqit added a subscriber: roqqit.
roqqit added inline comments.
src/net_processing.cpp
2003 ↗(On Diff #52512)

nit: missing comment can be backported here

This revision is now accepted and ready to land.Wed, Feb 5, 18:06