mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-04 10:07:27 -05:00
41c5201a90
Also: - Make DEFAULT_MAX_SIG_CACHE_SIZE into constexpr DEFAULT_MAX_SIG_CACHE_BYTES to utilize the compile-time integer arithmetic overflow checking available to constexpr. - Fix comment (MiB instead of MB) for DEFAULT_MAX_SIG_CACHE_BYTES. - Pass in max_size_bytes parameter to InitS*Cache(), modify log line to no longer allude to maxsigcachesize being split evenly between the two validation caches. - Fix possible integer truncation and add a comment. [META] I've kept the integer types as int64_t in order to not introduce unintended behaviour changes, in the next commit we will make them size_t. |
||
---|---|---|
.. | ||
bitcoinkernel.cpp | ||
chain.cpp | ||
chain.h | ||
chainstatemanager_opts.h | ||
checks.cpp | ||
checks.h | ||
coinstats.cpp | ||
coinstats.h | ||
context.cpp | ||
context.h | ||
mempool_limits.h | ||
mempool_options.h | ||
mempool_persist.cpp | ||
mempool_persist.h | ||
validation_cache_sizes.h |