123 Commits (04db39558d6993b0620264b8bf69f179bf5a52a4)

Author SHA1 Message Date
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
Rusty Russell 7614e513bd commit_tx: keep permutation map. 9 years ago
Rusty Russell 064309df1a peer: signature in commit_info is always valid. 9 years ago
Rusty Russell 03a538ca02 check-bolt: check that comments in code match the specs. 9 years ago
Rusty Russell 43729c6856 protocol: add output script to close_clearing message. 9 years ago
Rusty Russell b1700b1a91 protocol: non-HTLC commit tx outputs are p2wpkh 9 years ago
Rusty Russell bd081d219d protocol: anchor output is now witness 2of2. 9 years ago
Rusty Russell df5d4e3c10 bitcoin/signature: BIP143 signature support. 9 years ago
Rusty Russell 0f35441a29 protocol: move `ack` out of header into specific packets. 9 years ago
Rusty Russell 0e07cc7a36 daemon: fix close fee negotiation. 9 years ago
Rusty Russell 5e7b3d02a1 daemon: batching of changes as per BOLT #2. 9 years ago
Rusty Russell b7a7234717 packets: remember callbacks for acks on queued packets. 9 years ago
Rusty Russell 57689390fb state: queue packets directly. 9 years ago
Rusty Russell 8ed68179a5 funding: add 64-bit id to HTLCs. 9 years ago
Rusty Russell b6943b9198 protocol: remove support for uncompressed pubkeys. 9 years ago
Rusty Russell 8c468c1e15 daemon: use fee rates rather than absolute fees (BOLT #2) 9 years ago
Rusty Russell b423b33236 protocol: implement close as per BOLT #2. 9 years ago
Rusty Russell b017ca1240 protocol: include next revocation hash in open packet. 9 years ago
Rusty Russell cc16f46621 daemon: introduce union htlc_staging for proposed changes to HTLCs. 9 years ago