-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add a chart for history of knowledge size #797
Labels
Comments
PR: nervosnetwork/ckb-explorer@de6f7d4 curl 'https://ckb-explorer-api-staging.magickbase.com/api/v1/daily_statistics/knowledge_size' \
-H 'accept: application/vnd.api+json' \
-H 'accept-language: zh-CN,zh;q=0.9,en;q=0.8,sa;q=0.7' \
-H 'cache-control: no-cache' \
-H 'content-type: application/vnd.api+json' |
Screenshot 1336491 This data is obtained through the dao of this block on 2020/05/23 00:00:42. |
Verified. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
The knowledge size is the size occupied by on-chain data, not the declared size of cells. It reveals how many resources are used to share common knowledge, which is an important index for users.
Describe the solution you'd like
The current knowledge size can be calculated as described in https://talk.nervos.org/t/how-to-get-the-average-occupied-bytes-per-live-cell-in-ckb/7138/2?u=keith
And here is the code
A chart of its history can be added in the explorer so we can see how it grew in the past.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
The text was updated successfully, but these errors were encountered: