343 Commits (9aebd5c797c9f1adedf60392bfb54b5d2f368b7c)

Author SHA1 Message Date
Rusty Russell ba9df99770 daemon: wire in payment. 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 156d1be9ed daemon: struct rval to represent r values. 9 years ago
Rusty Russell 1abc676c4f daemon: always take packets into pkt_in, then have it demultiplex. 9 years ago
Rusty Russell b4f0d32b09 daemon: always terminate waiting manual update command on failure. 9 years ago
Rusty Russell 1444d407f3 daemon: remove normal operation loop from state.c 9 years ago
Rusty Russell bc5800b1c1 state: remove unused fields from union input 9 years ago
Rusty Russell 43db90391a daemon: fix case where commit has nothing to do. 9 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
Rusty Russell 82c2325467 timeout: make all timers one-shot. 9 years ago
Rusty Russell 604122e787 daemon: permute input in steal transaction. 9 years ago
Rusty Russell 09de557c69 daemon: update limit to reflect latest BOLT#2. 9 years ago
Rusty Russell d6603adc2f daemon/test: test stealing. 9 years ago
Rusty Russell 5e40b264dd daemon: handle cheating. 9 years ago
Rusty Russell 4cb6cd1f90 daemon: handle information leak. 9 years ago
Rusty Russell 1be98d860f daemon: handle receipt of error packets. 9 years ago
Rusty Russell e1c6f2d630 daemon: dev-signcommit command to sign the current commit tx. 9 years ago
Rusty Russell 7ae15401dd daemon: log all state changes the same way. 9 years ago
Rusty Russell 0f9889f2c6 state: trim unused states. 9 years ago
Rusty Russell f29a6043d2 daemon: open-code handling of on-chain states. 9 years ago
Rusty Russell f6b36b9be3 Revert: 064309df1a "peer: signature in commit_info is always valid." 9 years ago
Rusty Russell 5eb50345ae daemon: implement bitcoin_htlc_timeout() 9 years ago
Rusty Russell a4125313ce peer: helpers to extract a given HTLC from commit_info. 9 years ago
Rusty Russell 7d4d2977b6 watch: depth callback is always >= 0 9 years ago
Rusty Russell 57ec0397ad chaintopology: only deal with the main chain. 9 years ago
Rusty Russell 17167704a6 daemon: handle bitcoin transaction re-broadcasting. 9 years ago
Rusty Russell 29db78ea43 daemon: always call state machine through state_single. 9 years ago
Rusty Russell e18aea8d71 daemon: simplify fee calculation for spends of our own commit tx. 9 years ago
Rusty Russell 12b37d5f80 daemon: fix logic which determines how anchor output was spent. 9 years ago