Skip to content

Commit

Permalink
Merge pull request #3130 from autonomys/docs-cleanup
Browse files Browse the repository at this point in the history
Rewrite README intros to be clearer
  • Loading branch information
teor2345 authored Oct 15, 2024
2 parents 03f39e7 + bac3343 commit 68f25f4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
8 changes: 5 additions & 3 deletions crates/subspace-farmer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Reference implementation of Subspace Farmer for Subspace Network Blockchain.

## Running

It is recommended to follow general farming instructions that explain how to run both farmer and node together.
We recommend following the general farming instructions that explain how to run both the farmer and node together.

## Build from source

Rust toolchain is expected to be installed for anything in this repository to compile, but there are some extra dependencies for farmer specifically.
A Rust toolchain is required to compile this repository, but there are some extra dependencies for the farmer.

`protoc` is required for `libp2p`.
`automake`,`libtool` and `pkg-config` on Linux/macOS or CMake on Windows for `hwlocality-sys` (if `numa` features is
Expand Down Expand Up @@ -65,7 +65,9 @@ target/production/subspace-farmer --help

### Start the farmer
```
target/production/subspace-farmer farm --reward-address st... path=/path/to/farm,size=100G
target/production/subspace-farmer farm \
--reward-address st... \
path=/path/to/farm,size=100G
```

`st...` should be replaced with the reward address taken from [Polkadot.js wallet](https://polkadot.js.org/extension/) (or similar), `/path/to/farm` with location where you want to store plot and `100G` replaced with desired plot size.
Expand Down
2 changes: 1 addition & 1 deletion crates/subspace-farmer/src/bin/subspace-farmer/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub(crate) fn raise_fd_limit() {
);
}
Ok(fdlimit::Outcome::Unsupported) => {
// Unsupported platform (non-Linux)
// Unsupported platform (a platform other than Linux or macOS)
}
Err(error) => {
tracing::warn!(
Expand Down
1 change: 0 additions & 1 deletion crates/subspace-node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ build = "build.rs"
homepage = "https://subspace.network"
repository = "https://github.com/autonomys/subspace"
include = [
"/res",
"/src",
"/build.rs",
"/Cargo.toml",
Expand Down
6 changes: 3 additions & 3 deletions crates/subspace-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ Follow these steps to get started with the Subspace Node :hammer_and_wrench:

## Running

It is recommended to follow general farming instructions that explain how to run both farmer and node together.
We recommend following the general farming instructions that explain how to run both the farmer and node together.

## Build from source

Rust toolchain is expected to be installed for anything in this repository to compile, but there are some extra dependencies for farmer specifically.
A Rust toolchain is required to compile this repository, but there are some extra dependencies for the node.

`protoc` is required for `libp2p`.

Expand Down Expand Up @@ -71,7 +71,7 @@ By default, node data are written to `subspace-node` subdirectory of the OS-spec
```
Linux
$XDG_DATA_HOME or /home/alice/.local/share
$HOME/.local/share
$HOME/.local/share
macOS
$HOME/Library/Application Support /Users/Alice/Library/Application Support
Expand Down
2 changes: 1 addition & 1 deletion crates/subspace-node/src/commands/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ fn raise_fd_limit() {
);
}
Ok(fdlimit::Outcome::Unsupported) => {
// Unsupported platform (non-Linux)
// Unsupported platform (a platform other than Linux or macOS)
}
Err(error) => {
warn!(
Expand Down

0 comments on commit 68f25f4

Please sign in to comment.