Fabcoin Core
0.16.2
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) |
void | UpdateLastBlockAnnounceTime (NodeId node, int64_t time_in_seconds) |
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 640 of file net_processing.cpp.
void AddToCompactExtraTransactions | ( | const CTransactionRef & | tx | ) |
Definition at line 629 of file net_processing.cpp.
void EraseOrphansFor | ( | NodeId | peer | ) |
uint32_t GetFetchFlags | ( | CNode * | pfrom | ) |
bool GetNodeStateStats | ( | NodeId | nodeid, |
CNodeStateStats & | stats | ||
) |
Get statistics from node state.
Definition at line 609 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 | ) |
Definition at line 707 of file net_processing.cpp.
void Misbehaving | ( | NodeId | nodeid, |
int | howmuch | ||
) |
Increase a node's misbehavior score.
Definition at line 744 of file net_processing.cpp.
std::atomic<int64_t> nTimeBestReceived | ( | 0 | ) |
void UpdateLastBlockAnnounceTime | ( | NodeId | node, |
int64_t | time_in_seconds | ||
) |
Definition at line 548 of file net_processing.cpp.
class CNetProcessingCleanup instance_of_cnetprocessingcleanup |