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

Method SendGarbageTerm

src/test/net_tests.cpp:1235–1239  ·  view source on GitHub ↗

Schedule garbage terminator to be sent to the transport (only after ReceiveKey). */

Source from the content-addressed store, hash-verified

1233
1234 /** Schedule garbage terminator to be sent to the transport (only after ReceiveKey). */
1235 void SendGarbageTerm()
1236 {
1237 // Schedule the garbage terminator to be sent.
1238 Send(m_cipher.GetSendGarbageTerminator());
1239 }
1240
1241 /** Schedule version packet to be sent to the transport (only after ReceiveKey). */
1242 void SendVersion(std::span<const uint8_t> version_data = {}, bool vers_ignore = false)

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 1

Tested by

no test coverage detected