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

Method ReceiveMsgFrom

src/test/util/net.cpp:33–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33bool ConnmanTestMsg::ReceiveMsgFrom(CNode& node, CSerializedNetMsg& ser_msg) const
34{
35 std::vector<uint8_t> ser_msg_header;
36 node.m_serializer->prepareForTransport(ser_msg, ser_msg_header);
37
38 bool complete;
39 NodeReceiveMsgBytes(node, ser_msg_header, complete);
40 NodeReceiveMsgBytes(node, ser_msg.data, complete);
41 return complete;
42}
43
44std::vector<NodeEvictionCandidate> GetRandomNodeEvictionCandidates(int n_candidates, FastRandomContext& random_context)
45{

Callers 2

FUZZ_TARGET_INITFunction · 0.80
FillNodeFunction · 0.80

Calls 1

prepareForTransportMethod · 0.80

Tested by

no test coverage detected