Dogecoin Core
1.14.2
P2P Digital Currency
|
Go to the source code of this file.
Classes | |
class | PeerLogicValidation |
struct | CNodeStateStats |
Functions | |
void | RegisterNodeSignals (CNodeSignals &nodeSignals) |
Register with a network node to receive its signals. More... | |
void | UnregisterNodeSignals (CNodeSignals &nodeSignals) |
Unregister a network node. More... | |
bool | GetNodeStateStats (NodeId nodeid, CNodeStateStats &stats) |
Get statistics from node state. More... | |
void | Misbehaving (NodeId nodeid, int howmuch) |
Increase a node's misbehavior score. More... | |
bool | ProcessMessages (CNode *pfrom, CConnman &connman, const std::atomic< bool > &interrupt) |
Process protocol messages received from a given node. More... | |
bool | SendMessages (CNode *pto, CConnman &connman, const std::atomic< bool > &interrupt) |
Send queued protocol messages to be sent to a give node. More... | |
bool GetNodeStateStats | ( | NodeId | nodeid, |
CNodeStateStats & | stats | ||
) |
Get statistics from node state.
Definition at line 560 of file net_processing.cpp.
void Misbehaving | ( | NodeId | nodeid, |
int | howmuch | ||
) |
Increase a node's misbehavior score.
Definition at line 711 of file net_processing.cpp.
Process protocol messages received from a given node.
Definition at line 2673 of file net_processing.cpp.
void RegisterNodeSignals | ( | CNodeSignals & | nodeSignals | ) |
Register with a network node to receive its signals.
Definition at line 575 of file net_processing.cpp.
Send queued protocol messages to be sent to a give node.
[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 |
Definition at line 2810 of file net_processing.cpp.
void UnregisterNodeSignals | ( | CNodeSignals & | nodeSignals | ) |
Unregister a network node.
Definition at line 583 of file net_processing.cpp.