MCPcopy Create free account
hub / github.com/ElementsProject/elements / connect

Method connect

src/ipc/capnp/protocol.cpp:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 assert(!m_loop);
48 };
49 std::unique_ptr<interfaces::Init> connect(int fd, const char* exe_name) override
50 {
51 startLoop(exe_name);
52 return mp::ConnectStream<messages::Init>(*m_loop, fd);
53 }
54 void serve(int fd, const char* exe_name, interfaces::Init& init) override
55 {
56 assert(!m_loop);

Callers 15

__init__Method · 0.80
run_testMethod · 0.80
run_testMethod · 0.80
setup_nodesMethod · 0.80
test_ipv6_localFunction · 0.80
stopMethod · 0.80
call_with_authFunction · 0.80
rpccallFunction · 0.80
run_testMethod · 0.80
setup_zmq_testMethod · 0.80
test_ipv6_localFunction · 0.80
stopMethod · 0.80

Calls

no outgoing calls

Tested by 3

test_ipv6_localFunction · 0.64
test_ipv6_localFunction · 0.64
SendCoinsFunction · 0.64