12 Commits (83e89f0fe58c794ae7b96628edc37c88823e56d5)

Author SHA1 Message Date
Rusty Russell 940053d000 htlc: move enum side crom daemon/channel.h to daemon/htlc.h 8 years ago
Rusty Russell 7b5806fef2 peer: give more sensible error if anchor is too large. 8 years ago
Rusty Russell d8af789bbb channel: remove enum channel_side, rename htlc_side to side. 8 years ago
Rusty Russell f8fa8c8dff peer: handle case correctly where they can't handle fees. 8 years ago
Rusty Russell 555a753564 db: don't assume HTLCs in order when reconstructing channel state. 8 years ago
Rusty Russell 24298a4278 channel: approx_max_feerate and can_afford_feerate 8 years ago
Rusty Russell 7275aa9c32 channel: use u64 for fee_rate everywhere. 8 years ago
Rusty Russell 19be4dbfe6 channel: remove htlcs array. 8 years ago
Rusty Russell d45161b07b daemon: use htlc id for fulfillhtlc and failhtlc commands. 8 years ago
Rusty Russell 7e6dc28f70 htlc: store which side created the HTLC. 9 years ago
Rusty Russell cc4fc4b668 daemon: use htlc pointers everywhere. 9 years ago
Rusty Russell fecd91ab2a Move funding.[ch] to daemon/channel.[ch]. 9 years ago
Rusty Russell bf3acfab62 daemon/htlc: including routing information. 9 years ago
Rusty Russell eeb9b9de84 funding: make funding_htlc_by_id() return pointer, not offset. 9 years ago
Rusty Russell 4c63845969 daemon: make funding directions local-centric. 9 years ago
Rusty Russell cf7a7a7273 funding: use sides[OURS/THEIRS] instead of a and b. 9 years ago
Rusty Russell b66d3e263a funding: return pointer to added HTLC. 9 years ago
Rusty Russell 017d199305 funding: record changes so we can abide by BOLT#2 9 years ago
Rusty Russell 8ed68179a5 funding: add 64-bit id to HTLCs. 9 years ago
Rusty Russell 8c468c1e15 daemon: use fee rates rather than absolute fees (BOLT #2) 9 years ago
Rusty Russell 85147347e2 funding: explicitly mark which side offered the anchor. 9 years ago
Rusty Russell cc1b1d7de7 funding: adjust_fee() to allow fee alterations. 9 years ago
Rusty Russell d5c30ee30b funding: funding_find_htlc and funding_remove_htlc. 9 years ago
Rusty Russell 6d6abd57e7 funding: remove protobufs. 9 years ago
Rusty Russell d733e82352 header cleanup: sort include lines into alpha order, after config.h 9 years ago
Rusty Russell 5bc22f0368 protocol: increase HTLC precision to 1/1000 satoshi. 9 years ago
Rusty Russell f0df2b7930 channel_state: add htlcs array. 10 years ago
Rusty Russell a09c0a9fa7 funding: take into account HTLC add/remove. 10 years ago
Rusty Russell a4dfe3ad72 channel_state: encapsulate funding of channel in one place. 10 years ago
Rusty Russell 3260fb2ed1 protocol: add commitment fee logic. 10 years ago
Rusty Russell eac3af06f1 protocol: switch to single-funder anchor model. 10 years ago