Bitcoin Core
26.99.0
P2P Digital Currency
src
kernel
validation_cache_sizes.h
Go to the documentation of this file.
1
// Copyright (c) 2022 The Bitcoin Core developers
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5
#ifndef BITCOIN_KERNEL_VALIDATION_CACHE_SIZES_H
6
#define BITCOIN_KERNEL_VALIDATION_CACHE_SIZES_H
7
8
#include <
script/sigcache.h
>
9
10
#include <cstddef>
11
#include <limits>
12
13
namespace
kernel
{
14
struct
ValidationCacheSizes
{
15
size_t
signature_cache_bytes
{
DEFAULT_MAX_SIG_CACHE_BYTES
/ 2};
16
size_t
script_execution_cache_bytes
{
DEFAULT_MAX_SIG_CACHE_BYTES
/ 2};
17
};
18
}
19
20
#endif
// BITCOIN_KERNEL_VALIDATION_CACHE_SIZES_H
kernel
Definition:
coinstatsindex.h:13
sigcache.h
DEFAULT_MAX_SIG_CACHE_BYTES
static constexpr size_t DEFAULT_MAX_SIG_CACHE_BYTES
Definition:
sigcache.h:19
kernel::ValidationCacheSizes
Definition:
validation_cache_sizes.h:14
kernel::ValidationCacheSizes::script_execution_cache_bytes
size_t script_execution_cache_bytes
Definition:
validation_cache_sizes.h:16
kernel::ValidationCacheSizes::signature_cache_bytes
size_t signature_cache_bytes
Definition:
validation_cache_sizes.h:15
Generated on Mon Dec 11 2023 02:43:17 for Bitcoin Core by
1.9.1