Wrote the following two sections under Gossip Announcements
- How does a peer announce a new channel to the network?
- How do nodes verify a channel announcement? Why should they verify one in the first place?
I used Bolt 7 as a reference. I went for a simple approach, but it might be too simplistic. Feel free to add more relevant detail. In particular two things I wasn't sure about it:
1. The exact structure of the signatures in the `channel_announcement` message. Not sure if my explanation is 100% technically correct.
2. Attack vector for fake channel announcements. While I understand that having a network graph with fake channels is a problem, how exactly could an attacker exploit this?
https://github.com/lightningnetwork/lightning-rfc/blob/master/07-routing-gossip.md
Current definition is confusing and has references to Revocable Sequence Maturity Contracts and 483s HTCLs.
Rewrote a simpler definition incorporating ideas from Chapter 3 - How LN works
- UPNP: the description in my opinion was incorrect, at least misleading. I rephrased to eliminate the part of the sentence that was doubtful in my opinion
- it's --> its (possessive)
- addition of checking TOR installation
Incorporated some edits from the defunct pull request below to make this section read a little more easily. Some particulars
* Instead of stating as good way, bad way, ugly way -> state as their technical name and put (the good way) bracketed after
* The first and third examples referred to "you" and the second referred to "Alice and Bob". All three now refer to "you"
* Each paragraph now describes the method with a one liner
* Some miscellaneous detail
https://github.com/lnbook/lnbook/pull/307
- open source: as adjective written with hyphen (according to Wiktionary)
- you --> your
- simplifications
- docker --> unless it is a command, I would uppercase it (see Wikipedia)
- more --> more than what? primarily
- node: repetitive
- above we use _..._ for product names, etc. --> changes +...+ to _..._
- one --> once
- commas: only put comma in front of _but_ whe followed by a complete sentence with noun
- simplifications
- etc