lightningd/lightningd.h: Maintain a round-robin list of channels.

This commit is contained in:
ZmnSCPxj jxPCSnmZ
2020-08-05 13:30:56 +08:00
committed by Rusty Russell
parent f50951a0d6
commit a9a11265dd
5 changed files with 15 additions and 0 deletions

View File

@@ -274,6 +274,9 @@ struct lightningd {
/* If non-NULL, contains the exit code to use. */
int *exit_code;
/* The round-robin list of channels, for use when doing MPP. */
struct list_head rr_channels;
};
/* Turning this on allows a tal allocation to return NULL, rather than aborting.