You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.
Is there a way to get some stats about a block? Things like it's total size, how much of it is in the local blockstore (e.g. won't be fetched from the network), etc?
This is to implement the missing fields in ipfs.files.stat(path) - see ipfs/js-ipfs-mfs#13 for more.
The text was updated successfully, but these errors were encountered:
A block is just a block, seems you want to get stats on a Graph and info available on the IPFS Repo. Things like GraphSync will need this info too so perhaps @vmx already something in the works?
There is a more simple need for a way to ask the block service if it has a block locally or not. A UI could this use to choose if it should prepare the user for a wait while a block is searched for on the network vs fetching the content immedietly.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there a way to get some stats about a block? Things like it's total size, how much of it is in the local blockstore (e.g. won't be fetched from the network), etc?
This is to implement the missing fields in
ipfs.files.stat(path)
- see ipfs/js-ipfs-mfs#13 for more.The text was updated successfully, but these errors were encountered: