• Pieter Wuille's avatar
    Reimplement CBlockLocator's chain-related logic in CChain. · cd1bf6e8
    Pieter Wuille authored
    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.
    cd1bf6e8
main.cpp 151 KB