233 Commits (3c75bf550a9723fb50597022f36fece52398bce6)

Author SHA1 Message Date
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
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
Rusty Russell eb5d832963 state: don't spend the "to-us" output from their commit tx. 9 years ago
Rusty Russell c4713a6ed5 state: use htlc_onchain structure 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 33a477d65d daemon: add pending input queue. 9 years ago
Rusty Russell 77a89bcf2b watch: indicate which input of tx is spend the watch txo. 9 years ago
Rusty Russell 7614e513bd commit_tx: keep permutation map. 9 years ago
Rusty Russell 76cb195ea1 daemon: dev-disconnect command. 9 years ago