mirror of
https://github.com/codex-storage/codex-testnet-starter.git
synced 2025-02-22 23:28:08 +00:00
Increase expiry
This commit is contained in:
parent
48d96c49cc
commit
7bc85829f9
@ -101,13 +101,12 @@ Next you can run:
|
||||
```shell
|
||||
curl --request POST \
|
||||
"http://localhost:8080/api/codex/v1/storage/request/${CID}" \
|
||||
--header 'Content-Type: application/json' \
|
||||
--write-out '\n' \
|
||||
--data '{
|
||||
"duration": "3600",
|
||||
"reward": "1",
|
||||
"proofProbability": "5",
|
||||
"expiry": "600",
|
||||
"expiry": "1200",
|
||||
"nodes": 5,
|
||||
"tolerance": 2,
|
||||
"collateral": "1"
|
||||
|
@ -90,7 +90,7 @@ SET CID="..."
|
||||
Next you can run:
|
||||
|
||||
```shell
|
||||
curl --request POST --url http://localhost:8080/api/codex/v1/storage/request/%CID% --header "Content-Type: application/json" --data "{ \"duration\": \"3600\", \"reward\": \"1\", \"proofProbability\": \"5\", \"expiry\": \"600\", \"nodes\": 5, \"tolerance\": 2, \"collateral\": \"1\" }"
|
||||
curl --request POST --url http://localhost:8080/api/codex/v1/storage/request/%CID% --header "Content-Type: application/json" --data "{ \"duration\": \"3600\", \"reward\": \"1\", \"proofProbability\": \"5\", \"expiry\": \"1200\", \"nodes\": 5, \"tolerance\": 2, \"collateral\": \"1\" }"
|
||||
```
|
||||
|
||||
For descriptions of each parameter, please view the [Spec](https://github.com/codex-storage/nim-codex/blob/master/openapi.yaml).
|
||||
|
Loading…
x
Reference in New Issue
Block a user