chore: slotsize integer

This commit is contained in:
Adam Uhlíř 2025-03-31 18:46:20 +02:00
parent dfab870d62
commit 833aec6593
No known key found for this signature in database
GPG Key ID: 1D17A9E81F76155B

View File

@ -263,10 +263,12 @@ components:
description: Minimal number of nodes the content should be stored on
type: integer
default: 3
minimum: 3
tolerance:
description: Additional number of nodes on top of the `nodes` property that can be lost before pronouncing the content lost
type: integer
default: 1
minimum: 1
collateralPerByte:
type: string
description: Number as decimal string that represents how much collateral per byte is asked from hosts that wants to fill a slots
@ -282,8 +284,10 @@ components:
slots:
description: Number of slots (eq. hosts) that the Request want to have the content spread over
type: integer
format: int64
slotSize:
type: string
type: integer
format: int64
description: Amount of storage per slot (in bytes) as decimal string
duration:
$ref: "#/components/schemas/Duration"
@ -293,6 +297,7 @@ components:
$ref: "#/components/schemas/PricePerBytePerSecond"
maxSlotLoss:
type: integer
format: int64
description: Max slots that can be lost without data considered to be lost
StorageRequest: