Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Macros
validationinterface.cpp File Reference
#include <validationinterface.h>
#include <chain.h>
#include <consensus/validation.h>
#include <kernel/chain.h>
#include <kernel/mempool_entry.h>
#include <kernel/mempool_removal_reason.h>
#include <logging.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
#include <util/check.h>
#include <util/task_runner.h>
#include <future>
#include <unordered_map>
#include <utility>
Include dependency graph for validationinterface.cpp:

Go to the source code of this file.

Classes

class  ValidationSignalsImpl
 ValidationSignalsImpl manages a list of shared_ptr<CValidationInterface> callbacks. More...
 
struct  ValidationSignalsImpl::ListEntry
 List entries consist of a callback pointer and reference count. More...
 

Macros

#define ENQUEUE_AND_LOG_EVENT(event, fmt, name, ...)
 
#define LOG_EVENT(fmt, ...)    LogDebug(BCLog::VALIDATION, fmt "\n", __VA_ARGS__)
 

Macro Definition Documentation

◆ ENQUEUE_AND_LOG_EVENT

#define ENQUEUE_AND_LOG_EVENT (   event,
  fmt,
  name,
  ... 
)
Value:
do { \
auto local_name = (name); \
LOG_EVENT("Enqueuing " fmt, local_name, __VA_ARGS__); \
m_internals->m_task_runner->insert([=] { \
LOG_EVENT(fmt, local_name, __VA_ARGS__); \
event(); \
}); \
} while (0)
const char * name
Definition: rest.cpp:49

Definition at line 158 of file validationinterface.cpp.

◆ LOG_EVENT

#define LOG_EVENT (   fmt,
  ... 
)     LogDebug(BCLog::VALIDATION, fmt "\n", __VA_ARGS__)

Definition at line 168 of file validationinterface.cpp.