MCPcopy Create free account
hub / github.com/Bitcoin-ABC/bitcoin-abc / ToString

Method ToString

src/net_processing.cpp:954–960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

952 : m_txns{parent, child}, m_senders{parent_sender, child_sender} {}
953
954 std::string ToString() const {
955 Assume(m_txns.size() == 2);
956 return strprintf(
957 "parent %s (sender=%d) + child %s (sender=%d)",
958 m_txns.front()->GetId().ToString(), m_senders.front(),
959 m_txns.back()->GetId().ToString(), m_senders.back());
960 }
961 };
962
963 /**

Callers 15

FetchBlockMethod · 0.45
NewPoWValidBlockMethod · 0.45
ProcessGetBlockDataMethod · 0.45
ProcessInvalidTxMethod · 0.45
ProcessValidTxMethod · 0.45
ProcessOrphanTxMethod · 0.45
ProcessGetCFiltersMethod · 0.45
ProcessGetCFHeadersMethod · 0.45

Calls 4

frontMethod · 0.80
backMethod · 0.80
sizeMethod · 0.45
GetIdMethod · 0.45

Tested by

no test coverage detected