Skip to content

Improvements to the data stored in AuditDb #2977

@t-bast

Description

@t-bast

We're missing a lot of data that would be really useful for auditing the economical performance of our peers. The goal of this issue is to gather the list of additional data we'd like to store. Feel free to comment with additional data that should be added.

  • when a tx is published or confirms: store its feerate, input count and output count (and amounts?)
  • channel relay: use incoming/outgoing node_id instead of channel_id?
  • provide an API to evaluate routing fees earned for incoming/outgoing nodes
    • fees earned from relaying payments
    • fees paid in liquidity operations (channel creation / splice transactions)
    • what else?

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