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