![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include "test/test_pivx.h"#include "arith_uint256.h"#include "keystore.h"#include "net_processing.h"#include "net.h"#include "pubkey.h"#include "pow.h"#include "script/sign.h"#include "serialize.h"#include "util/system.h"#include "validation.h"#include <stdint.h>#include <boost/test/unit_test.hpp>Go to the source code of this file.
Classes | |
| struct | COrphanTx |
Functions | |
| bool | AddOrphanTx (const CTransactionRef &tx, NodeId peer) |
| void | EraseOrphansFor (NodeId peer) |
| For random eviction. More... | |
| unsigned int | LimitOrphanTxSize (unsigned int nMaxOrphans) |
| std::map< uint256, COrphanTx > mapOrphanTransactions | GUARDED_BY (g_cs_orphans) |
| CService | ip (uint32_t i) |
| void | misbehave (NodeId id, int value) |
| BOOST_AUTO_TEST_CASE (DoS_banning) | |
| BOOST_AUTO_TEST_CASE (DoS_banscore) | |
| BOOST_AUTO_TEST_CASE (DoS_bantime) | |
| CTransactionRef | RandomOrphan () |
| BOOST_AUTO_TEST_CASE (DoS_mapOrphans) | |
Variables | |
| RecursiveMutex | g_cs_orphans |
| bool AddOrphanTx | ( | const CTransactionRef & | tx, |
| NodeId | peer | ||
| ) |
Definition at line 517 of file net_processing.cpp.
| BOOST_AUTO_TEST_CASE | ( | DoS_banning | ) |
Definition at line 55 of file DoS_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | DoS_banscore | ) |
| BOOST_AUTO_TEST_CASE | ( | DoS_bantime | ) |
| BOOST_AUTO_TEST_CASE | ( | DoS_mapOrphans | ) |
| void EraseOrphansFor | ( | NodeId | peer | ) |
For random eviction.
Definition at line 578 of file net_processing.cpp.
| std::map<uint256, COrphanTx> mapOrphanTransactions GUARDED_BY | ( | g_cs_orphans | ) |
| CService ip | ( | uint32_t | i | ) |
Definition at line 39 of file DoS_tests.cpp.
| unsigned int LimitOrphanTxSize | ( | unsigned int | nMaxOrphans | ) |
| void misbehave | ( | NodeId | id, |
| int | value | ||
| ) |
| CTransactionRef RandomOrphan | ( | ) |
Definition at line 157 of file DoS_tests.cpp.
|
extern |
Definition at line 59 of file net_processing.cpp.