Closed lpoli closed 1 year ago
Is this same as https://github.com/0chain/gosdk/issues/426?
@guruhubb yes. it is same as https://github.com/0chain/gosdk/issues/426
The requirement is to have minimum block size i.e. 64KB.
We can apply this requirement with pricing i.e. minimum cost shall be cost of 64KB.
So it should be like this:
If writemarker has size S
and write price is W
then cost of writing S bytes = Ceil_Of(S / 64KB) * W
@dabasov Please let us know if you think otherwise
related to https://github.com/0chain/0chain/issues/1816
Currently with chunked upload zero padding has been removed. As per discussion in slack channels, For a blobber, it should get minimum of
blockSize
amount of data which is64KB
or multiple ofblockSize
.Give there are
n
data-blobbers and blocksize is64KB
, the reading should be done as follow: