109 Commits (7d1137c45ebb9e966cf1efb22e407b983d1678e3)

Author SHA1 Message Date
Rusty Russell de2ffd8985 accept_pkt_open_commit_sig: don't allocate sig. 8 years ago
Rusty Russell 5797dc6496 init: add comments as per updated BOLT #2. 8 years ago
Rusty Russell ec64e7756e protocol: pkt_reconnect becomes pkt_init, and always send. 8 years ago
Rusty Russell 1e6f7059d3 lightningd: allow --commit-fee-max=0 for "no limit" 8 years ago
Rusty Russell a19762b55c open: increase verbosity of errors 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 b47fbfead0 db: Always fail HTLC inside a transaction. 8 years ago
Rusty Russell 23049f09a9 db: Always fulfill HTLC inside a transaction. 8 years ago
Rusty Russell d8af789bbb channel: remove enum channel_side, rename htlc_side to side. 8 years ago
Rusty Russell f90fb4934f close_shutdown: make sure script_pubkey is standard. 8 years ago
Rusty Russell d4ddebd55a htlc: save fail message in HTLC. 8 years ago
Rusty Russell 31bdf384cb daemon: accept feechange packets. 8 years ago
Rusty Russell e7b003b499 daemon: handle feechange requests. 8 years ago
Rusty Russell be38d3f507 Minor cleanups: things found while debugging the database code. 9 years ago
Rusty Russell 8a3c9908ce protocol: no signature in update_commit if receiver has no outputs. 9 years ago
Rusty Russell 3866d7605c daemon: reconnect support. 9 years ago
Rusty Russell fd650ba79d protocol: rename clearing to shutdown. 9 years ago
Rusty Russell 02cb7abd9d bitcoind: keep running fee estimate. 9 years ago
Rusty Russell 19be4dbfe6 channel: remove htlcs array. 9 years ago
Rusty Russell 4319f3ac70 peer: explicitly store the previous revocation hash when sending new update. 9 years ago
Rusty Russell 0bd12b4e97 daemon/packets.h: create from prototypes which were in state.h. 9 years ago
Rusty Russell 149fa341be packets.c: accept_pkt_* should do less state-mangling. 9 years ago
Rusty Russell 6615db32c0 packets.c: queue_pkt_* only creates and sends packets. 9 years ago
Rusty Russell abf4182ef5 peer: cache txid for commitment_tx. 9 years ago
Rusty Russell d9e825bc2c create_commit_tx: use HTLC map, not cstate HTLC array. 9 years ago
Rusty Russell 1af3428c6c peer: keep a single HTLC map for all htlcs. 9 years ago
Rusty Russell 4b5ec85c25 daemon: keep enum htlc_state within struct htlc. 9 years ago
Rusty Russell 22976bdd32 daemon: use HTLC states. 9 years ago
Rusty Russell 2a03af4486 Misc minor cleanups. 9 years ago
Rusty Russell f2d835522c bitcoin: implement sig_valid. 9 years ago
Rusty Russell 42bed80145 pubkey: don't carry around DER encoding. 9 years ago
Rusty Russell 69cb158edd base58, script, protobuf_convert: don't use temporary secp256k1 context. 9 years ago
Rusty Russell 08a910b06e BOLT: fee requirements update. 9 years ago
Rusty Russell 3de6ca3d0b BOLT: update comment to indicate HTLC id must be completely unique. 9 years ago
Rusty Russell ffeab49ed3 htlc_add: only limit is on receiving side. 9 years ago
Rusty Russell 31a5de644a daemon: route fulfill back. 9 years ago
Rusty Russell 37b269f53e daemon: link HTLCs together. 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 b2fdc86740 daemon: check and use routing info in HTLC packet. 9 years ago
Rusty Russell bf3acfab62 daemon/htlc: including routing information. 9 years ago
Rusty Russell f06855ff6c daemon: extract newhtlc code into common function. 9 years ago
Rusty Russell a3375516e5 daemon: don't ever use timeouts in seconds, always blocks, 9 years ago
Rusty Russell c1e1299249 daemon: always log error packets we create. 9 years ago
Rusty Russell f1af56fcee daemon: save acked changes, so we can process them when confirmed on both sides. 9 years ago
Rusty Russell eeb9b9de84 funding: make funding_htlc_by_id() return pointer, not offset. 9 years ago
Rusty Russell 156d1be9ed daemon: struct rval to represent r values. 9 years ago
Rusty Russell bc5800b1c1 state: remove unused fields from union input 9 years ago
Rusty Russell 50bffd67c2 daemon: don't save invalid commit signatures. 9 years ago