Bitcoin Core  27.99.0
P2P Digital Currency
Functions
bloom_tests.cpp File Reference
#include <common/bloom.h>
#include <clientversion.h>
#include <common/system.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/random.h>
#include <test/util/setup_common.h>
#include <uint256.h>
#include <util/strencodings.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 79 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 27 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 54 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 100 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 171 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 212 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 269 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 323 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 361 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 409 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 434 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 464 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ RandomData()

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

Definition at line 458 of file bloom_tests.cpp.

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