[#PeerManager-UpdateLastBlockAnnounceTime] = xref:PeerManager.adoc[PeerManager]::UpdateLastBlockAnnounceTime :relfileprefix: ../ :mrdocs: This function is used for testing the stale tip eviction logic, see denialofservice_tests.cpp == Synopsis Declared in `<net_processing.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void UpdateLastBlockAnnounceTime( xref:NodeId-08.adoc[NodeId] node, int64_t time_in_seconds) = 0; ---- == Parameters [cols="1,4"] |=== | Name| Description | *node* | The id of the peer whose last block announcement time is updated. | *time_in_seconds* | The announcement time to record, in seconds since the epoch. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#