Bitcoin Core  22.99.0
P2P Digital Currency
Functions
bloom_tests.cpp File Reference
#include <bloom.h>
#include <clientversion.h>
#include <key.h>
#include <key_io.h>
#include <merkleblock.h>
#include <primitives/block.h>
#include <random.h>
#include <serialize.h>
#include <streams.h>
#include <test/util/setup_common.h>
#include <uint256.h>
#include <util/strencodings.h>
#include <util/system.h>
#include <vector>
#include <boost/test/unit_test.hpp>
Include dependency graph for bloom_tests.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (bloom_create_insert_serialize)
 
 BOOST_AUTO_TEST_CASE (bloom_create_insert_serialize_with_tweak)
 
 BOOST_AUTO_TEST_CASE (bloom_create_insert_key)
 
 BOOST_AUTO_TEST_CASE (bloom_match)
 
 BOOST_AUTO_TEST_CASE (merkle_block_1)
 
 BOOST_AUTO_TEST_CASE (merkle_block_2)
 
 BOOST_AUTO_TEST_CASE (merkle_block_2_with_update_none)
 
 BOOST_AUTO_TEST_CASE (merkle_block_3_and_serialize)
 
 BOOST_AUTO_TEST_CASE (merkle_block_4)
 
 BOOST_AUTO_TEST_CASE (merkle_block_4_test_p2pubkey_only)
 
 BOOST_AUTO_TEST_CASE (merkle_block_4_test_update_none)
 
static std::vector< unsigned char > RandomData ()
 
 BOOST_AUTO_TEST_CASE (rolling_bloom)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/12]

BOOST_AUTO_TEST_CASE ( bloom_create_insert_key  )

Definition at line 76 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/12]

BOOST_AUTO_TEST_CASE ( bloom_create_insert_serialize  )

Definition at line 26 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/12]

BOOST_AUTO_TEST_CASE ( bloom_create_insert_serialize_with_tweak  )

Definition at line 52 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/12]

BOOST_AUTO_TEST_CASE ( bloom_match  )

Definition at line 96 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/12]

BOOST_AUTO_TEST_CASE ( merkle_block_1  )

Definition at line 165 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/12]

BOOST_AUTO_TEST_CASE ( merkle_block_2  )

Definition at line 206 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [7/12]

BOOST_AUTO_TEST_CASE ( merkle_block_2_with_update_none  )

Definition at line 261 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [8/12]

BOOST_AUTO_TEST_CASE ( merkle_block_3_and_serialize  )

Definition at line 313 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [9/12]

BOOST_AUTO_TEST_CASE ( merkle_block_4  )

Definition at line 348 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [10/12]

BOOST_AUTO_TEST_CASE ( merkle_block_4_test_p2pubkey_only  )

Definition at line 394 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [11/12]

BOOST_AUTO_TEST_CASE ( merkle_block_4_test_update_none  )

Definition at line 417 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [12/12]

BOOST_AUTO_TEST_CASE ( rolling_bloom  )

Definition at line 445 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ RandomData()

static std::vector<unsigned char> RandomData ( )
static

Definition at line 439 of file bloom_tests.cpp.

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