![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
#include <net.h>
Public Member Functions | |
| FuzzedNetEvents (FuzzedDataProvider &fdp) | |
| virtual void | InitializeNode (const CNode &, ServiceFlags) override |
| Initialize a peer (setup state) | |
| virtual void | FinalizeNode (const CNode &) override |
| Handle removal of a peer (clear state) | |
| virtual bool | HasAllDesirableServiceFlags (ServiceFlags) const override |
| Callback to determine whether the given set of service flags are sufficient for a peer to be "relevant". | |
| virtual bool | ProcessMessages (CNode &, std::atomic< bool > &) override |
| Process protocol messages received from a given node. | |
| virtual bool | SendMessages (CNode &) override |
| Send queued protocol messages to a given node. | |
Private Attributes | |
| FuzzedDataProvider & | m_fdp |
Additional Inherited Members | |
Static Public Attributes inherited from NetEventsInterface | |
| static Mutex | g_msgproc_mutex |
| Mutex for anything that is only accessed via the msg processing thread. | |
Protected Member Functions inherited from NetEventsInterface | |
| ~NetEventsInterface ()=default | |
| Protected destructor so that instances can only be deleted by derived classes. | |
|
inline |
Handle removal of a peer (clear state)
Implements NetEventsInterface.
|
inlineoverridevirtual |
Callback to determine whether the given set of service flags are sufficient for a peer to be "relevant".
Implements NetEventsInterface.
Definition at line 152 of file net.h.
|
inlineoverridevirtual |
Initialize a peer (setup state)
Implements NetEventsInterface.
|
inlineoverridevirtual |
Process protocol messages received from a given node.
| [in] | node | The node which we have received messages from. |
| [in] | interrupt | Interrupt condition for processing threads |
Implements NetEventsInterface.
Definition at line 154 of file net.h.
Send queued protocol messages to a given node.
| [in] | node | The node which we are sending messages to. |
Implements NetEventsInterface.
Definition at line 156 of file net.h.
|
private |