lightningd: maintain a status billboard for each channel.

Each state (effectively, each daemon) has two slots: a permanent slot
if something permanent happens (usually, a failure), and a transient
slot which summarizes what's happening right now.

Uncommitted channels only have a transient slot, by their very nature.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2018-02-23 16:23:44 +10:30
committed by Christian Decker
parent d499c34db2
commit 86a04c59d4
4 changed files with 32 additions and 0 deletions

View File

@@ -173,6 +173,7 @@ wallet_commit_channel(struct lightningd *ld,
CHANNELD_AWAITING_LOCKIN,
uc->fc ? LOCAL : REMOTE,
uc->log,
"Eat at Joes!",
channel_flags,
&uc->our_config,
uc->minimum_depth,