220 Commits (97bc4ed0cb97b71aeb7ee4367094fddfa2e330ab)

Author SHA1 Message Date
Rusty Russell 97bc4ed0cb daemon/test: test mutual close with outstanding HTLCS. 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 148bd793cd daemon/test: test overlapping commits. 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 c710a64ccf Makefile: support for suppressing valgrind. 9 years ago
Rusty Russell 35d1b13cde daemon: commit outstanding changes via timer. 9 years ago
Rusty Russell fe1ba96332 daemon: time options use opt_time. 9 years ago
Rusty Russell 6c7facfd2d daemon: time option support. 9 years ago
Rusty Russell 82c2325467 timeout: make all timers one-shot. 9 years ago
Rusty Russell 4beaedfa49 daemon/test: clean up Makefile. 9 years ago
Rusty Russell 604122e787 daemon: permute input in steal transaction. 9 years ago
Rusty Russell 082eaf406e daemon/test: fix spending check. 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 effcb73a48 daemon/test: speed up and clean up tests. 9 years ago
Rusty Russell 7ae15401dd daemon: log all state changes the same way. 9 years ago
Rusty Russell 623eec4068 daemon/test: test unilateral close. 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 c94f77fd14 forever-confirms: warn if less than 100. 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 1b49d2afa6 chaintopology: always track txs we broadcast ourselves. 9 years ago
Rusty Russell 7d4d2977b6 watch: depth callback is always >= 0 9 years ago
Rusty Russell 4e102ccfcf chaintopology: simply track txids, not watches. 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 c1dc0e54fa daemon/bitcoind: bitcoind_sendrawtx to send hex string. 9 years ago
Rusty Russell 8fe2ba0ab3 daemon/bitcoind: don't eliminate output on non-zero exit status. 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