Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Functions | Variables
net_processing.cpp File Reference
#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>
Include dependency graph for net_processing.cpp:

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
 

Function Documentation

bool AddOrphanTx ( const CTransactionRef tx,
NodeId  peer 
)

Definition at line 640 of file net_processing.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void AddToCompactExtraTransactions ( const CTransactionRef tx)

Definition at line 629 of file net_processing.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void EraseOrphansFor ( NodeId  peer)

Definition at line 691 of file net_processing.cpp.

Here is the caller graph for this function:

uint32_t GetFetchFlags ( CNode pfrom)

Definition at line 1211 of file net_processing.cpp.

Here is the caller graph for this function:

bool GetNodeStateStats ( NodeId  nodeid,
CNodeStateStats stats 
)

Get statistics from node state.

Definition at line 609 of file net_processing.cpp.

Here is the caller graph for this function:

static std::vector< std::pair< uint256, CTransactionRef > > vExtraTxnForCompact GUARDED_BY ( cs_main  )
bool IsOutboundDisconnectionCandidate ( const CNode node)

Definition at line 557 of file net_processing.cpp.

Here is the caller graph for this function:

unsigned int LimitOrphanTxSize ( unsigned int  nMaxOrphans)

Definition at line 707 of file net_processing.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void Misbehaving ( NodeId  nodeid,
int  howmuch 
)

Increase a node's misbehavior score.

Definition at line 744 of file net_processing.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

std::atomic<int64_t> nTimeBestReceived ( )

Here is the caller graph for this function:

void UpdateLastBlockAnnounceTime ( NodeId  node,
int64_t  time_in_seconds 
)

Definition at line 548 of file net_processing.cpp.

Variable Documentation

class CNetProcessingCleanup instance_of_cnetprocessingcleanup