Feature/analytics: Implementation for mempool-based fee statistics + API stats endpoint#2
Closed
mercie-ux wants to merge 5 commits into2140-dev:masterfrom
Closed
Feature/analytics: Implementation for mempool-based fee statistics + API stats endpoint#2mercie-ux wants to merge 5 commits into2140-dev:masterfrom
mercie-ux wants to merge 5 commits into2140-dev:masterfrom
Conversation
Signed-off-by: b-l-u-e <winnie.gitau282@gmail.com>
Collaborator
|
Should we migrate from Flask to FastAPI? Current implementation ismaelsadeeq#1 uses Flask with synchronous RPC calls. FastAPI would provide: Built-in async support for concurrent RPC requests |
Collaborator
|
Superseded by https://github.com/ismaelsadeeq/bitcoin-core-fees/pull/4, thanks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
This pr implements the backend foundation for the mempool-based fee statistics feature
and exposes a clean, API-driven interface for the frontend to consume.
What's implemented
/statsendpoint that:start_heightquery parameter[start_height, start_height + 1000]p25, p75, average fee ratelatest_block_height, request data usingstart_heightrender charts and summaries without local assumptions.Current limitation
Analytics summary and charts do not render for any block height due to frontend rendering/state issue. However the API responses are successful.