Olaoluwa Osuntokun
bd082abae0
ch-10: add section on replay protection+detection
3 years ago
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.
3 years ago
Olaoluwa Osuntokun
351d45b669
ch-10: explain the distinction between the outer and inner HMACs
3 years ago
Olaoluwa Osuntokun
536e4ad697
ch-10: add extra description of the 2 ways to recognize a terminal packet
3 years ago
Olaoluwa Osuntokun
d6a8ca6c36
ch-10: specify that mu key is used to generate the inner HMAC
3 years ago
Olaoluwa Osuntokun
80624d94c5
ch-10: mention that the inner HMAC for the final hop is all zeros
3 years ago
Olaoluwa Osuntokun
47e4018eb4
ch-10: mention session key re-blinding scheme at the core of sphinx
3 years ago
Olaoluwa Osuntokun
d725b9cba5
ch-10: elaborate more on the usage of the rho key in the scheme
3 years ago
Olaoluwa Osuntokun
5ca029ad93
ch-10: small typo fix
3 years ago
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.
3 years ago
Olaoluwa Osuntokun
4c6f23835d
ch-10: typo fix for total_msat description
3 years ago
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.
3 years ago
Olaoluwa Osuntokun
9272814286
ch-10: minor grammar fix for Alice payload construction
3 years ago
Olaoluwa Osuntokun
1f9fdd4bda
ch-10: add errata about htlc min+max also being included in chan updates
3 years ago
Andreas M. Antonopoulos
8254b7b1af
remove unwanted file
3 years ago
Andreas M. Antonopoulos
1c91ddde34
indent
3 years ago
Andreas M. Antonopoulos
0d48c64d26
Python script to update failure type table from Github BOLT#4 spec
3 years ago
Andreas M. Antonopoulos
0785e8f8a9
Updated failure_types table
3 years ago
Andreas M. Antonopoulos
c08db66263
Small edit
3 years ago
Andreas M. Antonopoulos
d98f7f021f
Failure table sample
3 years ago
Andreas M. Antonopoulos
489a46cb0f
Error return and conclusion
3 years ago
Andreas M. Antonopoulos
a061568754
Unwrapping the onion diagrams
3 years ago
Andreas M. Antonopoulos
b50af33288
Unwrapping the onion
3 years ago
Andreas M. Antonopoulos
bafcc1c93d
misc edits and heading changes, README update
3 years ago
Andreas M. Antonopoulos
a6d7fcccda
Breakdown wrapping the onion into more steps
3 years ago
Andreas M. Antonopoulos
fe29c5d894
Wrapping the onion done
3 years ago
Andreas M. Antonopoulos
e2e8dc3e92
wrapping the onion
3 years ago
Andreas M. Antonopoulos
e3b3a42e70
onion payloads, key gen, ECDH
3 years ago
Andreas M. Antonopoulos
af152cbebc
onion routing path and payloads
3 years ago
Andreas M. Antonopoulos
7d775e12f8
rename and README update
3 years ago
Andreas M. Antonopoulos
47fb49da5d
architecture highlight
3 years ago
Andreas M. Antonopoulos
654263fe62
Intro onion routing
3 years ago
Andreas M. Antonopoulos
f44e103b8b
Merge pull request #756 from SeverinAlexB/graph-images
...
Graph visualisations
3 years ago
Severin Buhler
f840c1686b
added name to preface
3 years ago
Severin Buhler
a587451eb9
added visualizations
3 years ago
Zendo102
bcce7a69e2
Update glossary.asciidoc ( #667 )
...
* Update glossary.asciidoc
Minor formatting changes.
I've also reworded some definitions to make them clearer and more consistent.
In three cases, I removed additional sentences from entries because they added confusion rather than clarity.
There is still a bit more checking of the Glossary to be done.
* Update glossary.asciidoc
* Update glossary.asciidoc
made the sentence of the final disagreement more precise (:
Co-authored-by: Rene Pickhardt <rene@rene-pickhardt.de>
3 years ago
mknoszlig
d88acf5585
Ch07: Typos, fixes and attempts at improving clarity ( #752 )
...
* fix link.
* some typos, punctuation and attempts at improving clarity.
3 years ago
Camilojdl
968699ae13
"A lot of electricity" has political connotations ( #749 )
...
Instead of "Miners have to use a lot of electricity doing "work" that is embedded as a "proof""
I propose: "Miners have to use electricity and dedicate hardware doing "work" that is embedded as a "proof""
3 years ago
François Degros
231ae4459f
Fix a couple of typos ( #748 )
...
* Add name to contributors in preface
* Add missing word
* Remove extraneous word
"being in used" -> "being used"
3 years ago
James Dorfman
fbc8500081
Remove duplicated info about autopilot ( #746 )
3 years ago
James Dorfman
a2e21a963b
Fix typo in 05_node_operations.asciidoc ( #745 )
3 years ago
voelker85
d5bc07928b
Typo ( #744 )
3 years ago
saguywalker
fc4a0947bf
Ch8 typos ( #742 )
...
* efficiency
* add name
Co-authored-by: saguywalker <thayakorn@zipmex.com>
3 years ago
SRIJAN BHUSHAN
cef096a283
fixed typo ( #741 )
...
* fixing typo
* adding name to contributers
Co-authored-by: SRIJAN BHUSHAN <srijanbhushan@SRIJANs-MacBook-Pro.local>
3 years ago
Steve Lee
9512e3f929
fixed typo ( #737 )
3 years ago
Aaron Morris
9c747b0664
Update 05_node_operations.asciidoc ( #719 )
...
Offers some minor spelling updates
3 years ago
Daniel Gockel
152fdd15b7
adding my name to preface.asciidoc ( #708 )
...
for pull request https://github.com/lnbook/lnbook/pull/707
3 years ago
Daniel Gockel
33c028664a
Update glossary.asciidoc ( #707 )
...
Fixing some typos
3 years ago
mknoszlig
bdfb00479e
short explanation of channel_reserve and its role in commitment tx ( #754 )
3 years ago
Andreas M. Antonopoulos
6d347d9d47
moved gitignore
3 years ago