1
0
Fork 0
mirror of https://github.com/lightning/bolts.git synced 2025-02-23 14:40:41 +01:00

BOLT 7: use bullet points, not numbers to enumerate address descriptor types

This commit is contained in:
Olaoluwa Osuntokun 2017-05-15 12:06:58 -07:00 committed by Rusty Russell
parent 5801656c6d
commit 91f0deb1c1

View file

@ -191,9 +191,9 @@ address type, followed by the appropriate number of bytes for that type.
The following `address descriptor` types are defined:
1. `0`: padding. data = none (length 0).
1. `1`: IPv4. data = `[4:ipv4_addr][2:port]` (length 6)
2. `2`: IPv6. data = `[16:ipv6_addr][2:port]` (length 18)
* `0`: padding. data = none (length 0).
* `1`: ipv4. data = `[4:ipv4_addr][2:port]` (length 6)
* `2`: ipv6. data = `[16:ipv6_addr][2:port]` (length 18)
### Requirements