1
0
mirror of https://github.com/lightning/bolts.git synced 2025-01-18 21:32:31 +01:00

Merge pull request #751 from lightningnetwork/2020-02-moar-addresses

Allow More than one Address of a given type
This commit is contained in:
Matt Corallo 2020-03-20 19:00:15 +00:00 committed by GitHub
commit 4107c69e31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -307,7 +307,6 @@ The origin node:
- MUST NOT create a `type 1` OR `type 2` address descriptor with `port` equal - MUST NOT create a `type 1` OR `type 2` address descriptor with `port` equal
to 0. to 0.
- SHOULD ensure `ipv4_addr` AND `ipv6_addr` are routable addresses. - SHOULD ensure `ipv4_addr` AND `ipv6_addr` are routable addresses.
- MUST NOT include more than one `address descriptor` of the same type.
- MUST set `features` according to [BOLT #9](09-features.md#assigned-features-flags) - MUST set `features` according to [BOLT #9](09-features.md#assigned-features-flags)
- SHOULD set `flen` to the minimum length required to hold the `features` - SHOULD set `flen` to the minimum length required to hold the `features`
bits it sets. bits it sets.