Skip to content

Full support for pruned nodes #50

Description

@mononaut

Bitfeed can run on a pruned node (#49), but the user experience is degraded and some features don't work.

Handling pruned data more gracefully would enable full support for pruned nodes.

  • Friendly error message when a searched block or transaction is unavailable due to pruning.
  • Fetch prevouts using gettxout instead of getrawtransaction for transactions in the mempool.
    • even if an ancestor transaction is pruned, the input we need is still stored in the UTXO cache.
      • (only works for mempool transactions)
  • Special handling for pruned/unavailable inputs in the transaction details diagram
    • Label input address as 'pruned' or 'missing'
    • Label amount as 'unknown'
    • Set input line weight as the average unknown fee (i.e. share unused value equally across missing inputs)
      • Draw in a different color?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendAffects the backend serverenhancementAdditional functionalityfrontendAffects the client

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions