• Pieter Wuille's avatar
    Limit the number of orphan blocks · ee6b2861
    Pieter Wuille authored
    In case the total number of orphan blocks in memory exceeds a limit
    (currently set to 750), a random orphan block (which is not
    depended on by another orphan block) is dropped. This means it will
    need to be downloaded again, but it won't consume memory until then.
    ee6b2861
main.cpp 153 KB