Skip to content

Include channel epoch in computing channel ID hash #5597

@QYuQianchen

Description

@QYuQianchen

Description

Current channelID is calculated with keccak256(src,dest) where channel epoch is not included in the calculation.
However, the channel epoch should likely be part of the channel ID, cause then we have to check back and post-process and prune the data in the DB for channels reopened in different epochs causing some issues.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions