mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-03 20:44:54 +01:00
a4dfe3ad72
This shows where funds are going at any time (fees vs to each side). funding.c is mainly rewritten, and should be clearer now. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
19 lines
474 B
C
19 lines
474 B
C
#ifndef GATHER_UPDATES_H
|
|
#define GATHER_UPDATES_H
|
|
#include <ccan/tal/tal.h>
|
|
#include "lightning.pb-c.h"
|
|
|
|
struct signature;
|
|
struct sha256;
|
|
struct channel_state;
|
|
|
|
struct channel_state *gather_updates(const tal_t *ctx,
|
|
const OpenChannel *o1, const OpenChannel *o2,
|
|
const OpenAnchor *oa, uint64_t fee,
|
|
char **argv,
|
|
size_t *num_updates,
|
|
struct sha256 *our_rhash,
|
|
struct sha256 *their_rhash,
|
|
struct signature *their_commit_sig);
|
|
#endif /* GATHER_UPDATES_H */
|