mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
chore: use EXPERIMENTAL for BOLT1 remote_addr #917
This commit is contained in:
parent
6db97b4235
commit
df9a34b81e
@ -90,6 +90,7 @@ static struct io_plan *peer_init_received(struct io_conn *conn,
|
||||
|
||||
/* fetch optional tlv `remote_addr` */
|
||||
remote_addr = NULL;
|
||||
#if EXPERIMENTAL_FEATURES /* BOLT1 remote_addr #917 */
|
||||
/* BOLT-remote-address #1:
|
||||
* The receiving node:
|
||||
* ...
|
||||
@ -109,6 +110,7 @@ static struct io_plan *peer_init_received(struct io_conn *conn,
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/* The globalfeatures field is now unused, but there was a
|
||||
* window where it was: combine the two. */
|
||||
@ -210,6 +212,7 @@ struct io_plan *peer_exchange_initmsg(struct io_conn *conn,
|
||||
|
||||
/* set optional tlv `remote_addr` on incoming IP connections */
|
||||
tlvs->remote_addr = NULL;
|
||||
#if EXPERIMENTAL_FEATURES /* BOLT1 remote_addr #917 */
|
||||
/* BOLT-remote-address #1:
|
||||
* The sending node:
|
||||
* ...
|
||||
@ -233,6 +236,7 @@ struct io_plan *peer_exchange_initmsg(struct io_conn *conn,
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Initially, there were two sets of feature bits: global and local.
|
||||
* Local affected peer nodes only, global affected everyone. Both were
|
||||
|
Loading…
Reference in New Issue
Block a user