Bitcoin Core 31.99.0
P2P Digital Currency
Functions
private_broadcast_tests.cpp File Reference
#include <primitives/transaction.h>
#include <private_broadcast.h>
#include <test/util/setup_common.h>
#include <test/util/time.h>
#include <algorithm>
#include <ostream>
#include <boost/test/unit_test.hpp>
Include dependency graph for private_broadcast_tests.cpp:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, PrivateBroadcast::AddResult r)
 
static CTransactionRef MakeDummyTx (uint32_t id, size_t num_witness)
 
 BOOST_AUTO_TEST_CASE (basic)
 
 BOOST_AUTO_TEST_CASE (stale_unpicked_tx)
 
 BOOST_AUTO_TEST_CASE (rejection_at_cap)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/3]

BOOST_AUTO_TEST_CASE ( basic  )

Definition at line 39 of file private_broadcast_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/3]

BOOST_AUTO_TEST_CASE ( rejection_at_cap  )

Definition at line 172 of file private_broadcast_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/3]

BOOST_AUTO_TEST_CASE ( stale_unpicked_tx  )

Definition at line 154 of file private_broadcast_tests.cpp.

Here is the call graph for this function:

◆ MakeDummyTx()

static CTransactionRef MakeDummyTx ( uint32_t  id,
size_t  num_witness 
)
static

Definition at line 27 of file private_broadcast_tests.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
PrivateBroadcast::AddResult  r 
)

Definition at line 15 of file private_broadcast_tests.cpp.

Here is the call graph for this function: