2015-07-29 08:44:28 +02:00
|
|
|
#ifndef GATHER_UPDATES_H
|
|
|
|
#define GATHER_UPDATES_H
|
2015-08-07 05:15:30 +02:00
|
|
|
#include <ccan/tal/tal.h>
|
2015-07-29 08:44:28 +02:00
|
|
|
#include "lightning.pb-c.h"
|
|
|
|
|
|
|
|
struct signature;
|
|
|
|
struct sha256;
|
2015-08-07 05:15:30 +02:00
|
|
|
struct channel_state;
|
2015-07-29 08:44:28 +02:00
|
|
|
|
2015-08-07 05:15:30 +02:00
|
|
|
struct channel_state *gather_updates(const tal_t *ctx,
|
|
|
|
const OpenChannel *o1, const OpenChannel *o2,
|
2015-07-29 08:46:24 +02:00
|
|
|
const OpenAnchor *oa, uint64_t fee,
|
2015-07-29 08:44:28 +02:00
|
|
|
char **argv,
|
2015-08-07 05:15:30 +02:00
|
|
|
size_t *num_updates,
|
2015-07-29 08:44:28 +02:00
|
|
|
struct sha256 *our_rhash,
|
|
|
|
struct sha256 *their_rhash,
|
|
|
|
struct signature *their_commit_sig);
|
|
|
|
#endif /* GATHER_UPDATES_H */
|