HomePhabricator

Reimplement CBlockLocator's chain-related logic in CChain.
e4daecda0bcdUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Reimplement CBlockLocator's chain-related logic in CChain.

This removes a few unused CBlockLocator methods, and moves the
construction and fork-finding logic to CChain (which can do these
more efficiently, as it has a height-indexable chain available).
It also makes CBlockLocator independent from the validation code.

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Oct 12 2013, 13:18
Pieter Wuille <sipa@ulyssis.org>Committed on Oct 15 2013, 09:09
deadalnixPushed on May 14 2017, 22:04
Parents
rABCb2ba55c42b56: Avoid core dump if rpc port is in use.
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <sipa@ulyssis.org> committed rABCe4daecda0bcd: Reimplement CBlockLocator's chain-related logic in CChain. (authored by Pieter Wuille <pieter.wuille@gmail.com>).Oct 15 2013, 09:09