Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full support for pruned nodes #50

Open
3 tasks
mononaut opened this issue May 23, 2022 · 1 comment
Open
3 tasks

Full support for pruned nodes #50

mononaut opened this issue May 23, 2022 · 1 comment
Labels
backend Affects the backend server enhancement Additional functionality frontend Affects the client

Comments

@mononaut
Copy link
Collaborator

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?
@mononaut mononaut added enhancement Additional functionality backend Affects the backend server frontend Affects the client labels May 23, 2022
@SergioGlorias
Copy link

SergioGlorias commented May 23, 2022

When the transaction without information that is in the mempool
the input is "unknown" and the fee paid does not appear due to not knowing
Note: when I wrote in #49, the screen also did not appear
image

on the other hand transactions he doesn't know and are already in the block he doesn't show anything

bitfeed-click-tx-in-block-unknown.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Affects the backend server enhancement Additional functionality frontend Affects the client
Projects
None yet
Development

No branches or pull requests

2 participants