18 Commits (de39752d0588c503d6db795dad331c8fd775b6fe)

Author SHA1 Message Date
Rusty Russell c2cc164d6d daemon: disable old BOLT checks. 8 years ago
Rusty Russell c7b69abdaa type_to_string: move formatting to appropriate files. 8 years ago
Rusty Russell f5c00deec7 Remove trailing whitespace from source. 8 years ago
Rusty Russell 25b3dc0038 channel: fix max feelevel calculation. 8 years ago
Rusty Russell 7b5806fef2 peer: give more sensible error if anchor is too large. 8 years ago
Rusty Russell 68632e6020 Use "msatoshi" not "msatoshis" everywhere. 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 2aaf0cb817 peer: remove unacked_changes and acked_changes queues. 8 years ago
Rusty Russell 7b2d6925a0 channel: assert htlc direction is correct. 8 years ago
Rusty Russell 7e6dc28f70 htlc: store which side created the HTLC. 8 years ago
Rusty Russell cc4fc4b668 daemon: use htlc pointers everywhere. 8 years ago
Rusty Russell fecd91ab2a Move funding.[ch] to daemon/channel.[ch]. 8 years ago
Rusty Russell bf3acfab62 daemon/htlc: including routing information. 8 years ago
Rusty Russell eeb9b9de84 funding: make funding_htlc_by_id() return pointer, not offset. 8 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 03a538ca02 check-bolt: check that comments in code match the specs. 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 4c3370e023 funding: trivial variable rename 9 years ago
Rusty Russell 85147347e2 funding: explicitly mark which side offered the anchor. 9 years ago
Rusty Russell c1d1b360bf daemon: add memcheck() in various places where we expect things to be initialized. 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 5bc22f0368 protocol: increase HTLC precision to 1/1000 satoshi. 9 years ago
Rusty Russell f0df2b7930 channel_state: add htlcs array. 9 years ago
Rusty Russell a09c0a9fa7 funding: take into account HTLC add/remove. 9 years ago
Rusty Russell a4dfe3ad72 channel_state: encapsulate funding of channel in one place. 9 years ago
Rusty Russell 3260fb2ed1 protocol: add commitment fee logic. 9 years ago
Rusty Russell eac3af06f1 protocol: switch to single-funder anchor model. 9 years ago