| 1607 | } |
| 1608 | |
| 1609 | void 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 | |
| 1616 | void PeerManagerImpl::InitializeNode(const CNode& node, ServiceFlags our_services) |
| 1617 | { |