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

Method Send

src/test/net_tests.cpp:1152–1155  ·  view source on GitHub ↗

Schedule bytes to be sent to the transport. */

Source from the content-addressed store, hash-verified

1150
1151 /** Schedule bytes to be sent to the transport. */
1152 void Send(std::span<const uint8_t> data)
1153 {
1154 m_to_send.insert(m_to_send.end(), data.begin(), data.end());
1155 }
1156
1157 /** Send V1 version message header to the transport. */
1158 void SendV1Version(const MessageStartChars& magic)

Callers

nothing calls this directly

Calls 4

MakeUCharSpanFunction · 0.85
insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected