MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / UpdateLastBlockAnnounceTime

Method UpdateLastBlockAnnounceTime

src/net_processing.cpp:1609–1614  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1607}
1608
1609void PeerManagerImpl::UpdateLastBlockAnnounceTime(NodeId node, int64_t time_in_seconds)
1610{
1611 LOCK(cs_main);
1612 CNodeState *state = State(node);
1613 if (state) state->m_last_block_announcement = time_in_seconds;
1614}
1615
1616void PeerManagerImpl::InitializeNode(const CNode& node, ServiceFlags our_services)
1617{

Callers 1

BOOST_FIXTURE_TEST_CASEFunction · 0.80

Calls 1

StateEnum · 0.70

Tested by 1

BOOST_FIXTURE_TEST_CASEFunction · 0.64