mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-16 20:33:09 +00:00
change slotsize to reflect current implemenation
This commit is contained in:
parent
38b1017e1d
commit
f3f7974a10
@ -284,7 +284,13 @@ proc requestStorage*(
|
||||
let request = StorageRequest(
|
||||
ask: StorageAsk(
|
||||
slots: nodes + tolerance,
|
||||
slotSize: (encoded.blockSize.int * encoded.steps).u256,
|
||||
# TODO: Specify slot-specific size (as below) once dispersal is
|
||||
# implemented. The current implementation downloads the entire dataset, so
|
||||
# it is currently set to be the size of the entire dataset. This is
|
||||
# because the slotSize is used to determine the amount of bytes to reserve
|
||||
# in a Reservations
|
||||
# TODO: slotSize: (encoded.blockSize.int * encoded.steps).u256,
|
||||
slotSize: (encoded.blockSize.int * encoded.blocks.len).u256,
|
||||
duration: duration,
|
||||
proofProbability: proofProbability,
|
||||
reward: reward,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user