home | help
LIGHTNING-NOTIFICATION-CONNECT(7)	       LIGHTNING-NOTIFICATION-CONNECT(7)

NAME
     connect -- Notification for connection with a peer

DESCRIPTION
     The connect notification informs whenever the node is connected to a peer.

NOTIFICATION PAYLOAD
     *	id (pubkey): The id of the peer which sent the custom message
     *	direction (string) (one of "in", "out"): Direction of the connection
     *	address  (object):  Address  information  (mainly useful if direction is
	out):
	*  type (string)  (one	of  "local  socket",  "ipv4",  "ipv6",	"torv2",
	   "torv3", "websocket"): Type of connection (torv2/torv3 only if direc-
	   tion is out)

	If type is "local socket": - socket (string): Socket filename

	If  type  is "ipv4", "ipv6", "torv2" or "torv3": - address (string): Ad-
	dress in expected format for type - port (u16): Port number

Core Lightning v26.06.1 		       LIGHTNING-NOTIFICATION-CONNECT(7)

home | help