1
0
mirror of https://github.com/lightning/bolts.git synced 2024-11-19 01:50:03 +01:00

BOLT 4 Add clarifications about the longest route

This commit is contained in:
araspitzu 2018-10-30 14:41:16 +01:00 committed by Rusty Russell
parent 90ba6ddbc5
commit 2b2e5632ca

View File

@ -73,7 +73,7 @@ A node:
There are a number of conventions adhered to throughout this document:
- Length: the maximum route length is limited to 19 _intermediate nodes_, the _origin node_ and _final node_ do not count toward the limit.
- Length: the maximum route length is limited to 20 hops.
- HMAC: the integrity verification of the packet is based on Keyed-Hash
Message Authentication Code, as defined by the
[FIPS 198 Standard](http://csrc.nist.gov/publications/fips/fips198-1/FIPS-198-1_final.pdf)/[RFC 2104](https://tools.ietf.org/html/rfc2104),
@ -98,6 +98,11 @@ There are a number of conventions adhered to throughout this document:
_receiving peers_.
_sending peer_ --> _receiving peer_
# Clarifications
The longest route supported has 20 hops without counting the _origin node_ and _final node_, thus 19 _intermediate nodes_ and a maximum of 20 channels to be traversed.
# Key Generation
A number of encryption and verification keys are derived from the shared secret: