nim-codex/codex/rest
Eric 6e10e3d2cf
feat(slot-reservations): Add expansionRate parameter to support contract changes
Adds `expansionRate` field to the `StorageRequest` object, to mirror the object in the contracts.

The CodexClient api module uses a default value of 100, which means that all SPs will be available to reserve slots immediately, when the functionality is finally implemented. It was chosen to provide as little disruption to existing as possible, and may change in the future.

The default value for the REST API endpoint was 60, meaning 60% of the total time before expiry will have all addresses eligible to fill the slot.
2024-09-23 19:06:25 +10:00
..
api.nim feat(slot-reservations): Add expansionRate parameter to support contract changes 2024-09-23 19:06:25 +10:00
coders.nim feat(api): availabilities patch endpoint (#692) 2024-03-21 10:53:45 +00:00
json.nim feat(slot-reservations): Add expansionRate parameter to support contract changes 2024-09-23 19:06:25 +10:00