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

blockchain size should include chainstate size, index size and blocks #43

Open
KanoczTomas opened this issue Jan 27, 2018 · 1 comment
Assignees

Comments

@KanoczTomas
Copy link
Owner

chainstate size - look at chainstate dir
index size - look at blocks/index
blockchainsize - sizeof(.bitcoin/blocks) - index size

@KanoczTomas KanoczTomas self-assigned this Jan 27, 2018
@KanoczTomas
Copy link
Owner Author

getblockchaininfo rpc has a size_on_disk key, check that out. Instead of recursively counting fikes, which takes time, in the dir, use rpc.

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

No branches or pull requests

1 participant