mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
205a7057c9
This lets the test_option_upfront_shutdown_script test pass
25 lines
652 B
C
25 lines
652 B
C
#ifndef LIGHTNING_OPENINGD_COMMON_H
|
|
#define LIGHTNING_OPENINGD_COMMON_H
|
|
|
|
#include "config.h"
|
|
|
|
struct amount_sat;
|
|
struct channel_config;
|
|
|
|
|
|
bool check_config_bounds(const tal_t *ctx,
|
|
struct amount_sat funding,
|
|
u32 feerate_per_kw,
|
|
u32 max_to_self_delay,
|
|
struct amount_msat min_effective_htlc_capacity,
|
|
const struct channel_config *remoteconf,
|
|
const struct channel_config *localconf,
|
|
bool am_opener,
|
|
bool option_anchor_outputs,
|
|
char **err_reason);
|
|
|
|
u8 *no_upfront_shutdown_script(const tal_t *ctx,
|
|
struct feature_set *our_features,
|
|
const u8 *their_features);
|
|
#endif /* LIGHTNING_OPENINGD_COMMON_H */
|