In this commit, we add a chapter that describes the BOLT 11 invoice
format at a high-level as well as the set of specific fields and base-5
encoding used within the data segment. The only thing this chapter is
missing now is likely some test vectors, and possibly a bit more
mechanical information that an implantation must observe when
encoding/decoding an invoice.
In this commit, we add the initial draft of the chapter on Brontide
which describes the encrypted messaging transport used in the Lightning
Network. At the time of this commit, this chapter is ~90% complete.
After the initial background, motivation, and context, the actual
handshake process is rather mechanical, so I've opted to lift by text
from the original BOLT with minor modifications. However the change from
the background/intro to the description of the protocol is rather stark
as it shifts to more of a technically oriented prose. I plan to revisit
the latter portion of the chapter to provide more insight that is
presently checked in.
* Fixing a small typo
* Fixed broken link to diagram. Fixed text references to incorrect node names in the diagram.
* Fix for issue #572
* Fix for issue #624
Alphabetized terms under "Lightning Network Basic Concepts" and added Hash Function and Digital Signature as terms because they are also used in this chapter. Used glossary definitions (partial) to define in this section.
Added 2nd level heading to Scaling Blockchains and added italics to what if statement at the end of the section, which is the transition to LN.
Moved Alice introduction paragraph to the beginning
Added TODO for link to bitcoin basics guide / fundamentals
Moved Testnet Bitcoin section to wallets
Added tip about Alice being able to transfer bitcoin she already owns to her new Eclair wallet
Fixed typo
Added language about Bob's perspective just before conclusion