Page MenuHomePhabricator

Merge #13412: Make ReceivedBlockTransactions return void
ClosedPublic

Authored by nakihito on Dec 19 2019, 21:49.

Details

Summary

fafa27032876832ab2ed9bf0e20e2d448f012179 Make ReceivedBlockTransactions return void (MarcoFalke)

Pull request description:

Instead of always returning `bool{true}` and forcing the caller to handle the return code, make it void and remove "a bunch" of dead code at the call sites.

Tree-SHA512: 10e41461c0516c0441d8b8eedcf6385874355c224b9e9d65e89addb142b4cf3e3be2d4ca0a7f2bd95c76aecdaa8537b6bd2d25631bf804bc42863ad5e84fa271

Backport of Core PR13415
https://github.com/bitcoin/bitcoin/pull/13412/

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
PR13412
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 8645
Build 15276: Default Diff Build & Tests
Build 15275: arc lint + arc unit