Skip to content

Commit

Permalink
add MARKETS_API_INFO env var
Browse files Browse the repository at this point in the history
  • Loading branch information
nonsense authored and jennijuju committed Aug 17, 2021
1 parent 4a16bbc commit d4596b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/mine/lotus/miner-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ Similarly, `lotus-miner` (as a client application to the Lotus Miner daemon), ca

```sh
export MINER_API_INFO="TOKEN:/ip4/<IP>/tcp/<PORT>/http"
export MARKETS_API_INFO="TOKEN:/ip4/<IP>/tcp/<PORT>/http"
```

### Adding the necessary swap
Expand Down
1 change: 1 addition & 0 deletions docs/mine/lotus/seal-workers.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ Ensure that workers have access to the following environment variables when they
# MINER_API_INFO as obtained before
export TMPDIR=/fast/disk/folder3 # used when sealing
export MINER_API_INFO:<TOKEN>:/ip4/<miner_api_address>/tcp/<port>/http`
export MARKETS_API_INFO:<TOKEN>:/ip4/<miner_api_address>/tcp/<port>/http`
export BELLMAN_CPU_UTILIZATION=0.875 # optimal value depends on exact hardware
export FIL_PROOFS_MAXIMIZE_CACHING=1
export FIL_PROOFS_USE_GPU_COLUMN_BUILDER=1 # when GPU is available
Expand Down

0 comments on commit d4596b9

Please sign in to comment.