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

panel idea: Mempool Fee Histogram as Time Series #84

Open
vicariousdrama opened this issue May 6, 2022 · 0 comments
Open

panel idea: Mempool Fee Histogram as Time Series #84

vicariousdrama opened this issue May 6, 2022 · 0 comments
Labels
enhancement New feature or request panel:mempool Issues affecting the mempoolblocks panel

Comments

@vicariousdrama
Copy link
Owner

See this REST endpoint
https://mempool.space/docs/api/rest#get-mempool

Sample results

{
  "count":358,
  "vsize":225120,
  "total_fee":1647705,
  "fee_histogram":[
    [10.798165,50019],
    [3.097345,50326],
    [3.0,57411],
    [1.0014511,58745],
    [1.0,8619]
  ]
}

For interpeting the fee_histogram, I believe this is a distribution of the sat/byte, and total vsize at that level. Indeed, summing the second argument of each array'd element totals to vsize.

Note that single snapshot calls are not enough to draw the histogram graph over time, so may want to periodically capture and retain in memory to draw that out or find some other way to represent. The benefit of the time graph is to visualize the trending change over time. If doing calls over time, recommend adding a timescale on the X axis that makes it clear how often the data is polled (default is 5 minutes for this panel)

@vicariousdrama vicariousdrama self-assigned this May 7, 2022
Repository owner deleted a comment from i2pretty4u May 12, 2022
@vicariousdrama vicariousdrama removed their assignment Jan 7, 2023
vicariousdrama added a commit that referenced this issue Mar 27, 2023
Co-authored-by: vic <vic@localhost>
@vicariousdrama vicariousdrama added panel:mempool Issues affecting the mempoolblocks panel enhancement New feature or request labels Apr 13, 2023
@vicariousdrama vicariousdrama changed the title Add mempool backlog statistics to mempool panel idea: Mempool Fee Histogram as Time Series Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request panel:mempool Issues affecting the mempoolblocks panel
Projects
None yet
Development

No branches or pull requests

1 participant