347 Commits (38cc6c2f2137acd2a8766a122d8084d974a01f7a)

Author SHA1 Message Date
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
Rusty Russell e3868b11d2 peer: use watch_txo to watch commit_tx outputs. 9 years ago
Rusty Russell 7b4de8e445 watch: use chaintopology 9 years ago
Rusty Russell 3d9cb81215 watch: express everything in terms of watch_tx and watch_txo. 9 years ago
Rusty Russell 1568774e62 daemon: assert that all anchor inputs are witness. 9 years ago
Rusty Russell eb14111cd0 daemon/wallet: supply a p2wpkh address (as P2SH address). 9 years ago
Rusty Russell f7d86da1b5 daemon: have user supply UTXO for enchor input. 9 years ago
Rusty Russell 772a960c41 tx: add measure_tx_len() helper. 9 years ago
Rusty Russell 58b14292ad bitcoin/tx: (optional) input amount. 9 years ago
Rusty Russell 95340aa03f bitcoind: use fundrawtransaction rather than sendtoaddress and -nowalletbroadcast 9 years ago
Rusty Russell 8104886503 Remove Alpha support. 9 years ago
Rusty Russell 0f35441a29 protocol: move `ack` out of header into specific packets. 9 years ago
Rusty Russell 4c136dde98 peer: don't free unclosed connection. 9 years ago
Rusty Russell 5e7b3d02a1 daemon: batching of changes as per BOLT #2. 9 years ago
Rusty Russell b7a7234717 packets: remember callbacks for acks on queued packets. 9 years ago
Rusty Russell 57689390fb state: queue packets directly. 9 years ago
Rusty Russell 8ed68179a5 funding: add 64-bit id to HTLCs. 9 years ago
Rusty Russell b6943b9198 protocol: remove support for uncompressed pubkeys. 9 years ago
Rusty Russell 8c468c1e15 daemon: use fee rates rather than absolute fees (BOLT #2) 9 years ago
Rusty Russell ba2854e835 peer: don't segv if closing before anchor established. 9 years ago
Rusty Russell 994addadce state: INPUT_CONNECTION_LOST 9 years ago
Rusty Russell b423b33236 protocol: implement close as per BOLT #2. 9 years ago
Rusty Russell afedf0e8ac cryptopkt: implement ack callbacks. 9 years ago
Rusty Russell f8a96ba11f daemon: remove try_command call after queue_cmd. 9 years ago
Rusty Russell b017ca1240 protocol: include next revocation hash in open packet. 9 years ago
Rusty Russell 53a8aef95c daemon: use dynamic array for outgoing queue. 9 years ago
Rusty Russell cc16f46621 daemon: introduce union htlc_staging for proposed changes to HTLCs. 9 years ago
Rusty Russell b8911cde98 daemon: don't allocate htlc inside struct newhtlc. 9 years ago
Rusty Russell b218e79206 daemon: make find_peer take the raw token. 9 years ago
Rusty Russell 71c02c7b4c daemon: make json_get_param() understand which args are compulsory. 9 years ago
Rusty Russell 85147347e2 funding: explicitly mark which side offered the anchor. 9 years ago