willtech3
649c8d24b0
single word change ( #734 )
...
Co-authored-by: Will Lane <will.lane@nexteraanalytics.com>
2021-07-28 09:15:12 +02:00
Andreas M. Antonopoulos
6f4e9ef3dc
Separate github contributor list from preface
...
Allow easier translation of preface without including the contributor list, and make additions to contributors easier
2021-07-27 08:42:54 +02:00
Franky
5486ff24b5
Update 03_how_ln_works.asciidoc ( #695 )
...
Typo
Co-authored-by: Rene Pickhardt <rene@rene-pickhardt.de>
2021-07-26 17:34:29 +02:00
Lawrence Webber
a6568fbdd8
Update preface.asciidoc ( #692 )
...
Added name. Made correction on chapter 3 - How LN works
Co-authored-by: Rene Pickhardt <rene@rene-pickhardt.de>
2021-07-26 17:29:43 +02:00
Lawrence Webber
ab2f47b7ba
Update 03_how_ln_works.asciidoc ( #691 )
...
The word 'payment' should be pluralised to 'payments' on Line 66.
2021-07-26 17:28:51 +02:00
rnitta
5104a13b34
Update 01_introduction.asciidoc ( #686 )
2021-07-26 17:20:12 +02:00
Franky
ff5000ca31
Update preface.asciidoc ( #685 )
...
Added in contributors list.
Co-authored-by: Rene Pickhardt <rene@rene-pickhardt.de>
2021-07-26 17:19:24 +02:00
Franky
c9c9883b21
Update 03_how_ln_works.asciidoc ( #684 )
...
Typo.
Co-authored-by: Rene Pickhardt <rene@rene-pickhardt.de>
2021-07-26 17:18:16 +02:00
Zendo102
013e04fd2a
Update 05_node_operations.asciidoc ( #680 )
...
* Update 05_node_operations.asciidoc
Capitalization, formatting and minor rephrasing of one or two clauses to make them clearer.
I'm working through the whole book, chapter by chapter, and so am trying to increase consistency. For example, when terms are introduced, they should have the acronym in parenthesis the first time, not the second time.
* Update 05_node_operations.asciidoc
Co-authored-by: Rene Pickhardt <rene@rene-pickhardt.de>
2021-07-26 17:15:25 +02:00
Marc Lacoursière
9698ef9c39
docker builds images and not containers ( #676 )
...
Co-authored-by: Rene Pickhardt <rene@rene-pickhardt.de>
2021-07-26 16:47:34 +02:00
Zendo102
4e9a545fb2
Update 04_node_client.asciidoc ( #678 )
...
I've updated the headings to match the recommendation in the style guide, namely that 'Headings should be all lower case, except for first letter, proper nouns and acronyms. "An introduction to the Lightning Network", "Explaining the physics of fulgurites" etc.'
I've also capitalized Docker where it refers to the name of the software (not to commands). I spent a lot of time on this to get it right.
I also removed the plusses (+) from two examples that referred to the Docker, the software, and not to Docker commands as this retained consistency with the rest of the chapter.
There was a spelling mistake and some other typos.
2021-07-26 16:45:51 +02:00
Warren
1b2ae8ac84
Chapter 4: fix typo + missing scheme for url link ( #675 )
2021-07-26 16:43:59 +02:00
Sebas Arriola
b40a37700f
Update 08_routing_htlcs.asciidoc ( #757 )
...
Propose typo fix.
2021-07-26 16:42:37 +02:00
Zendo102
afd2bfcc62
Update 03_how_ln_works.asciidoc ( #674 )
...
Changes to capitalization and commas mostly. I've tidied up one or two sentences that were unclear, awkward or ambiguous.
2021-07-26 16:41:36 +02:00
Andreas M. Antonopoulos
6e2d28e4e2
updated README
2021-07-26 08:59:43 +02:00
Andreas M. Antonopoulos
dd5a7a5c67
Merge branch 'onion_routing_release' into develop
2021-07-26 08:56:54 +02:00
Olaoluwa Osuntokun
fc85d6e83e
ch-10: chan extracts the inner HMAC instead of verifying again
2021-07-26 08:56:09 +02:00
Olaoluwa Osuntokun
34f08eef84
ch-10: expand high level explanation of how Bob constructs the next onion packet
...
Still need to expand on the blinded of the session key as noted in the TODO section below.
2021-07-26 08:56:09 +02:00
Olaoluwa Osuntokun
f9d600f97e
ch-10: bob only verifies the HMAC once, but he extracts the outer HAMC for chan
...
Continuing to propagate HMAC fix, Bob does't need to verify the HMAC again, instead he needs to extract the inner HMAC, as it'll become the outer HMAC for Chan.
2021-07-26 08:56:09 +02:00
Olaoluwa Osuntokun
6127633569
ch-10: propagate ordering fix to the other hops
2021-07-26 08:56:09 +02:00
Olaoluwa Osuntokun
bd082abae0
ch-10: add section on replay protection+detection
2021-07-26 08:56:09 +02:00
Olaoluwa Osuntokun
e2d2bede3d
ch-10: fix ordering of HMAC steps, HMAC is computed over encrypted payload
...
The outer HMAC for the final hop is computed over the encrypted payload. Instead, the inner HMAC is just blank for the final hop. In this commit, we switch the ordering to reflect this. The diagrams will need to be updated as well.
2021-07-26 08:56:09 +02:00
Olaoluwa Osuntokun
351d45b669
ch-10: explain the distinction between the outer and inner HMACs
2021-07-26 08:56:09 +02:00
Olaoluwa Osuntokun
536e4ad697
ch-10: add extra description of the 2 ways to recognize a terminal packet
2021-07-26 08:56:09 +02:00
Olaoluwa Osuntokun
d6a8ca6c36
ch-10: specify that mu key is used to generate the inner HMAC
2021-07-26 08:56:09 +02:00
Olaoluwa Osuntokun
80624d94c5
ch-10: mention that the inner HMAC for the final hop is all zeros
2021-07-26 08:56:09 +02:00
Olaoluwa Osuntokun
47e4018eb4
ch-10: mention session key re-blinding scheme at the core of sphinx
2021-07-26 08:56:09 +02:00
Olaoluwa Osuntokun
d725b9cba5
ch-10: elaborate more on the usage of the rho key in the scheme
2021-07-26 08:56:09 +02:00
Olaoluwa Osuntokun
5ca029ad93
ch-10: small typo fix
2021-07-26 08:56:09 +02:00
Olaoluwa Osuntokun
fe4a1870d2
ch-10: explcitily call out all zero for scid as final hop indicator
...
In practice, the HMAC for the _next_ hop is also zero, but most
implementations will check the `scid` value instead.
2021-07-26 08:56:09 +02:00
Olaoluwa Osuntokun
4c6f23835d
ch-10: typo fix for total_msat description
2021-07-26 08:56:09 +02:00
Olaoluwa Osuntokun
fdb2d8748f
ch-10: mention the role of the payment_secret in e2e security
...
Without this value, any intermediate node can construct a _new_ onion
packet with modified values for the CLTV and amount, to attempt to see
if the next hop is actually the final hop in the route.
2021-07-26 08:56:09 +02:00
Olaoluwa Osuntokun
9272814286
ch-10: minor grammar fix for Alice payload construction
2021-07-26 08:56:09 +02:00
Olaoluwa Osuntokun
1f9fdd4bda
ch-10: add errata about htlc min+max also being included in chan updates
2021-07-26 08:56:09 +02:00
Andreas M. Antonopoulos
8254b7b1af
remove unwanted file
2021-07-26 08:56:09 +02:00
Andreas M. Antonopoulos
1c91ddde34
indent
2021-07-26 08:56:09 +02:00
Andreas M. Antonopoulos
0d48c64d26
Python script to update failure type table from Github BOLT#4 spec
2021-07-26 08:56:09 +02:00
Andreas M. Antonopoulos
0785e8f8a9
Updated failure_types table
2021-07-26 08:56:09 +02:00
Andreas M. Antonopoulos
c08db66263
Small edit
2021-07-26 08:56:09 +02:00
Andreas M. Antonopoulos
d98f7f021f
Failure table sample
2021-07-26 08:56:09 +02:00
Andreas M. Antonopoulos
489a46cb0f
Error return and conclusion
2021-07-26 08:56:09 +02:00
Andreas M. Antonopoulos
a061568754
Unwrapping the onion diagrams
2021-07-26 08:56:09 +02:00
Andreas M. Antonopoulos
b50af33288
Unwrapping the onion
2021-07-26 08:56:09 +02:00
Andreas M. Antonopoulos
bafcc1c93d
misc edits and heading changes, README update
2021-07-26 08:56:09 +02:00
Andreas M. Antonopoulos
a6d7fcccda
Breakdown wrapping the onion into more steps
2021-07-26 08:56:09 +02:00
Andreas M. Antonopoulos
fe29c5d894
Wrapping the onion done
2021-07-26 08:56:09 +02:00
Andreas M. Antonopoulos
e2e8dc3e92
wrapping the onion
2021-07-26 08:56:09 +02:00
Andreas M. Antonopoulos
e3b3a42e70
onion payloads, key gen, ECDH
2021-07-26 08:56:09 +02:00
Andreas M. Antonopoulos
af152cbebc
onion routing path and payloads
2021-07-26 08:56:09 +02:00
Andreas M. Antonopoulos
7d775e12f8
rename and README update
2021-07-26 08:56:09 +02:00