Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
NetworkDisable Class Reference

RAII class that disables the network in its constructor and enables it in its destructor. More...

Collaboration diagram for NetworkDisable:
[legend]

Public Member Functions

 NetworkDisable (CConnman &connman)
 ~NetworkDisable ()

Private Attributes

CConnmanm_connman

Detailed Description

RAII class that disables the network in its constructor and enables it in its destructor.

Definition at line 3015 of file blockchain.cpp.

Constructor & Destructor Documentation

◆ NetworkDisable()

NetworkDisable::NetworkDisable ( CConnman & connman)
inline

Definition at line 3019 of file blockchain.cpp.

◆ ~NetworkDisable()

NetworkDisable::~NetworkDisable ( )
inline

Definition at line 3025 of file blockchain.cpp.

Member Data Documentation

◆ m_connman

CConnman& NetworkDisable::m_connman
private

Definition at line 3017 of file blockchain.cpp.


The documentation for this class was generated from the following file: