mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
e7778a0494
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
15 lines
435 B
C
15 lines
435 B
C
#ifndef LIGHTNING_COMMON_HTLC_TRIM_H
|
|
#define LIGHTNING_COMMON_HTLC_TRIM_H
|
|
#include "config.h"
|
|
#include <common/amount.h>
|
|
#include <common/htlc.h>
|
|
|
|
/* If this htlc too small to create an output on @side's commitment tx? */
|
|
bool htlc_is_trimmed(enum side htlc_owner,
|
|
struct amount_msat htlc_amount,
|
|
u32 feerate_per_kw,
|
|
struct amount_sat dust_limit,
|
|
enum side side);
|
|
|
|
#endif /* LIGHTNING_COMMON_HTLC_TRIM_H */
|