Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
TestValidationInterface Class Reference
Inheritance diagram for TestValidationInterface:
[legend]
Collaboration diagram for TestValidationInterface:
[legend]

Public Member Functions

 TestValidationInterface ()=default
void BlockChecked (Block block, BlockValidationStateView state) override
void BlockChecked (Block block, BlockValidationStateView state) override
void BlockConnected (Block block, BlockTreeEntry entry) override
void PowValidBlock (BlockTreeEntry entry, Block block) override
void BlockDisconnected (Block block, BlockTreeEntry entry) override
Public Member Functions inherited from btck::ValidationInterface
virtual ~ValidationInterface ()=default

Public Attributes

std::optional< std::string > m_expected_valid_block = std::nullopt
std::optional< std::vector< std::byte > > m_expected_valid_block = std::nullopt

Detailed Description

Definition at line 53 of file bitcoin-chainstate.cpp.

Constructor & Destructor Documentation

◆ TestValidationInterface()

TestValidationInterface::TestValidationInterface ( )
default

Member Function Documentation

◆ BlockChecked() [1/2]

void TestValidationInterface::BlockChecked ( Block block,
BlockValidationStateView state )
inlineoverridevirtual

Reimplemented from btck::ValidationInterface.

Definition at line 60 of file bitcoin-chainstate.cpp.

Here is the call graph for this function:

◆ BlockChecked() [2/2]

void TestValidationInterface::BlockChecked ( Block block,
BlockValidationStateView state )
inlineoverridevirtual

Reimplemented from btck::ValidationInterface.

Definition at line 148 of file test_kernel.cpp.

Here is the call graph for this function:

◆ BlockConnected()

void TestValidationInterface::BlockConnected ( Block block,
BlockTreeEntry entry )
inlineoverridevirtual

Reimplemented from btck::ValidationInterface.

Definition at line 202 of file test_kernel.cpp.

◆ BlockDisconnected()

void TestValidationInterface::BlockDisconnected ( Block block,
BlockTreeEntry entry )
inlineoverridevirtual

Reimplemented from btck::ValidationInterface.

Definition at line 212 of file test_kernel.cpp.

◆ PowValidBlock()

void TestValidationInterface::PowValidBlock ( BlockTreeEntry entry,
Block block )
inlineoverridevirtual

Reimplemented from btck::ValidationInterface.

Definition at line 207 of file test_kernel.cpp.

Member Data Documentation

◆ m_expected_valid_block [1/2]

std::optional<std::string> TestValidationInterface::m_expected_valid_block = std::nullopt

Definition at line 58 of file bitcoin-chainstate.cpp.

◆ m_expected_valid_block [2/2]

std::optional<std::vector<std::byte> > TestValidationInterface::m_expected_valid_block = std::nullopt

Definition at line 146 of file test_kernel.cpp.


The documentation for this class was generated from the following files: