Skip to content

Commit c41e03a

Browse files
authored
Merge pull request #719 from ethersphere/install-reorg
Install reorg
2 parents f71c917 + f71ff22 commit c41e03a

40 files changed

+2757
-2018
lines changed

docs/bee/faq.md

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@ id: bee-faq
77

88
### How can I become part of the Swarm network?
99

10-
You can become part of the network by running a bee node. Bee is a peer-to-peer client that connects you with other peers all over the world to become part of Swarm network, a global distributed p2p storage network that aims to store and distribute all of the world's data
10+
You can become part of the network by running a bee node. Bee is a peer-to-peer client that connects you with other peers all over the world to become part of the Swarm network, a global distributed p2p storage network that aims to store and distribute all of the world's data
1111

12-
Depending on your needs you can run ultra-light, light or full node.
12+
Depending on your needs you can run an ultra-light, light or full node.
1313

1414
### What are the differences between Bee node types?
1515

16-
A bee node can be configured to run in various modes based on specific use cases and requirements. [See here](/docs/bee/installation/quick-start) for an overview of the differences.
16+
A bee node can be configured to run in various modes based on specific use cases and requirements. [See here](/docs/bee/installation/getting-started) for an overview of the differences.
1717

1818

1919
#### What are the requirements for running a Bee node?
2020

