core-lightning/common/billboard.h
Rusty Russell 5b7f14a7cb channeld/dualopend/lightningd: use channel_ready everywhere.
This alters the billboard, but that's a human-readable thing so not
noted in CHANGELOG.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Changed: JSON-RPC: `listpeers` `status` now refers to "channel ready" rather than "funding locked" (BOLT language change for zeroconf channels)
Changelog-Added: JSON-RPC: `channel_opened` notification `channel_ready` flag.
Changelog-Deprecated: JSON-RPC: `channel_opened` notification `funding_locked` flag (use `channel_ready`: BOLTs namechange).
2022-09-12 09:34:52 +09:30

15 lines
393 B
C

#ifndef LIGHTNING_COMMON_BILLBOARD_H
#define LIGHTNING_COMMON_BILLBOARD_H
#include "config.h"
#include <ccan/ccan/tal/tal.h>
#include <common/htlc.h>
char *billboard_message(const tal_t *ctx,
const bool channel_ready[NUM_SIDES],
const bool have_sigs[NUM_SIDES],
const bool shutdown_sent[NUM_SIDES],
u32 depth_togo,
size_t num_htlcs);
#endif /* LIGHTNING_COMMON_BILLBOARD_H */