91 Commits (02cb7abd9df2332c26aa9ca2ac3ebb376dd27856)

Author SHA1 Message Date
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
Rusty Russell 9046597344 daemon: tighten check for invalid IDs. 9 years ago
Rusty Russell 3928cbe30e daemon: fail connection if preimage isn't valid for shachain. 9 years ago
sstone be1a230ae8 fix formatting issues 9 years ago
sstone 07e6ed0c16 save received revocation preimages in shachain. 9 years ago
Rusty Russell d4862938c8 daemon: move unacked queue into commit_info struct. 9 years ago
Rusty Russell f662424b7b protocol: don't sign initial commitment for non-funder. 9 years ago
Rusty Russell 5aed0e12f8 daemon: remove closing states from state machine. 9 years ago
Rusty Russell 4c63845969 daemon: make funding directions local-centric. 9 years ago
Rusty Russell 45a6f81c3c protocol: remove ack fields. 9 years ago
Rusty Russell 2bf43f1ebd daemon: handle HTLC as per BOLT #2 algorithm. 9 years ago
Rusty Russell cf7a7a7273 funding: use sides[OURS/THEIRS] instead of a and b. 9 years ago
Rusty Russell 84f5a82eea daemon: use "local" and "remote" instead of "us" and "them". 9 years ago
Rusty Russell f43cc72d6a Makefile: add generated packet names. 9 years ago
Rusty Russell 35d1b13cde daemon: commit outstanding changes via timer. 9 years ago
Rusty Russell 09de557c69 daemon: update limit to reflect latest BOLT#2. 9 years ago
Rusty Russell f6b36b9be3 Revert: 064309df1a "peer: signature in commit_info is always valid." 9 years ago
Rusty Russell bccd10c6d8 daemon: don't code check for cleared commits in the main loop, use pending queue. 9 years ago
Rusty Russell 9eabab78ab utils: tal_hexstr() helper. 9 years ago