Skip to content

Remove db access in packet processing when reading channel information #6051

@NumberFour8

Description

@NumberFour8

Option 1

Packet processing is now querying channel information from the DB, which is expensive.

As we currently have an in-memory representation of the channel graph (called ChannelGraph) that exists as a singleton within the process, we can leverage that for faster channel info access.

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions