Bitcoin ABC 0.30.5
P2P Digital Currency
|
#include <avalanche/stakecontendercache.h>
#include <avalanche/peermanager.h>
#include <script/script.h>
#include <avalanche/test/util.h>
#include <test/util/random.h>
#include <test/util/setup_common.h>
#include <util/time.h>
#include <boost/test/unit_test.hpp>
#include <limits>
Go to the source code of this file.
Functions | |
static void | CheckWinners (StakeContenderCache &cache, const BlockHash &prevblockhash, std::vector< CScript > manualWinners, std::vector< ProofRef > avalancheWinners) |
static void | CheckVoteStatus (StakeContenderCache &cache, const BlockHash &prevblockhash, const ProofRef &proof, int expected) |
BOOST_AUTO_TEST_CASE (vote_status_tests) | |
BOOST_AUTO_TEST_CASE (winners_tests) | |
BOOST_AUTO_TEST_CASE (cleanup_tests) | |
BOOST_FIXTURE_TEST_CASE (promote_tests, PeerManagerFixture) | |
BOOST_AUTO_TEST_CASE | ( | cleanup_tests | ) |
Definition at line 288 of file stakecontendercache_tests.cpp.
BOOST_AUTO_TEST_CASE | ( | vote_status_tests | ) |
Definition at line 101 of file stakecontendercache_tests.cpp.
BOOST_AUTO_TEST_CASE | ( | winners_tests | ) |
Definition at line 141 of file stakecontendercache_tests.cpp.
BOOST_FIXTURE_TEST_CASE | ( | promote_tests | , |
PeerManagerFixture | |||
) |
Definition at line 442 of file stakecontendercache_tests.cpp.
|
static |
Definition at line 88 of file stakecontendercache_tests.cpp.
|
static |
Definition at line 34 of file stakecontendercache_tests.cpp.