260 Commits (ab569c069ff8bfa99ec73344bd02a37a6559708a)

Author SHA1 Message Date
Rusty Russell 25d99b91bd daemon: fail any HTLCs which we weren't committed to if we drop to chain. 8 years ago
Rusty Russell caf50c9ae4 peer: handle fulfull and fail onchain. 8 years ago
Rusty Russell 4f1a1ec044 BOLT: update for latest onchain draft. 8 years ago
Rusty Russell b8571c1ac8 watch: make it easier for them to self-delete. 8 years ago
Rusty Russell 3ba25dd994 htlc: keep rval (if known). 8 years ago
Rusty Russell 69a8ea2ad9 daemon: pay command. 8 years ago
Rusty Russell 21a29d9b4d daemon: fix bug when we close two peers simulatneously. 8 years ago
Rusty Russell 31a5de644a daemon: route fulfill back. 8 years ago
Rusty Russell 21fe4fbba7 daemon: route failures back. 8 years ago
Rusty Russell 2aa8fe8df1 daemon: route payments onwards. 8 years ago
Rusty Russell f994a44827 daemon/peer: keep our own node connection information. 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 b1ac490bea daemon: add-route RPC command. 8 years ago
Rusty Russell 27da8f77b5 daemon: expose find_peer(), rename other to find_peer_json(). 8 years ago
Rusty Russell a3375516e5 daemon: don't ever use timeouts in seconds, always blocks, 8 years ago
Rusty Russell ba9df99770 daemon: wire in payment. 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 156d1be9ed daemon: struct rval to represent r values. 8 years ago
Rusty Russell 1abc676c4f daemon: always take packets into pkt_in, then have it demultiplex. 8 years ago
Rusty Russell b4f0d32b09 daemon: always terminate waiting manual update command on failure. 8 years ago
Rusty Russell 1444d407f3 daemon: remove normal operation loop from state.c 8 years ago
Rusty Russell bc5800b1c1 state: remove unused fields from union input 8 years ago
Rusty Russell 43db90391a daemon: fix case where commit has nothing to do. 8 years ago
sstone 385c2a5905 setup_first_commit: initialize their remote commit with their commit fee rate 9 years ago
Rusty Russell 40b550a9d2 daemon: don't log bogus warning on failed anchors. 9 years ago
Rusty Russell 773a6088e4 daemon: reorder and collapse functions. 9 years ago
Rusty Russell 400d415172 daemon: remove pending input and command queues. 9 years ago
Rusty Russell 4110376e87 daemon: allow commands during commit. 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 5188b14c7c daemon: fix unwatch anchor depth. 9 years ago
Rusty Russell b9d4f7c0ab daemon: dev-output command. 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 311ae9b4d8 daemon: remove unused functions. 9 years ago
Rusty Russell 0ceee86098 daemon: don't allow fulfill/fail on uncommitted HTLCs. 9 years ago
Rusty Russell f43cc72d6a Makefile: add generated packet names. 9 years ago
Rusty Russell fabdcaf62b daemon: close correctly when guest fails. 9 years ago
Rusty Russell 5a2a9126c3 daemon: don't allow new RPC commands when peer closing. 9 years ago
Rusty Russell b6339af195 daemon: remove unused CMD_REQUEUE. 9 years ago
Rusty Russell 35d1b13cde daemon: commit outstanding changes via timer. 9 years ago