Ipfs.Api.MerkleNode.GetBlockStats C# (CSharp) Method

GetBlockStats() private method

Get block statistics about the node, ipfs block stat key
The object stats include the block stats.
private GetBlockStats ( ) : void
return void
        void GetBlockStats()
        {
            if (hasBlockStats)
                return;

            var stats = new IpfsClient().DoCommand<dynamic>("block/stat", Hash);
            if (stats.Key != Hash)
                throw new IpfsException("Did not receive block/stat for the request merkle node.");
            blockSize = stats.Size;

            hasBlockStats = true;
        }