connectd: implement "transient" connections.
Currently, anything which doesn't have a live channel is considered transient. We free this first under stress, and also if they're still connecting. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -55,6 +55,7 @@ msgdata,connectd_connect_to_peer,len,u32,
|
||||
msgdata,connectd_connect_to_peer,addrs,wireaddr,len
|
||||
msgdata,connectd_connect_to_peer,addrhint,?wireaddr_internal,
|
||||
msgdata,connectd_connect_to_peer,dns_fallback,bool,
|
||||
msgdata,connectd_connect_to_peer,transient,bool,
|
||||
|
||||
# Connectd->master: connect failed.
|
||||
msgtype,connectd_connect_failed,2020
|
||||
|
||||
|
Reference in New Issue
Block a user