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

Mainnet node data volume query interface #78

Closed
guomaoqiu opened this issue Jan 19, 2024 · 1 comment
Closed

Mainnet node data volume query interface #78

guomaoqiu opened this issue Jan 19, 2024 · 1 comment
Assignees

Comments

@guomaoqiu
Copy link
Collaborator

guomaoqiu commented Jan 19, 2024

A mainnet node data volume query interface needs to be provided to Neuron for user reference.

Initial planning:
Response data:

{
    "environment": the environment where the node is located,
    "data_size": actual data amount,
    "current_block_height":  Number,
    "get_time": Get time (YYYY-MM-DD HH:MM:SS),
}
@guomaoqiu guomaoqiu self-assigned this Jan 19, 2024
@guomaoqiu guomaoqiu converted this from a draft issue Jan 19, 2024
@guomaoqiu guomaoqiu moved this from Todo to In Progress in Infra Project Jan 22, 2024
@guomaoqiu
Copy link
Collaborator Author

guomaoqiu commented Jan 22, 2024

The query interface has been completed, please check @Danie0918
https://ckb-node-info.magickbase.com/api

result:

{
    "ckb_node_version": "0.112.1 (4b1bcd7 2023-11-21)",
    "current_block_height": 12019314,
    "data_size_g": 48.75390625,
    "data_size_m": 49924,
    "environment": "mainnet(magickbase)",
    "query_time": "2024-01-22 20:18:08"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant