Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Namespaces | 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.

Classes

struct  bloom_tests::BloomTest
 

Namespaces

namespace  bloom_tests
 

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)
 
 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 83 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 35 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 60 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 102 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 173 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 214 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 271 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 325 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: