-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[net] Add debug messages when receiving old Events
Added debug statements when an EventPut occurs for an event with a timestamp that is older than the Genesis event of the EventGraph. Ideally this shouldn't happen but could theoretically occur if a node does not properly prune its DAG. In order to do this, `genesis` and `days_rotation` were added as fields to EventGraph and 'getter' methods were added to retrieve these values.
- Loading branch information
y
committed
Nov 17, 2023
1 parent
0708f7d
commit c7727c8
Showing
2 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters