From 6df8e4bbb7befdbfa2b8719c604ccfabcd1caeba Mon Sep 17 00:00:00 2001 From: Rene Pickhardt Date: Tue, 26 Jan 2021 16:53:41 +0100 Subject: [PATCH 1/3] fix formatting error of the new table --- gossip.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gossip.asciidoc b/gossip.asciidoc index dd17229..1f1bf66 100644 --- a/gossip.asciidoc +++ b/gossip.asciidoc @@ -48,7 +48,7 @@ It might be usefull to get familiar with the different terminology that we have | finalize | close| terminate| | technology | Bitcoin Blockchain | encrypted TCP/IP connection | lifetime | until funding spent | while peers are online - +|=== As the Lightning Network is a peer-to-peer network, some initial bootstrapping is required in order for peers to discover each other. Within this chapter From e64d151cfb8201d48cc1dbc36a1d2828b9d4ed31 Mon Sep 17 00:00:00 2001 From: Rene Pickhardt Date: Tue, 26 Jan 2021 16:54:46 +0100 Subject: [PATCH 2/3] more table formatting fixing --- gossip.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gossip.asciidoc b/gossip.asciidoc index 1f1bf66..9d4e5f2 100644 --- a/gossip.asciidoc +++ b/gossip.asciidoc @@ -43,9 +43,9 @@ It might be usefull to get familiar with the different terminology that we have [options="header"] |=== | | Channel Graph |peer to peer network -| Name | channel | connection | -| initiate | open | (re)connect | -| finalize | close| terminate| +| Name | channel | connection +| initiate | open | (re)connect +| finalize | close| terminate | technology | Bitcoin Blockchain | encrypted TCP/IP connection | lifetime | until funding spent | while peers are online |=== From eec465f44eedf322f5b5cf16dce83932ddc19aca Mon Sep 17 00:00:00 2001 From: jerzybrzoska <51721153+jerzybrzoska@users.noreply.github.com> Date: Tue, 26 Jan 2021 17:01:26 +0100 Subject: [PATCH 3/3] node_operations.asciidoc: -m is needed for 'useradd' to work The reader was not asked to create a directory 'bitcoin' on his external drive. `sudo useradd -d /external_drive/bitcoin -s /dev/null bitcoin` will not make `/external_drive/bitcoin` the user's home directory as it can only assign existing directories. `sudo useradd -d /external_drive/bitcoin -s /dev/null bitcoin` cannot make new directories, for this '-m' is needed. --- node_operations.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node_operations.asciidoc b/node_operations.asciidoc index 6c71e33..a0ab736 100644 --- a/node_operations.asciidoc +++ b/node_operations.asciidoc @@ -277,10 +277,10 @@ In addition, if you have connected an external drive, you will need to tell the On most Linux systems you can create a new user with the +useradd+ command, like this: ---- -$ sudo useradd -d /external_drive/bitcoin -s /dev/null bitcoin +$ sudo useradd -m -d /external_drive/bitcoin -s /dev/null bitcoin ---- -The +d+ flag assigns the user's home directory. In this case, we put it on the external drive. The +s+ flag assigns the user's interactive shell. In this case we set it to +/dev/null+ to disable interactive shell use. The last argument is the new user's username +bitcoin+. +The +m+ and +d+ flags create the user's home directory as specified by /external_drive/bitcoin in this case. The +s+ flag assigns the user's interactive shell. In this case we set it to +/dev/null+ to disable interactive shell use. The last argument is the new user's username +bitcoin+. ==== Node startup