Bitcoin ABC 0.30.7
P2P Digital Currency
|
RAII helper to atomically create a copy of m_nodes
and add a reference to each of the nodes.
More...
Public Member Functions | |
NodesSnapshot (const CConnman &connman, bool shuffle) | |
~NodesSnapshot () | |
const std::vector< CNode * > & | Nodes () const |
Private Attributes | |
std::vector< CNode * > | m_nodes_copy |
RAII helper to atomically create a copy of m_nodes
and add a reference to each of the nodes.
The nodes are released when this object is destroyed.
|
inlineexplicit |
|
inline |
|
private |