174 Commits (73df39e0c9f2fcc4d16e0b0040d72d808a04312b)

Author SHA1 Message Date
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
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 4fe90ee3f5 peer: fix mutual close detection. 9 years ago
Rusty Russell 43729c6856 protocol: add output script to close_clearing message. 9 years ago
Rusty Russell f24b73124a Remove txid normalization. 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 8bd334380e peer: use tip mediantime for CSV timeout. 9 years ago
Rusty Russell b5a6ac26c7 watch: don't hand blockhash, have commit_tx_depth() use get_last_mediantime() 9 years ago