mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
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.
|
||
|---|---|---|
| .. | ||
| bitcoinconsensus.cpp | ||
| bitcoinconsensus.h | ||
| descriptor.cpp | ||
| descriptor.h | ||
| interpreter.cpp | ||
| interpreter.h | ||
| keyorigin.h | ||
| miniscript.cpp | ||
| miniscript.h | ||
| script.cpp | ||
| script.h | ||
| script_error.cpp | ||
| script_error.h | ||
| sigcache.cpp | ||
| sigcache.h | ||
| sign.cpp | ||
| sign.h | ||
| signingprovider.cpp | ||
| signingprovider.h | ||
| standard.cpp | ||
| standard.h | ||