21-
See the [install section](/docs/bee/installation/install) for more information about running a Bee node.
21+
See the [getting started section](/docs/bee/installation/getting-started#software-requirements) for more information about running a Bee node.
2222

2323
##### Full node
2424

25-
- 20GB -30GB SSD (ideally nvme).
25+
- 20GB -30GB SSD (ideally NVME).
2626
- 8GB RAM
2727
- CPU with 2+ cores
28-
- RCP connection to Gnosis Chaiin
28+
- RPC connection to Gnosis Chain
2929
- Min 0.1 xDAI for Gnosis GAS fees
3030
- 1 xBZZ for initial chequebook deployment
3131
- 10 xBZZ for staking (optional)
@@ -36,17 +36,15 @@ Typically, each node requires around 10 megabits per second (Mbps) of bandwidth
3636

3737
##### How do I Install Bee on Windows?
3838

39-
You can install Bee node on Windows but it is not mentioned in the documentation, however, the steps are the same as the manual installation https://docs.ethswarm.org/docs/bee/installation/manual you can download the binary from here
39+
Bee is compatible with Windows and a Bee `.exe` file can be found on the [`releases` page](https://github.com/ethersphere/bee/releases) of the Bee repo.
4040

41-
https://github.com/ethersphere/bee/releases and download one of the Windows releases.
42-
43-
It is also possible to build from the source.
41+
It is also possible to [build from the source](/docs/bee/installation/build-from-source).
4442

4543
##### How do I get the node's wallet's private key (use-case for Desktop app)?
4644

4745
See the [backup section](/docs/bee/working-with-bee/backups/) for more info.
4846

49-
##### How do I import the swarm private key to metamask?
47+
##### How do I import my private key to Metamask?
5048

5149
You can import the `swarm.key` json file in MetaMask using your password file or the password you have set in your bee config file.
5250

@@ -68,11 +66,11 @@ You may communicate with your Bee using its HTTP api. Type `curl http://localhos
6866

6967
### What does "could not connect to peer" mean?
7068

71-
Could connect to peer can happen for various reasons. One of the most common is that you have the identifier of a peer in your address book from a previous session. When trying to connect to this node again, the peer may no longer be online.
69+
The "Could not connect to peer" error can occur for various reasons. One of the most common is that you have the identifier of a peer in your address book from a previous session. When trying to connect to this node again, the peer may no longer be online.
7270

7371
### What does "context deadline exceeded" error mean?
7472

75-
The "context deadline exceeded" is a non critical warning. It means that a node took unexpectedly long to respond to a request from your node. Your node will automatically try again via another node.
73+
The "context deadline exceeded" is a non-critical warning. It means that a node took unexpectedly long to respond to a request from your node. Your node will automatically try again via another node.
7674

7775
### How do I set up a blockchain endpoint?
7876

@@ -93,7 +91,7 @@ We recommend you run your own [Gnosis Node using Nethermind](https://docs.gnosis
9391

9492
### How can I export my private keys?
9593

96-
See the section on [backups](/docs/bee/working-with-bee/backups#files) for exporting your keys.
94+
See the section on [backups](/docs/bee/working-with-bee/backups) for exporting your keys.
9795

9896
### How to import bee node address to MetaMask?
9997

@@ -134,17 +132,13 @@ Most common use cases:
134132
You can look at your chequebook contract at etherscan.
135133
Get your chequebook contract address with: `curl http://localhost:1633/chequebook/address`
136134

137-
### I have compared transactions between my ethereum address and my chequebook address, the numbers are different, which is quite weird.
138-
139-
Your chequebook will show OUT xBZZ transactions when your peers cash cheques issued by you, but you don't pay any gas for those so they won't show up in your Ethereum address transaction list.
140-
141135
### Where can I find documents about the cashout commands?
142136

143-
https://docs.ethswarm.org/docs/bee/working-with-bee/cashing-out
137+
Learn how to cash out [here](/docs/bee/working-with-bee/cashing-out).
144138

145139
### When I run http://localhost:1633/chequebook/balance I get "totalBalance" and "availableBalance" what is the difference?
146140

147-
`totalBalance` is the balance on the blockchain, `availableBalance` is that balance minus the outstanding (non-cashed) cheques that you have issued to your peers. These latter cheques do not show up on the blockchain.
141+
`totalBalance` is the balance on the blockchain, and `availableBalance` is that balance minus the outstanding (non-cashed) cheques that you have issued to your peers. These latter cheques do not show up on the blockchain.
148142

149143
It's like what the bank thinks your balance is vs what your chequebook knows is actually available because of the cheques you've written that are still "in the mail" and not yet cashed.
150144

docs/bee/installation/build-from-source.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ Bee is written using the [Go](https://golang.org) language.
77

88
You may build the Bee client software directly from the [source](https://github.com/ethersphere/bee).
99

10-
Prerequisites for installing direct from source are:
10+
Prerequisites for installing directly from source are:
1111

1212
- **go** - download the latest release from [golang.org](https://golang.org/dl).
1313
- **git** - download from [git-scm.com](https://git-scm.com/).
14-
- **make** - usually included in most operating systems.
14+
- **make** - [make](https://www.gnu.org/software/make/) is usually included by default in most UNIX operating systems, and can be installed and used on almost any other operating system where it is not included by default.
1515

1616
### Build from Source
1717

@@ -40,7 +40,7 @@ Prerequisites for installing direct from source are:
4040
make binary
4141
```
4242

43-
5. Check you are able to run the `bee` command. Success can be verified by running:
43+
5. Check that you are able to run the `bee` command. Success can be verified by running:
4444

4545
```bash
4646
dist/bee version

docs/bee/installation/connectivity.md

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ id: connectivity
55

66
To fully connect to the swarm, your Bee node needs to be able to both
77
send and receive messages from the outside world. Normally, your
8-
router will not allow other IP's on the Internet to connect, unless
8+
router will not allow other IPs on the Internet to connect, unless
99
you have initiated the connection. Bees welcome newcomers in the
1010
swarm, as long as they play by the rules! If a node misbehaves, we
1111
will simply add it to a list of blocked nodes and refuse future
1212
connections from them.
1313

1414
Here at Swarm, every Bee counts! To make sure all Bees can join the
1515
swarm, below you will find a detailed guide to navigating your way
16-
through your network and making out into the wild so you can buzz
17-
around fellow bees and maximise your chances of earning xBZZ. If
16+
through your network and making it out into the wild so you can buzz
17+
around fellow bees and maximize your chances of earning xBZZ. If
1818
you still have problems, please join us in our [Discord
1919
server](https://discord.gg/wdghaQsGq5) and we'll help you find the
2020
way! 🐝 🐝 🐝 🐝 🐝
@@ -27,11 +27,11 @@ outgoing connections from the global Internet to its p2p port
2727
this is the case, or for the 1337: check your
2828
`http://localhost:1633/addresses` to see which public IP and port
2929
libp2p is advertising and verify its connectivity to the rest of the
30-
Internet! You may need to alter your Bee nodes `nat-addr`
30+
Internet! You may need to alter your Bee node's `nat-addr`
3131
configuration. 🤓
3232
:::
3333

34-
### Networking Basics
34+
## Networking Basics
3535

3636
In a network, each computer is assigned an IP address. Each IP address
3737
is then subdivided into thousands of _sockets_ or _ports_, each of
@@ -52,15 +52,14 @@ There are also some ports which you should never expose to the outside Internet.
5252
:::
5353

5454

55-
## Your IP Address
55+
### Your IP Address
5656

5757
When you connect to the Internet, you are assigned a unique number
5858
called an IP Address. IP stands for **Internet Protocol**. The most
5959
prevalent IP version used is _still_ the archaic
6060
[IPv4](https://en.wikipedia.org/wiki/IPv4) which was invented way back
6161
in 1981. IPv6 is available but not well used. Due to the mitigation of
62-
the deficiencies inherent in the IPv4 standard, we may encounter some
63-
complications.
62+
the deficiencies inherent in the IPv4 standard, some complications may arise.
6463

6564
### Datacenters and Computers Connected Directly to the Internet
6665

@@ -100,13 +99,13 @@ or
10099
curl ifconfig.co --ipv4
101100
```
102101

103-
The response something contain something like:
102+
The response may contain something like:
104103

105104
```
106105
178.128.196.191
107106
```
108107

109-
With Bee running, try to connect to your Bee's p2p port using the public IP adddress from another computer:
108+
With Bee running, try to connect to your Bee's p2p port using the public IP address from another computer:
110109

111110
```bash
112111
nc -zv 178.128.196.191 1634
@@ -154,23 +153,23 @@ through the router it changes our local IP to the public IP of the
154153
router, and vice versa when the responses are sent back, from the
155154
public IP to the local one.
156155

157-
#### Navigating Through the NAT
156+
## Navigating Through the NAT
158157

159158
The presence of NAT presents two problems for p2p networking.
160159

161160
The first is that it can be difficult for programs running on our computer to know our real public IP as it is not explicitly known by our computer's networking interface, which is configured with a private network IP. This is a relatively easy problem to solve as we can simply discover our public IP and then specify it in Bee's configuration, or indeed determine it using other means.
162161

163162
The second issue is that our router has only 65535 ports to expose to
164-
the public network, however, _each device on your private network_ is
165-
capable of exposing 65535 _each_. To the global Internet, it appears
163+
the public network. However, *each device on your private network is
164+
capable of exposing 65535 ports*. To the global Internet, it appears
166165
that there is only one set of ports to connect to, whereas, in actual
167166
fact, there is a full set of ports for each of the devices which are
168167
connected to the private network. To solve this second problem,
169168
routers commonly employ an approach known as _port forwarding_.
170169

171170
Bee's solution to these problems come in two flavours, automatic and manual.
172171

173-
##### Automatic: Universal Plug and Play (UPnP)
172+
### Automatic: Universal Plug and Play (UPnP)
174173

175174
UPnP is a protocol designed to simplify the administration of NAT and
176175
port forwarding for the end user by providing an API from which
@@ -194,7 +193,7 @@ In addition to this, a request will be sent to your router to ask it
194193
to forward a random one of its ports, which are exposed directly to
195194
the Internet, to the Bee p2p port (default `1634`) which your computer
196195
is exposing only to the private network. Doing this creates a tunnel
197-
through which other Bee's may connect to your computer safely.
196+
through which other Bees may connect to your computer safely.
198197

199198
If you start your Bee node in a private network with UPnP available, the output of the addresses endpoint of your API will look something like this:
200199

@@ -213,7 +212,7 @@ router's randomly selected `20529` which is forwarded by the router to
213212
`192.168.0.10:1634`. These addresses in this multiaddress are also
214213
known as the underlay addresses.
215214

216-
##### Manual: Configure Your Router and Bee
215+
### Manual: Configure Your Router and Bee
217216

218217
Inspecting the underlay addresses in the output of the addresses
219218
endpoint of our API, we can see addresses only for _localhost_
@@ -322,7 +321,7 @@ Connection to 127.0.0.1 port 1634 [tcp/*] succeeded!
322321

323322
This should be a no brainer, the connection between localhost in not normally mediated.
324323

325-
If there is a problem here, the problem is with some other software running on your operating system or your operating system itself. Try a different port, such as `1734` and turning off any unneccesary software. If this doesn't work, you may need to try a different operating system environment. Please get in touch and we'll try to help!
324+
If there is a problem here, the problem is with some other software running on your operating system or your operating system itself. Try a different port, such as `1734` and turning off any unnecessary software. If this doesn't work, you may need to try a different operating system environment. Please get in touch and we'll try to help!
326325

327326
If we were successful, let's move on to the next stage.
328327

@@ -403,6 +402,5 @@ Internet.
403402
3. Something else entirely?
404403

405404
Networking is a complex topic, but it keeps us all together. If you
406-
still can't connect to your Bee, get in touch via [The
407-
Beehive](http://beehive.ethswarm.org/) and we'll do our best to get
408-
you connected. In the swarm, no Bee is left behind.
405+
still can't connect to your Bee, get in touch via the [official node operator's Discord channel](https://discord.gg/kHRyMNpw7t) and we'll do our best to get
406+
you connected. In Swarm, no Bee is left behind.

0 commit comments

Comments
 (0)