Skip to content

Per-channel mutexes #422

Closed
Closed
@TheBlueMatt

Description

@TheBlueMatt

We should move channels into their own mutexes in ChannelManager, both for performance, and to make reasoning about things like #398 easier. I think the correct way is to have per-channel pending_msg_events queue and then have the cross-channel events (forward_htlcs and claimable_htlcs) live in their own mutexes. While we're at it, we should index channel ids by peer pubkeys, fixing #105.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions