From 2c8860b00e5e810388891c74e99f5417b2d7819a Mon Sep 17 00:00:00 2001 From: Patrick Lemke Date: Thu, 20 Feb 2020 17:52:56 +0100 Subject: [PATCH] typo --- ch03.asciidoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ch03.asciidoc b/ch03.asciidoc index 46f53c3..6a9bb5f 100644 --- a/ch03.asciidoc +++ b/ch03.asciidoc @@ -407,13 +407,13 @@ The `Payment Hash` is rather included in the Lightning Message that also transpo === Missing bits From a computer science perspective the Lightning Network protocol is mainly a peer to peer protocol between its participants. -All communication between participants is send via so called Lightning Messages. -Most importantnly communication is needed to open and close payment channels, to send and receive onions, to set up and settle or fail htlcs and for exchanging gossip information. -The Lightning messages are send in an encrypted way after a peer connection has been established. +All communication between participants is sent via so called Lightning Messages. +Most importantly communication is needed to open and close payment channels, to send and receive onions, to set up and settle or fail htlcs and for exchanging gossip information. +The Lightning messages are sent in an encrypted way after a peer connection has been established. Establishing the peer connection follows a cryptographic handshake following the Noise Protocol Framework. The Noise Protocol Framework is a collection of templates for cryptographic handshakes and is also used by WhatsApp and Wireguard. -Using the Noise Protocol Framework makes sure that every message that is send via Lightning is encrypted and authenticated. -This makes development a little bit tricky as one cannot easily monitore ones own traffic on a tool like wireshark for debugging. footnote:[Luckily tools exist to make developers live easier: https://github.com/nayutaco/lightning-dissector] +Using the Noise Protocol Framework makes sure that every message that is sent via Lightning is encrypted and authenticated. +This makes development a little bit tricky as one cannot easily monitor one's own traffic on a tool like wireshark for debugging. footnote:[Luckily tools exist to make developers live easier: https://github.com/nayutaco/lightning-dissector] === some thoughts that where supposed to be at other places but didn't make it to the text yet * network of payment channels