Skip to content

2-week timestamp expiry on channel_update implies timestamp is epoch time #302

@rustyrussell

Description

@rustyrussell

Section 7 says "nodes MAY prune channels should the timestamp of the latest channel_update be older than 2 weeks (1209600 seconds)"

Yet timestamps are only required to be sequential, not an actual timestamp ("The creating node MUST set timestamp to be greater than that for any previous node_announcement it has created. It MAY base it on a UNIX timestamp.", so there's no way to know the age of a timestamp, at least not by looking at the timestamp.

Reported-by: @shannona

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions