MCPcopy Create free account
hub / github.com/bcndev/bytecoin / process_requests

Method process_requests

src/p2p/P2P.cpp:80–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void P2PClient::process_requests() {
81 BinaryArray header, body;
82 while (m_protocol && read_next_request(header, body))
83 m_protocol->on_request_ready(std::move(header), std::move(body));
84}
85
86bool P2PClient::read_next_request(BinaryArray &header, BinaryArray &body) {
87 advance_state(false);

Callers

nothing calls this directly

Calls 1

on_request_readyMethod · 0.80

Tested by

no test coverage detected