Skip to content

Optimize Network Graph Loading #21

Description

@tareknaser

In barq-plugin, we currently load the entire network graph (including the gossip map) each time the pay command is called. This approach is redundant and can be inefficient, especially since the gossip map can be quite large (potentially in GBs).

To improve efficiency, we should:

  • Store the network graph along with hints from the gossip map in the plugin state.
  • Maybe implement a cron job or similar mechanism to update the network graph periodically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions