desktop: updates proof parameter step with environment variable

This commit is contained in:
wwwjim 2019-12-22 21:39:26 -08:00
parent 9ae6bcc5df
commit 0458062bce
3 changed files with 19 additions and 4 deletions

View File

@ -10,6 +10,14 @@ If you have installed older versions, you may need to clear existing chain data,
rm -rf ~/.lotus ~/.lotusstorage
```
## Note: Using the Lotus Node from China
If you are trying to use `lotus` from China. You should set this **environment variable** on your machine:
```sh
IPFS_GATEWAY="https://proof-parameters.s3.cn-south-1.jdcloud-oss.com/ipfs/"
```
## Get started
Start the **daemon** using the default configuration in `./build`:

View File

@ -2,6 +2,14 @@
The **Lotus Seal Worker** is an extra process that can offload heavy processing tasks from your **Lotus Storage Miner**. It can be run on the same machine as your `lotus-storage-miner`, or on another machine communicating over a fast network.
## Note: Using the Lotus Seal Worker from China
If you are trying to use `lotus-seal-worker` from China. You should set this **environment variable** on your machine:
```sh
IPFS_GATEWAY="https://proof-parameters.s3.cn-south-1.jdcloud-oss.com/ipfs/"
```
## Get Started
Make sure that the `lotus-seal-worker` is installed by running:

View File

@ -4,13 +4,12 @@ Here are instructions to learn how to perform storage mining. For hardware speci
It is useful to [join the Testnet](https://docs.lotu.sh/en+join-testnet) prior to attempting storage mining for the first time.
## Note: Filecoin Proof Parameters
## Note: Using the Lotus Storage Miner from China
If you are trying to download the **Filecoin Proof Parameters** from within China, you can download them from [JDCloud CDN](https://s3.cn-south-1.jdcloud-oss.com/proof-parameters/filecoin-proof-parameters-v20-testnet.tar.gz). Once you do you will need to extract them to:
If you are trying to use `lotus-storage-miner` from China. You should set this **environment variable** on your machine.
```sh
# put the .param and .vk files in the directory below
/var/tmp/filecoin-proof-parameters
IPFS_GATEWAY="https://proof-parameters.s3.cn-south-1.jdcloud-oss.com/ipfs/"
```
## Get started