Skip to content

Commit 6df297a

Browse files
authored
V0.5.8 dev (#165)
* update discord link * merge master * bump version * update configuration * update openapi * improve config * remove mattermost * remove mystery = * update default config values * improve quick start * improve bee-clef tabs * improve quick start
1 parent eb8ad41 commit 6df297a

File tree

10 files changed

+126
-36
lines changed

10 files changed

+126
-36
lines changed

docs/bee-developers/useful-dev-info.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Welcome to the Dev area! We love PR's! 🐝
77

88
We would would love you to get involved with our [Github repo](https://github.com/ethersphere/bee).
99

10-
All the action can be found in our Mattermost instance, [The Beehive](https://beehive.ethswarm.org/). Sign up and get involved with our buzzing hive of daily dev chat.
10+
All the action can be found in our [Discord Server](https://discord.gg/wdghaQsGq5). Sign up and get involved with our buzzing hive of daily dev chat.
1111

1212
If you would like to contribute, please read the [coding guidelines](https://github.com/ethersphere/bee/blob/master/CODING.md) before you get started.
1313

docs/installation/bee-clef.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Bee clef can be installed automatically using your system's package manager.
2828
{label: 'CentOS', value: 'centos'},
2929
{label: 'MacOS', value: 'macos'},
3030
]}>
31-
<TabItem value="debian">
31+
<TabItem value="debian">
3232

3333
#### AMD64
3434

@@ -53,8 +53,8 @@ wget https://github.com/ethersphere/bee-clef/releases/download/v0.4.9/bee-clef_0
5353
sudo dpkg -i bee-clef_0.4.9_arm64.deb
5454
```
5555

56-
</TabItem>
57-
<TabItem value="centos">
56+
</TabItem>
57+
<TabItem value="centos">
5858

5959
#### AMD64
6060

@@ -79,24 +79,24 @@ wget https://github.com/ethersphere/bee-clef/releases/download/v0.4.9/bee-clef_0
7979
sudo rpm -i bee-clef_0.4.9_arm64.rpm
8080
```
8181

82-
</TabItem>
83-
<TabItem value="macos">
82+
</TabItem>
83+
<TabItem value="macos">
8484

8585
```bash
8686
brew tap ethersphere/tap
8787
brew install swarm-clef
8888
```
8989

90-
</TabItem>
91-
</Tabs>
92-
93-
9490
To run Bee Clef as a service now and on startup, run:
9591

9692
```bash
9793
brew services start swarm-clef
9894
```
9995

96+
</TabItem>
97+
</Tabs>
98+
99+
100100
### Configuring Bee-clef
101101
Configuration files are stored in `/etc/bee-clef/`
102102

docs/installation/build-from-source.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ git describe --tags
3131
3) Checkout the required version:
3232

3333
```bash
34-
git checkout v0.5.2
34+
git checkout v0.5.3
3535
```
3636

3737
4) Build the binary:

docs/installation/configuration.md

Lines changed: 50 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,22 @@ This produces the following file contents, showing the default configuration of
7070
api-addr: :1633
7171
bootnode:
7272
- /dnsaddr/bootnode.ethswarm.org
73+
bootnode-mode: false
7374
clef-signer-enable: false
7475
clef-signer-endpoint: ""
76+
clef-signer-ethereum-address: ""
7577
cors-allowed-origins: []
7678
data-dir: /Users/sig/.bee
79+
db-block-cache-capacity: "33554432"
7780
db-capacity: "5000000"
81+
db-disable-seeks-compaction: false
82+
db-open-files-limit: "200"
83+
db-write-buffer-size: "33554432"
7884
debug-api-addr: :1635
7985
debug-api-enable: false
8086
gateway-mode: false
8187
global-pinning-enable: false
88+
help: false
8289
nat-addr: ""
8390
network-id: "1"
8491
p2p-addr: :1634
@@ -144,6 +151,16 @@ Set this to true to enable signing using Ethereum's 'Clef' external signer. Clef
144151

145152
You may also specify a custom ipc file path for your Clef signer.
146153

154+
#### --clef-signer-ethereum-address
155+
156+
*default* **selects the clef address at index 0**
157+
158+
Use this command to specify which Bee Clef address is used if you have imported multiple keys into Bee Clef.
159+
160+
:::warning
161+
If you have multiple addresses imported into your instance of Bee Clef, you must specify your address for each node, including the first one, as addresses may been re-ordered during import.
162+
:::
163+
147164
#### --cors-allowed-origins
148165

149166
*default* `[]`
@@ -188,6 +205,32 @@ They are the cryptographic proof of your network identity and cannot be recovere
188205

189206
Chunk database capacity in chunks. A chunk is 4096 bytes in size, so the total database capacity in kb can be estimated as `db-capacity * 4096`. The default 5,000,000 chunks is therefore approximately 20.5gb. We recommend a minimum of 2.5gb capacity for a node to be able to effectively function in the network. Light nodes that do not participate in storing may be able to specify less.
190207

208+
*The below four options expose low-level configurations for [LevelDB](https://pkg.go.dev/github.com/syndtr/goleveldb@v1.0.0/leveldb/opt#Options) method [Openfile](https://pkg.go.dev/github.com/syndtr/goleveldb@v1.0.0/leveldb#OpenFile). Please let us know how you get on with tweaking these settings on your hardware in the `#swarm-infrastructure` channel on our [Discord server](https://discord.gg/wdghaQsGq5)*
209+
210+
#### --db-block-cache-capacity
211+
*default* `33554432`
212+
213+
Corresponds to LevelDB `BlockCacheCapacity` (see above)
214+
215+
#### --db-disable-seeks-compaction
216+
*default* `false`
217+
218+
Corresponds to LevelDB `DisableSeeksCompaction` (see above)
219+
220+
#### --db-open-files-limit
221+
*default* `200`
222+
223+
:::info
224+
To accomodate less powerful hardware and operating systems, the `open-files-limit` is set deliberately low. We recommend that you try to increase it to nearer `10000` or more if this is possible when using your hardware. *Please let us know how you get on with tweaking these settings on your hardware in the `#swarm-infrastructure` channel on our [Discord server](https://discord.gg/wdghaQsGq5)*
225+
:::
226+
227+
Corresponds to LevelDB `OpenFilesCacheCapacity` (see above)
228+
229+
#### --db-write-buffer-size
230+
*default* `33554432`
231+
232+
Corresponds to LevelDB `WriteBuffer` (see above)
233+
191234
#### --debug-api-addr
192235

193236
*default* `:1635`
@@ -263,23 +306,25 @@ The path to a file that contains password for decrypting keys. The empty string
263306

264307
#### --payment-early
265308

266-
Amount in BZZ below the peers payment threshold which causes Bee to initiate settlement (default 10000)
309+
*default* `1000000000000`
310+
311+
Amount in BZZ below the peers payment threshold which causes Bee to initiate settlement.
267312

268313
#### --payment-threshold
269314

270-
*default* `100000`
315+
*default* `10000000000000`
271316

272317
The threshold in BZZ where you expect to get paid from your peers.
273318

274319
#### --payment-tolerance
275320

276-
*default* `10000`
321+
*default* `50000000000000`
277322

278323
The excess debt above payment threshold in BZZ where you disconnect from your peer.
279324

280325
#### --resolver-options
281326

282-
*default* eth:0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e
327+
*default* eth:0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e@localhost:8545
283328

284329
ENS API endpoint for a TLD, with contract address. Multiple values can be provided.
285330

@@ -309,7 +354,7 @@ SWAP ethereum blockchain endpoint.
309354

310355
#### --swap-initial-deposit
311356

312-
*default* `100000000`
357+
*default* `100000000000000000`
313358

314359
#### --tracing-enable
315360

docs/installation/connectivity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Bee's solution to these problems come in two flavours, automatic and manual.
9696
UPNP is a protocol designed to simplify the administration of NAT and port forwarding by the end user by providing an API which software running within the network can use to ask the router for the external IP and to request for ports to be forwarded to the internal IP of the computer running the software.
9797

9898
:::danger UPNP is a security risk!
99-
UPNP is a security risk as it allows any host or process inside (sometimes also outside) your network to open arbitrary ports which may be used to transfer malicious traffic, for example a [RAT](https://en.wikipedia.org/wiki/Remote_desktop_software#RAT). We urge you to disable UPNP on your router and use manual port forwarding as described below.
99+
UPNP is a security risk as it allows any host or process inside (sometimes also outside) your network to open arbitrary ports which may be used to transfer malicious traffic, for example a [RAT](https://en.wikipedia.org/wiki/Remote_desktop_software#RAT). UPNP can also be used to determine your IP, and in the case of using Tor or a VPN, your *real* public IP. be We urge you to disable UPNP on your router and use manual port forwarding as described below.
100100
:::
101101

102102
Bee will use UPNP to determine your public IP, which is required for various internal processes.

docs/installation/docker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ Configuration files for Bee and Bee Clef are provided to enable quick and easy i
9191
First, retrieve the current `docker-compose.yaml` file.
9292

9393
```bash
94-
wget -q https://raw.githubusercontent.com/ethersphere/bee/v0.5.2/packaging/docker/docker-compose.yml=======
94+
wget -q https://raw.githubusercontent.com/ethersphere/bee/v0.5.3/packaging/docker/docker-compose.yml
9595
```
9696

9797
Next, create a `.env` file using the example file provided. This file will be responsible for storing configuration and secrets for our Bee and Bee Clef applications.
9898

9999
```bash
100-
wget -q https://raw.githubusercontent.com/ethersphere/bee/v0.5.2/packaging/docker/env -O .env=======
100+
wget -q https://raw.githubusercontent.com/ethersphere/bee/v0.5.3/packaging/docker/env -O .env
101101
```
102102

103103
There are some important configuration parameters which must be set in order for our projects to work. To affect configuration in the `.env` file, we first remove the `#` at the beginning of the line and then change the value after `=` to our desired config.

docs/installation/manual.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ To install the binary using our quick install script, run either one of the foll
1313

1414
#### wget
1515
```bash
16-
wget -q -O - https://raw.githubusercontent.com/ethersphere/bee/master/install.sh | TAG=v0.5.2 bash
16+
wget -q -O - https://raw.githubusercontent.com/ethersphere/bee/master/install.sh | TAG=v0.5.3 bash
1717
```
1818

1919
#### curl
2020
```bash
21-
curl -s https://raw.githubusercontent.com/ethersphere/bee/master/install.sh | TAG=v0.5.2 bash
21+
curl -s https://raw.githubusercontent.com/ethersphere/bee/master/install.sh | TAG=v0.5.3 bash
2222
```
2323

2424
### Bee Clef External Signer

docs/installation/quick-start.md

Lines changed: 51 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ title: Quick Start
33
id: quick-start
44
---
55

6+
import Tabs from '@theme/Tabs';
7+
import TabItem from '@theme/TabItem';
8+
69
Bee is packaged for MacOS and Ubuntu, Raspbian, Debian and CentOS based Linux distributions.
710

811
If your system is not supported, please see the [manual installation](/docs/installation/manual) section for information on how to install Bee.
@@ -14,10 +17,14 @@ The overview of the installation process:
1417

1518
## Install Bee Clef
1619

20+
:::info
21+
While it is not necessary that node operators make use of Go Ethereum's Clef external signer to manage your Ethereum key pair. Follow these instructions include and integrate Bee-clef alongside Bee to help keep your keys safe!
22+
:::
23+
1724
Before installing Bee, it is recommended that you first [install the Bee clef package](/docs/installation/bee-clef). This will set up a Bee specific instance of the Go-Ethereum Clef signer which will be integrated with your Bee node.
1825

19-
:::info
20-
While it is not necessary that node operators make use of Go Ethereum's Clef external signer to manage your Ethereum key pair. The following instructions include and integrate Bee-clef alongside Bee to help keep your keys safe!
26+
:::caution
27+
If choosing to use Bee-clef, you must install this *before* you install Bee.
2128
:::
2229

2330
## Install Bee
@@ -28,12 +35,22 @@ To install Bee itself, simply choose the appropriate command from the ones below
2835
Follow post install guide in terminal for initial configuration and how to start `bee`.
2936
:::
3037

31-
### Ubuntu / Raspbian / Debian
38+
39+
40+
41+
<Tabs
42+
defaultValue="debian"
43+
values={[
44+
{label: 'Ubuntu / Debian / Raspbian', value: 'debian'},
45+
{label: 'CentOS', value: 'centos'},
46+
{label: 'MacOS', value: 'macos'},
47+
]}>
48+
<TabItem value="debian">
3249

3350
#### AMD64
3451

3552
```bash
36-
wget https://github.com/ethersphere/bee/releases/download/v0.5.2/bee_0.5.2_amd64.deb
53+
wget https://github.com/ethersphere/bee/releases/download/v0.5.3/bee_0.5.2_amd64.deb
3754
sudo dpkg -i bee_0.5.2_amd64.deb
3855
```
3956

@@ -42,23 +59,25 @@ sudo dpkg -i bee_0.5.2_amd64.deb
4259
##### ARMv7
4360

4461
```bash
45-
wget https://github.com/ethersphere/bee/releases/download/v0.5.2/bee_0.5.2_armv7.deb
62+
wget https://github.com/ethersphere/bee/releases/download/v0.5.3/bee_0.5.2_armv7.deb
4663
sudo dpkg -i bee_0.5.2_armv7.deb
4764
```
4865

4966
##### ARM64
5067

5168
```bash
52-
wget https://github.com/ethersphere/bee/releases/download/v0.5.2/bee_0.5.2_arm64.deb
69+
wget https://github.com/ethersphere/bee/releases/download/v0.5.3/bee_0.5.2_arm64.deb
5370
sudo dpkg -i bee_0.5.2_arm64.deb
5471
```
72+
</TabItem>
73+
<TabItem value="centos">
5574

5675
### CentOS
5776

5877
#### AMD64
5978

6079
```bash
61-
wget https://github.com/ethersphere/bee/releases/download/v0.5.2/bee_0.5.2_amd64.rpm
80+
wget https://github.com/ethersphere/bee/releases/download/v0.5.3/bee_0.5.2_amd64.rpm
6281
sudo rpm -i bee_0.5.2_amd64.rpm
6382
```
6483

@@ -67,16 +86,18 @@ sudo rpm -i bee_0.5.2_amd64.rpm
6786
##### ARMv7
6887

6988
```bash
70-
wget https://github.com/ethersphere/bee/releases/download/v0.5.2/bee_0.5.2_armv7.rpm
89+
wget https://github.com/ethersphere/bee/releases/download/v0.5.3/bee_0.5.2_armv7.rpm
7190
sudo rpm -i bee_0.5.2_armv7.rpm
7291
```
7392

7493
##### ARM64
7594

7695
```bash
77-
wget https://github.com/ethersphere/bee/releases/download/v0.5.2/bee_0.5.2_arm64.rpm
96+
wget https://github.com/ethersphere/bee/releases/download/v0.5.3/bee_0.5.2_arm64.rpm
7897
sudo rpm -i bee_0.5.2_arm64.rpm
7998
```
99+
</TabItem>
100+
<TabItem value="macos">
80101

81102
### MacOS
82103

@@ -91,6 +112,9 @@ To run Bee as a service now and on startup, run:
91112
brew services start swarm-bee
92113
```
93114

115+
</TabItem>
116+
</Tabs>
117+
94118
## SWAP Blockchain Endpoint
95119

96120
Your Bee node must have access to the Ethereum blockchain, so that it
@@ -248,9 +272,25 @@ The Bzzaar is brand new. If you have any issues, please [get in touch](/docs/#co
248272

249273
If these messages are missing, check out our comprehensive guide to Bee [connectivity](/docs/installation/connectivity).
250274

251-
## Updating Bee
275+
### Upgrading Bee
276+
277+
#### Ubuntu / Debian / Raspbian
278+
279+
To upgrade Bee, simply stop the Bee service.
280+
281+
```sh
282+
sudo systemctl stop bee
283+
```
284+
285+
Now follow the steps above to download the new package and install the new version, as usual.
286+
287+
You may now start your node again.
288+
289+
```sh
290+
sudo systemctl start bee
291+
```
252292

253-
Your Bee and Bee-clef installations can be updated by repeating the install steps above. Bee sure to [backup](/docs/maintenance/backups) your clef key material and Bee data before applying updates.
293+
Bee sure to [backup](/docs/maintenance/backups) your clef key material and Bee data before applying updates.
254294

255295
## Uninstalling Bee
256296

0 commit comments

Comments
 (0)