Bitcoin Core 32.99.0
P2P Digital Currency
Loading...
Searching...
No Matches
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/common.h>
#include <test/util/random.h>
#include <test/util/setup_common.h>
#include <uint256.h>
#include <util/check.h>
#include <util/strencodings.h>
#include <cfenv>
#include <cmath>
#include <limits>
#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_filter_size)
 
 BOOST_AUTO_TEST_CASE (bloom_create_insert_empty)
 
 BOOST_AUTO_TEST_CASE (bloom_create_invalid_false_positive_rate)
 
 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/15]

BOOST_AUTO_TEST_CASE ( bloom_create_filter_size  )

Definition at line 65 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/15]

BOOST_AUTO_TEST_CASE ( bloom_create_insert_empty  )

Definition at line 91 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/15]

BOOST_AUTO_TEST_CASE ( bloom_create_insert_key  )

Definition at line 135 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/15]

BOOST_AUTO_TEST_CASE ( bloom_create_insert_serialize  )

Definition at line 40 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/15]

BOOST_AUTO_TEST_CASE ( bloom_create_insert_serialize_with_tweak  )

Definition at line 112 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/15]

BOOST_AUTO_TEST_CASE ( bloom_create_invalid_false_positive_rate  )

Definition at line 100 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [7/15]

BOOST_AUTO_TEST_CASE ( bloom_match  )

Definition at line 154 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [8/15]

BOOST_AUTO_TEST_CASE ( merkle_block_1  )

Definition at line 225 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [9/15]

BOOST_AUTO_TEST_CASE ( merkle_block_2  )

Definition at line 266 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [10/15]

BOOST_AUTO_TEST_CASE ( merkle_block_2_with_update_none  )

Definition at line 323 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [11/15]

BOOST_AUTO_TEST_CASE ( merkle_block_3_and_serialize  )

Definition at line 377 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [12/15]

BOOST_AUTO_TEST_CASE ( merkle_block_4  )

Definition at line 413 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [13/15]

BOOST_AUTO_TEST_CASE ( merkle_block_4_test_p2pubkey_only  )

Definition at line 461 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [14/15]

BOOST_AUTO_TEST_CASE ( merkle_block_4_test_update_none  )

Definition at line 486 of file bloom_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [15/15]

BOOST_AUTO_TEST_CASE ( rolling_bloom  )

Definition at line 516 of file bloom_tests.cpp.

Here is the call graph for this function: