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:
parent
5801656c6d
commit
91f0deb1c1
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue