MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / connected_cb

Method connected_cb

src/torcontrol.cpp:683–689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

681}
682
683void TorController::connected_cb(TorControlConnection& _conn)
684{
685 reconnect_timeout = RECONNECT_TIMEOUT_START;
686 // First send a PROTOCOLINFO command to figure out what authentication is expected
687 if (!_conn.Command("PROTOCOLINFO 1", boost::bind(&TorController::protocolinfo_cb, this, _1, _2)))
688 LogPrintf("tor: Error sending initial protocolinfo command\n");
689}
690
691void TorController::disconnected_cb(TorControlConnection& _conn)
692{

Callers

nothing calls this directly

Calls 1

CommandMethod · 0.80

Tested by

no test coverage detected