Raven Core
3.0.0
P2P Digital Currency
|
#include "net_processing.h"
#include "addrman.h"
#include "arith_uint256.h"
#include "blockencodings.h"
#include "chainparams.h"
#include "consensus/validation.h"
#include "hash.h"
#include "init.h"
#include "validation.h"
#include "merkleblock.h"
#include "net.h"
#include "netmessagemaker.h"
#include "netbase.h"
#include "policy/fees.h"
#include "policy/policy.h"
#include "primitives/block.h"
#include "primitives/transaction.h"
#include "random.h"
#include "reverse_iterator.h"
#include "scheduler.h"
#include "tinyformat.h"
#include "txmempool.h"
#include "ui_interface.h"
#include "util.h"
#include "utilmoneystr.h"
#include "utilstrencodings.h"
#include "validationinterface.h"
Go to the source code of this file.
Classes | |
struct | IteratorComparator |
struct | COrphanTx |
class | CompareInvMempoolOrder |
class | CNetProcessingCleanup |
Functions | |
std::atomic< int64_t > | nTimeBestReceived (0) |
std::map< uint256, COrphanTx > mapOrphanTransactions | GUARDED_BY (cs_main) |
void | EraseOrphansFor (NodeId peer) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
bool | IsOutboundDisconnectionCandidate (const CNode *node) |
bool | GetNodeStateStats (NodeId nodeid, CNodeStateStats &stats) |
Get statistics from node state. More... | |
void | AddToCompactExtraTransactions (const CTransactionRef &tx) |
bool | AddOrphanTx (const CTransactionRef &tx, NodeId peer) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
unsigned int | LimitOrphanTxSize (unsigned int nMaxOrphans) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
void | Misbehaving (NodeId pnode, int howmuch) |
Increase a node's misbehavior score. More... | |
uint32_t | GetFetchFlags (CNode *pfrom) |
Variables | |
class CNetProcessingCleanup | instance_of_cnetprocessingcleanup |
bool AddOrphanTx | ( | const CTransactionRef & | tx, |
NodeId | peer | ||
) |
Definition at line 639 of file net_processing.cpp.
void AddToCompactExtraTransactions | ( | const CTransactionRef & | tx | ) |
void EraseOrphansFor | ( | NodeId | peer | ) |
uint32_t GetFetchFlags | ( | CNode * | pfrom | ) |
bool GetNodeStateStats | ( | NodeId | nodeid, |
CNodeStateStats & | stats | ||
) |
Get statistics from node state.
Definition at line 608 of file net_processing.cpp.
static std::vector< std::pair< uint256, CTransactionRef > > vExtraTxnForCompact GUARDED_BY | ( | cs_main | ) |
bool IsOutboundDisconnectionCandidate | ( | const CNode * | node | ) |
unsigned int LimitOrphanTxSize | ( | unsigned int | nMaxOrphans | ) |
void Misbehaving | ( | NodeId | nodeid, |
int | howmuch | ||
) |
Increase a node's misbehavior score.
Definition at line 743 of file net_processing.cpp.
std::atomic<int64_t> nTimeBestReceived | ( | 0 | ) |
class CNetProcessingCleanup instance_of_cnetprocessingcleanup |