Simple class for regulating resource usage during CheckInputScripts (and CScriptCheck), atomic so as to be compatible with parallel validation.
More...
#include <validation.h>
Simple class for regulating resource usage during CheckInputScripts (and CScriptCheck), atomic so as to be compatible with parallel validation.
Definition at line 382 of file validation.h.
◆ CheckInputsLimiter()
CheckInputsLimiter::CheckInputsLimiter |
( |
int64_t |
limit | ) |
|
|
inlineexplicit |
◆ check()
bool CheckInputsLimiter::check |
( |
| ) |
|
|
inline |
◆ consume_and_check()
bool CheckInputsLimiter::consume_and_check |
( |
int |
consumed | ) |
|
|
inline |
◆ remaining
std::atomic<int64_t> CheckInputsLimiter::remaining |
|
protected |
The documentation for this class was generated from the following file: