![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include "net_processing.h"#include "budget/budgetmanager.h"#include "chain.h"#include "evo/deterministicmns.h"#include "evo/mnauth.h"#include "llmq/quorums_blockprocessor.h"#include "llmq/quorums_chainlocks.h"#include "llmq/quorums_dkgsessionmgr.h"#include "llmq/quorums_signing.h"#include "masternode-payments.h"#include "masternode-sync.h"#include "masternodeman.h"#include "merkleblock.h"#include "netbase.h"#include "netmessagemaker.h"#include "primitives/block.h"#include "primitives/transaction.h"#include "spork.h"#include "sporkdb.h"#include "streams.h"#include "tiertwo/tiertwo_sync_state.h"#include "util/validation.h"#include "validation.h"#include <chrono>Go to the source code of this file.
Classes | |
| struct | IteratorComparator |
| struct | COrphanTx |
| class | CompareInvMempoolOrder |
| class | CNetProcessingCleanup |
Functions | |
| std::map< uint256, COrphanTx > mapOrphanTransactions | GUARDED_BY (g_cs_orphans) |
| void | EraseOrphansFor (NodeId peer) |
| For random eviction. More... | |
| bool | GetNodeStateStats (NodeId nodeid, CNodeStateStats &stats) |
| Get statistics from node state. More... | |
| bool | AddOrphanTx (const CTransactionRef &tx, NodeId peer) EXCLUSIVE_LOCKS_REQUIRED(g_cs_orphans) |
| unsigned int | LimitOrphanTxSize (unsigned int nMaxOrphans) |
| void | Misbehaving (NodeId pnode, int howmuch, const std::string &message) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
| Increase a node's misbehavior score. More... | |
| bool | IsBanned (NodeId pnode) |
Variables | |
| RecursiveMutex | g_cs_orphans |
| bool | fRequestedSporksIDB = false |
| class CNetProcessingCleanup | instance_of_cnetprocessingcleanup |
| bool AddOrphanTx | ( | const CTransactionRef & | tx, |
| NodeId | peer | ||
| ) |
Definition at line 517 of file net_processing.cpp.
| void EraseOrphansFor | ( | NodeId | peer | ) |
For random eviction.
Definition at line 578 of file net_processing.cpp.
| bool GetNodeStateStats | ( | NodeId | nodeid, |
| CNodeStateStats & | stats | ||
| ) |
Get statistics from node state.
Definition at line 493 of file net_processing.cpp.
| std::vector< std::map< uint256, COrphanTx >::iterator > g_orphan_list GUARDED_BY | ( | g_cs_orphans | ) |
| bool IsBanned | ( | NodeId | pnode | ) |
| unsigned int LimitOrphanTxSize | ( | unsigned int | nMaxOrphans | ) |
| void Misbehaving | ( | NodeId | pnode, |
| int | howmuch, | ||
| const std::string & | message | ||
| ) |
Increase a node's misbehavior score.
Definition at line 628 of file net_processing.cpp.
| bool fRequestedSporksIDB = false |
Definition at line 1226 of file net_processing.cpp.
| RecursiveMutex g_cs_orphans |
Definition at line 59 of file net_processing.cpp.
| class CNetProcessingCleanup instance_of_cnetprocessingcleanup |