Bitcoin ABC 0.30.7
P2P Digital Currency
|
#include <avalanche/delegationbuilder.h>
#include <avalanche/peermanager.h>
#include <avalanche/proofbuilder.h>
#include <avalanche/proofcomparator.h>
#include <avalanche/statistics.h>
#include <avalanche/test/util.h>
#include <cashaddrenc.h>
#include <config.h>
#include <consensus/activation.h>
#include <core_io.h>
#include <key_io.h>
#include <script/standard.h>
#include <uint256.h>
#include <util/fs_helpers.h>
#include <util/time.h>
#include <util/translation.h>
#include <validation.h>
#include <test/util/blockindex.h>
#include <test/util/random.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>
#include <limits>
#include <optional>
#include <unordered_map>
Go to the source code of this file.
Namespaces | |
namespace | avalanche |
Functions | |
BOOST_AUTO_TEST_CASE (select_peer_linear) | |
BOOST_AUTO_TEST_CASE (select_peer_dichotomic) | |
BOOST_AUTO_TEST_CASE (select_peer_random) | |
static void | addNodeWithScore (Chainstate &active_chainstate, avalanche::PeerManager &pm, NodeId node, uint32_t score) |
BOOST_AUTO_TEST_CASE (peer_probabilities) | |
BOOST_AUTO_TEST_CASE (remove_peer) | |
BOOST_AUTO_TEST_CASE (compact_slots) | |
BOOST_AUTO_TEST_CASE (node_crud) | |
BOOST_AUTO_TEST_CASE (node_binding) | |
BOOST_AUTO_TEST_CASE (node_binding_reorg) | |
BOOST_AUTO_TEST_CASE (proof_conflict) | |
BOOST_AUTO_TEST_CASE (immature_proofs) | |
BOOST_AUTO_TEST_CASE (dangling_node) | |
BOOST_AUTO_TEST_CASE (proof_accessors) | |
BOOST_FIXTURE_TEST_CASE (conflicting_proof_rescan, NoCoolDownFixture) | |
BOOST_FIXTURE_TEST_CASE (conflicting_proof_selection, NoCoolDownFixture) | |
BOOST_AUTO_TEST_CASE (conflicting_immature_proofs) | |
BOOST_FIXTURE_TEST_CASE (preferred_conflicting_proof, NoCoolDownFixture) | |
BOOST_FIXTURE_TEST_CASE (update_next_conflict_time, NoCoolDownFixture) | |
BOOST_FIXTURE_TEST_CASE (register_force_accept, NoCoolDownFixture) | |
BOOST_FIXTURE_TEST_CASE (evicted_proof, NoCoolDownFixture) | |
BOOST_AUTO_TEST_CASE (conflicting_proof_cooldown) | |
BOOST_FIXTURE_TEST_CASE (reject_proof, NoCoolDownFixture) | |
BOOST_AUTO_TEST_CASE (should_request_more_nodes) | |
BOOST_AUTO_TEST_CASE (score_ordering) | |
BOOST_FIXTURE_TEST_CASE (known_score_tracking, NoCoolDownFixture) | |
BOOST_AUTO_TEST_CASE (connected_score_tracking) | |
BOOST_FIXTURE_TEST_CASE (proof_radix_tree, NoCoolDownFixture) | |
BOOST_AUTO_TEST_CASE (received_avaproofs) | |
BOOST_FIXTURE_TEST_CASE (cleanup_dangling_proof, NoCoolDownFixture) | |
BOOST_AUTO_TEST_CASE (register_proof_missing_utxo) | |
BOOST_FIXTURE_TEST_CASE (proof_expiry, NoCoolDownFixture) | |
BOOST_AUTO_TEST_CASE (peer_availability_score) | |
BOOST_AUTO_TEST_CASE (select_staking_reward_winner) | |
BOOST_AUTO_TEST_CASE (remote_proof) | |
BOOST_AUTO_TEST_CASE (get_remote_status) | |
BOOST_AUTO_TEST_CASE (dangling_with_remotes) | |
BOOST_AUTO_TEST_CASE (avapeers_dump) | |
BOOST_AUTO_TEST_CASE (dangling_proof_invalidation) | |
|
static |
Definition at line 344 of file peermanager_tests.cpp.
BOOST_AUTO_TEST_CASE | ( | avapeers_dump | ) |
BOOST_AUTO_TEST_CASE | ( | compact_slots | ) |
BOOST_AUTO_TEST_CASE | ( | conflicting_immature_proofs | ) |
BOOST_AUTO_TEST_CASE | ( | conflicting_proof_cooldown | ) |
BOOST_AUTO_TEST_CASE | ( | connected_score_tracking | ) |
BOOST_AUTO_TEST_CASE | ( | dangling_node | ) |
BOOST_AUTO_TEST_CASE | ( | dangling_proof_invalidation | ) |
BOOST_AUTO_TEST_CASE | ( | dangling_with_remotes | ) |
BOOST_AUTO_TEST_CASE | ( | get_remote_status | ) |
BOOST_AUTO_TEST_CASE | ( | immature_proofs | ) |
BOOST_AUTO_TEST_CASE | ( | node_binding | ) |
BOOST_AUTO_TEST_CASE | ( | node_binding_reorg | ) |
BOOST_AUTO_TEST_CASE | ( | node_crud | ) |
BOOST_AUTO_TEST_CASE | ( | peer_availability_score | ) |
BOOST_AUTO_TEST_CASE | ( | peer_probabilities | ) |
BOOST_AUTO_TEST_CASE | ( | proof_accessors | ) |
BOOST_AUTO_TEST_CASE | ( | proof_conflict | ) |
BOOST_AUTO_TEST_CASE | ( | received_avaproofs | ) |
BOOST_AUTO_TEST_CASE | ( | register_proof_missing_utxo | ) |
BOOST_AUTO_TEST_CASE | ( | remote_proof | ) |
BOOST_AUTO_TEST_CASE | ( | remove_peer | ) |
BOOST_AUTO_TEST_CASE | ( | score_ordering | ) |
BOOST_AUTO_TEST_CASE | ( | select_peer_dichotomic | ) |
BOOST_AUTO_TEST_CASE | ( | select_peer_linear | ) |
BOOST_AUTO_TEST_CASE | ( | select_peer_random | ) |
BOOST_AUTO_TEST_CASE | ( | select_staking_reward_winner | ) |
BOOST_AUTO_TEST_CASE | ( | should_request_more_nodes | ) |
BOOST_FIXTURE_TEST_CASE | ( | cleanup_dangling_proof | , |
NoCoolDownFixture | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | conflicting_proof_rescan | , |
NoCoolDownFixture | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | conflicting_proof_selection | , |
NoCoolDownFixture | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | evicted_proof | , |
NoCoolDownFixture | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | known_score_tracking | , |
NoCoolDownFixture | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | preferred_conflicting_proof | , |
NoCoolDownFixture | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | proof_expiry | , |
NoCoolDownFixture | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | proof_radix_tree | , |
NoCoolDownFixture | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | register_force_accept | , |
NoCoolDownFixture | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | reject_proof | , |
NoCoolDownFixture | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | update_next_conflict_time | , |
NoCoolDownFixture | |||
) |