Go to the source code of this file.
|
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 | GetNodeStateStats (NodeId nodeid, CNodeStateStats &stats) |
| Get statistics from node state. More...
|
|
void | RegisterNodeSignals (CNodeSignals &nodeSignals) |
| Register with a network node to receive its signals. More...
|
|
void | UnregisterNodeSignals (CNodeSignals &nodeSignals) |
| Unregister a network node. 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, const CBlockIndex *pprev, const Consensus::Params &chainparams) |
|
bool | ProcessMessages (CNode *pfrom, CConnman &connman, const std::atomic< bool > &interruptMsgProc) |
| Process protocol messages received from a given node. More...
|
|
bool | SendMessages (CNode *pto, CConnman &connman, const std::atomic< bool > &interruptMsgProc) |
| Send queued protocol messages to be sent to a give node. More...
|
|
◆ AddOrphanTx()
◆ AddToCompactExtraTransactions()
◆ EraseOrphansFor()
void EraseOrphansFor |
( |
NodeId |
peer | ) |
|
◆ GetFetchFlags()
◆ GetNodeStateStats()
◆ GUARDED_BY()
◆ LimitOrphanTxSize()
unsigned int LimitOrphanTxSize |
( |
unsigned int |
nMaxOrphans | ) |
|
◆ Misbehaving()
void Misbehaving |
( |
NodeId |
pnode, |
|
|
int |
howmuch |
|
) |
| |
◆ nTimeBestReceived()
std::atomic<int64_t> nTimeBestReceived |
( |
0 |
| ) |
|
◆ ProcessMessages()
bool ProcessMessages |
( |
CNode * |
pfrom, |
|
|
CConnman & |
connman, |
|
|
const std::atomic< bool > & |
interruptMsgProc |
|
) |
| |
◆ RegisterNodeSignals()
◆ SendMessages()
bool SendMessages |
( |
CNode * |
pto, |
|
|
CConnman & |
connman, |
|
|
const std::atomic< bool > & |
interrupt |
|
) |
| |
Send queued protocol messages to be sent to a give node.
- Parameters
-
[in] | pto | The node which we are sending messages to. |
[in] | connman | The connection manager for that node. |
[in] | interrupt | Interrupt condition for processing threads |
- Returns
- True if there is more work to be done
Definition at line 2810 of file net_processing.cpp.
◆ UnregisterNodeSignals()
◆ instance_of_cnetprocessingcleanup