104 Commits (1f1bd56e2a62446ae5d966ccfae3c45e3d1c1928)

Author SHA1 Message Date
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. 8 years ago
Rusty Russell 8a3c9908ce protocol: no signature in update_commit if receiver has no outputs. 8 years ago
Rusty Russell 3866d7605c daemon: reconnect support. 8 years ago
Rusty Russell fd650ba79d protocol: rename clearing to shutdown. 8 years ago
Rusty Russell 02cb7abd9d bitcoind: keep running fee estimate. 8 years ago
Rusty Russell 19be4dbfe6 channel: remove htlcs array. 8 years ago
Rusty Russell 4319f3ac70 peer: explicitly store the previous revocation hash when sending new update. 8 years ago
Rusty Russell 0bd12b4e97 daemon/packets.h: create from prototypes which were in state.h. 8 years ago
Rusty Russell 149fa341be packets.c: accept_pkt_* should do less state-mangling. 8 years ago
Rusty Russell 6615db32c0 packets.c: queue_pkt_* only creates and sends packets. 8 years ago
Rusty Russell abf4182ef5 peer: cache txid for commitment_tx. 8 years ago
Rusty Russell d9e825bc2c create_commit_tx: use HTLC map, not cstate HTLC array. 8 years ago
Rusty Russell 1af3428c6c peer: keep a single HTLC map for all htlcs. 8 years ago
Rusty Russell 4b5ec85c25 daemon: keep enum htlc_state within struct htlc. 8 years ago
Rusty Russell 22976bdd32 daemon: use HTLC states. 8 years ago
Rusty Russell 2a03af4486 Misc minor cleanups. 8 years ago
Rusty Russell f2d835522c bitcoin: implement sig_valid. 8 years ago
Rusty Russell 42bed80145 pubkey: don't carry around DER encoding. 8 years ago
Rusty Russell 69cb158edd base58, script, protobuf_convert: don't use temporary secp256k1 context. 8 years ago
Rusty Russell 08a910b06e BOLT: fee requirements update. 8 years ago
Rusty Russell 3de6ca3d0b BOLT: update comment to indicate HTLC id must be completely unique. 8 years ago
Rusty Russell ffeab49ed3 htlc_add: only limit is on receiving side. 8 years ago
Rusty Russell 31a5de644a daemon: route fulfill back. 8 years ago
Rusty Russell 37b269f53e daemon: link HTLCs together. 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 b2fdc86740 daemon: check and use routing info in HTLC packet. 8 years ago
Rusty Russell bf3acfab62 daemon/htlc: including routing information. 8 years ago
Rusty Russell f06855ff6c daemon: extract newhtlc code into common function. 8 years ago
Rusty Russell a3375516e5 daemon: don't ever use timeouts in seconds, always blocks, 8 years ago
Rusty Russell c1e1299249 daemon: always log error packets we create. 8 years ago
Rusty Russell f1af56fcee daemon: save acked changes, so we can process them when confirmed on both sides. 8 years ago
Rusty Russell eeb9b9de84 funding: make funding_htlc_by_id() return pointer, not offset. 8 years ago
Rusty Russell 156d1be9ed daemon: struct rval to represent r values. 8 years ago
Rusty Russell bc5800b1c1 state: remove unused fields from union input 8 years ago
Rusty Russell 50bffd67c2 daemon: don't save invalid commit signatures. 8 years ago
Rusty Russell 9046597344 daemon: tighten check for invalid IDs. 8 years ago
Rusty Russell 3928cbe30e daemon: fail connection if preimage isn't valid for shachain. 8 years ago
sstone be1a230ae8 fix formatting issues 8 years ago
sstone 07e6ed0c16 save received revocation preimages in shachain. 8 years ago
Rusty Russell d4862938c8 daemon: move unacked queue into commit_info struct. 9 years ago