mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
daemon/htlc: including routing information.
This is the logical place for it to belong: with the HTLC. For the manually-created HTLCs, we create a simple one-hop route. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
3
state.h
3
state.h
@@ -104,7 +104,8 @@ void queue_pkt_htlc_add(struct peer *peer,
|
||||
u64 id,
|
||||
u64 msatoshis,
|
||||
const struct sha256 *rhash,
|
||||
u32 expiry);
|
||||
u32 expiry,
|
||||
const u8 *route);
|
||||
void queue_pkt_htlc_fulfill(struct peer *peer, u64 id, const struct rval *r);
|
||||
void queue_pkt_htlc_fail(struct peer *peer, u64 id);
|
||||
void queue_pkt_commit(struct peer *peer);
|
||||
|
||||
Reference in New Issue
Block a user