documentation: revisions
This commit is contained in:
parent
30779390a0
commit
af53ca988f
@ -7,9 +7,8 @@ For more details about Filecoin, check out the [Filecoin Spec](https://github.co
|
|||||||
## What can I learn here?
|
## What can I learn here?
|
||||||
|
|
||||||
- How to install Lotus on [Arch Linux](https://docs.lotu.sh/install-lotus-arch), [Ubuntu](https://docs.lotu.sh/install-lotus-ubuntu), or [MacOS](https://docs.lotu.sh/install-lotus-macos).
|
- How to install Lotus on [Arch Linux](https://docs.lotu.sh/install-lotus-arch), [Ubuntu](https://docs.lotu.sh/install-lotus-ubuntu), or [MacOS](https://docs.lotu.sh/install-lotus-macos).
|
||||||
- [Storing](https://docs.lotu.sh/storing-data) or [retrieving](https://docs.lotu.sh/retrieving-data) data.
|
|
||||||
- Joining the **Lotus DevNet** using your [CLI](https://docs.lotu.sh/join-devnet-cli).
|
- Joining the **Lotus DevNet** using your [CLI](https://docs.lotu.sh/join-devnet-cli).
|
||||||
- Test Lotus in a seperate local network using [Pond UI](https://docs.lotu.sh/testing-with-gui).
|
- [Storing](https://docs.lotu.sh/storing-data) or [retrieving](https://docs.lotu.sh/retrieving-data) data.
|
||||||
- Mining Filecoin using the **Lotus Storage Miner** in your [CLI](https://docs.lotu.sh/mining).
|
- Mining Filecoin using the **Lotus Storage Miner** in your [CLI](https://docs.lotu.sh/mining).
|
||||||
|
|
||||||
## What makes Lotus different?
|
## What makes Lotus different?
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# Hardware
|
# Hardware
|
||||||
|
|
||||||
|
> This page is a work in progress. Exact mining requirements are still in the works.
|
||||||
|
|
||||||
Lotus can build and run on most [Linux](https://ubuntu.com/) and [MacOS](https://www.apple.com/macos) systems with at least 8GB of RAM.
|
Lotus can build and run on most [Linux](https://ubuntu.com/) and [MacOS](https://www.apple.com/macos) systems with at least 8GB of RAM.
|
||||||
|
|
||||||
Windows is not yet supported.
|
Windows is not yet supported.
|
||||||
|
@ -6,7 +6,7 @@ If you have run Lotus before and want to remove all previous data: `rm -rf ~/.lo
|
|||||||
|
|
||||||
## Genesis & Bootstrap
|
## Genesis & Bootstrap
|
||||||
|
|
||||||
The current Lotus build will automatically join the **Lotus DevNet** using the genesis and bootstrap files in the `build/` directory using a default configuration.
|
The current Lotus build will automatically join the **Lotus DevNet** using the genesis and bootstrap files in the `build/`.
|
||||||
|
|
||||||
## Start Daemon
|
## Start Daemon
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ $ lotus wallet new bls
|
|||||||
t3...
|
t3...
|
||||||
```
|
```
|
||||||
|
|
||||||
- Visit the [faucet](https://lotus-faucet.kittyhawk.wtf/)
|
- Visit the [faucet](https://lotus-faucet.kittyhawk.wtf/funds.html)
|
||||||
- Paste the address you created
|
- Paste the address you created
|
||||||
- Press Send.
|
- Press Send.
|
||||||
|
|
||||||
|
@ -55,9 +55,9 @@ $ lotus-storage-miner state sectors <miner>
|
|||||||
|
|
||||||
## Assign a nickname for your node
|
## Assign a nickname for your node
|
||||||
|
|
||||||
In the `.lotus` folder, create a `config.toml` or modify an existing file with:
|
In the `.lotus` folder, modify `config.toml` with:
|
||||||
|
|
||||||
```
|
```sh
|
||||||
[Metrics]
|
[Metrics]
|
||||||
Nickname="snoopy"
|
Nickname="snoopy"
|
||||||
```
|
```
|
||||||
|
@ -14,4 +14,4 @@ Retrieve data from a **Lotus Storage Miner**.
|
|||||||
$ lotus client retrieve <Data CID> <outfile>
|
$ lotus client retrieve <Data CID> <outfile>
|
||||||
```
|
```
|
||||||
|
|
||||||
This will initiate a **retrieval deal** and write the data to the outfile. This process may take some time.
|
This will initiate a **retrieval deal** and write the data to the outfile. This process may take 2 to 10 minutes.
|
@ -1,6 +1,6 @@
|
|||||||
# Static port
|
# Static port
|
||||||
|
|
||||||
If you plan to accept a **storage deal**, you will want to set a static port and open it in your firewall to ensure clients can connect to you.
|
For a **storage deal**, you may want to set a static port and open it in your firewall to ensure clients can connect to you.
|
||||||
|
|
||||||
Lotus binds to a random **swarm port** by default.
|
Lotus binds to a random **swarm port** by default.
|
||||||
|
|
||||||
@ -17,15 +17,15 @@ Here is an example of changing the port to `1347`.
|
|||||||
|
|
||||||
Once you update `config.toml`, restart your **daemon**.
|
Once you update `config.toml`, restart your **daemon**.
|
||||||
|
|
||||||
## Open firewall on Ubuntu manually
|
## Ubuntu's Uncomplicated Firewall
|
||||||
|
|
||||||
|
Open firewall manually
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# ufw allow 1347/tcp
|
# ufw allow 1347/tcp
|
||||||
```
|
```
|
||||||
|
|
||||||
## Open firewall using a UFW profile
|
Or open and modify the profile located at `/etc/ufw/applications.d/lotus-daemon`
|
||||||
|
|
||||||
Open and modify `/etc/ufw/applications.d/lotus-daemon` with:
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
[Lotus Daemon]
|
[Lotus Daemon]
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
# Storing Data
|
# Storing Data
|
||||||
|
|
||||||
You can store files that have the minimum file size of 256 bytes.
|
|
||||||
|
|
||||||
## Tutorial
|
|
||||||
|
|
||||||
Start by creating a file, in this example we will use the command line to create `hello.txt`.
|
Start by creating a file, in this example we will use the command line to create `hello.txt`.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
Loading…
Reference in New Issue
Block a user