MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / Copy

Method Copy

src/net.h:128–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126 CSerializedNetMsg& operator=(const CSerializedNetMsg&) = delete;
127
128 CSerializedNetMsg Copy() const
129 {
130 CSerializedNetMsg copy;
131 copy.data = data;
132 copy.m_type = m_type;
133 return copy;
134 }
135
136 std::vector<unsigned char> data;
137 std::string m_type;

Callers 2

NewPoWValidBlockMethod · 0.80
SimulationTestFunction · 0.80

Calls

no outgoing calls

Tested by 1

SimulationTestFunction · 0.64