Page MenuHomePhabricator

refactor: Remove unused BlockAssembler::pblock member var
ClosedPublic

Authored by PiRK on May 28 2021, 14:30.

Details

Summary

The difference in BlockAssembler::AddToBlock is explained by D2047:
the Bitcoin ABC codebase stores the CTransactionRef in a CBlockTemplateEntry struct, and copies it into the block later in BlockAssembler::CreateNewBlock

This is a backport of core#19283

Test Plan

ninja check-functional

Diff Detail

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

Event Timeline

PiRK requested review of this revision.May 28 2021, 14:30
deadalnix requested changes to this revision.May 28 2021, 15:10
deadalnix added a subscriber: deadalnix.
deadalnix added inline comments.
src/miner.cpp
131 ↗(On Diff #28664)

That change isn't part of the PR and not really an improvement.

This revision now requires changes to proceed.May 28 2021, 15:10

restore the comment as is was in the ABC codebase

This revision is now accepted and ready to land.May 31 2021, 15:14