• Pieter Wuille's avatar
    Use a uint256 for bnChainWork · 94b77ae5
    Pieter Wuille authored
    Every block index entry currently requires a separately-allocated
    CBigNum. By replacing them with uint256, it's just 32 bytes extra
    in CBlockIndex itself.
    
    This should save us a few megabytes in RAM, and less allocation
    overhead.
    94b77ae5
bignum.h 16.8 KB