This function is used for testing the stale tip eviction logic, see denialofservice_tests.cpp

Synopsis

Declared in <net_processing.h>

virtual
void
UpdateLastBlockAnnounceTime(
    NodeId node,
    int64_t time_in_seconds) = 0;

Parameters

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.

Created with MrDocs