Bitcoin ABC 0.30.5
P2P Digital Currency
|
#include <chainparams.h>
#include <common/system.h>
#include <net_processing.h>
#include <protocol.h>
#include <seeder/bitcoin.h>
#include <seeder/db.h>
#include <seeder/test/util.h>
#include <serialize.h>
#include <streams.h>
#include <version.h>
#include <boost/test/unit_test.hpp>
#include <cstdint>
#include <memory>
#include <ostream>
#include <string>
#include <vector>
Go to the source code of this file.
Classes | |
struct | SeederTestingSetup |
struct | MainNetSeederTestingSetup |
Functions | |
std::ostream & | operator<< (std::ostream &os, const PeerMessagingState &state) |
BOOST_AUTO_TEST_CASE (process_version_msg) | |
BOOST_FIXTURE_TEST_CASE (process_verack_msg, MainNetSeederTestingSetup) | |
static CDataStream | CreateAddrMessage (std::vector< CAddress > sendAddrs, uint32_t nVersion=INIT_PROTO_VERSION) |
BOOST_FIXTURE_TEST_CASE (process_addr_msg, MainNetSeederTestingSetup) | |
BOOST_AUTO_TEST_CASE (ban_too_many_headers) | |
BOOST_AUTO_TEST_CASE (empty_headers) | |
BOOST_FIXTURE_TEST_CASE (good_checkpoint, MainNetSeederTestingSetup) | |
BOOST_FIXTURE_TEST_CASE (bad_checkpoint, MainNetSeederTestingSetup) | |
Variables | |
static const uint16_t | SERVICE_PORT = 18444 |
static const int | SEEDER_INIT_VERSION = 0 |
BOOST_AUTO_TEST_CASE | ( | ban_too_many_headers | ) |
BOOST_AUTO_TEST_CASE | ( | empty_headers | ) |
BOOST_AUTO_TEST_CASE | ( | process_version_msg | ) |
BOOST_FIXTURE_TEST_CASE | ( | bad_checkpoint | , |
MainNetSeederTestingSetup | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | good_checkpoint | , |
MainNetSeederTestingSetup | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | process_addr_msg | , |
MainNetSeederTestingSetup | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | process_verack_msg | , |
MainNetSeederTestingSetup | |||
) |
|
static |
Definition at line 125 of file p2p_messaging_tests.cpp.
std::ostream & operator<< | ( | std::ostream & | os, |
const PeerMessagingState & | state | ||
) |
|
static |
Definition at line 71 of file p2p_messaging_tests.cpp.
|
static |
Definition at line 49 of file p2p_messaging_tests.cpp.