Page MenuHomePhabricator

refactor: Rewrite InsertBlockIndex and AddToBlockIndex with try_emplace
ClosedPublic

Authored by PiRK on Jan 18 2023, 11:21.

Diff Detail

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

Event Timeline

PiRK requested review of this revision.Jan 18 2023, 11:21
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/node/blockstorage.cpp
50 ↗(On Diff #37567)

can be const

224 ↗(On Diff #37567)

dito

226 ↗(On Diff #37567)

it's not really necessary, but OK

This revision is now accepted and ready to land.Jan 19 2023, 09:05