Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update doc about retrieval #498

Merged
merged 1 commit into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions docs/en/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,18 @@ Price per GiB/Epoch Verified Min. Piece Size (padded) Max. Piece Size (padded) E

### Retrieve Deal

The storage provider should at least set the payment address
The beneficiary address of storage provider should be configured before retrieval.
simlecode marked this conversation as resolved.
Show resolved Hide resolved

```toml
[[Miners]]
Addr = "t01002"
RetrievalPaymentAddress = "f3umdpich3a7xpm3bgtn4cr3k3w7auck2waw4pk76vye5tqm7zxeaq5yuewy75p63gzc5bhzhmfyhuyltcro4a"
```

Set the default ask for miner.

```bash
./droplet retrieve ask set t3ueb62v5kbyuvwo5tuyzpvds2bfakdjeg2s33p47buvbfiyd7w5fwmeilobt5cqzi673s5z6i267igkgxum6a
./droplet retrieve ask set f01002
```

At the same time, you can also set the price of the data retrieval request, if not set, the default is 0.
Expand All @@ -331,7 +339,7 @@ At the same time, you can also set the price of the data retrieval request, if n
--price 0.02fil \
--unseal-price 0.01fil \
--payment-interval 1MB \
t3ueb62v5kbyuvwo5tuyzpvds2bfakdjeg2s33p47buvbfiyd7w5fwmeilobt5cqzi673s5z6i267igkgxum6a
f01002
```


Expand Down Expand Up @@ -532,4 +540,4 @@ Recv 1.479 KiB, Paid 0 FIL, Complete (CheckComplete), 35ms
Recv 1.479 KiB, Paid 0 FIL, CompleteVerified (Finalizing Blockstore), 36ms
Recv 1.479 KiB, Paid 0 FIL, BlockstoreFinalized (Completed), 36ms
Success
```
```
24 changes: 21 additions & 3 deletions docs/zh/快速启用.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,26 @@ Price per GiB/Epoch Verified Min. Piece Size (padded) Max. Piece Size (padded

#### 检索挂单

存储服务提供商至少应设置收款地址
- 设置收款地址

Droplet 中的每一个 miner 都有对应的配置, 其中 `RetrievalPaymentAddress` 配置的是 miner 的检索收款地址。

示例配置如下:

```toml
[[Miners]]
Addr = "t01002"
RetrievalPaymentAddress = "f3umdpich3a7xpm3bgtn4cr3k3w7auck2waw4pk76vye5tqm7zxeaq5yuewy75p63gzc5bhzhmfyhuyltcro4a"

```


- 设置订单价格

设置值默认的订单价格

```bash
./droplet retrieval ask set t3ueb62v5kbyuvwo5tuyzpvds2bfakdjeg2s33p47buvbfiyd7w5fwmeilobt5cqzi673s5z6i267igkgxum6a
./droplet retrieval ask set f01002
```

同时,也可以设置数据检索订单的价格,不设置时,默认为0.
Expand All @@ -256,9 +272,11 @@ Price per GiB/Epoch Verified Min. Piece Size (padded) Max. Piece Size (padded
--price 0.02fil \
--unseal-price 0.01fil \
--payment-interval 1MB \
t3ueb62v5kbyuvwo5tuyzpvds2bfakdjeg2s33p47buvbfiyd7w5fwmeilobt5cqzi673s5z6i267igkgxum6a
f01002
```



## droplet-client

### droplet-client初始化并启动
Expand Down
Loading