85 Commits (9eabab78ab855bbe99a7eefff3db32797e505a71)

Author SHA1 Message Date
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
Rusty Russell cb0cc80984 patch remove-timeout.patch 9 years ago
Rusty Russell 1f9103c9d3 daemon: rename num_htlcs to commit_tx_counter. 9 years ago
Rusty Russell 983000428f daemon: rename CMD_SEND_HTLC_UPDATE to CMD_SEND_HTLC_ADD 9 years ago
Rusty Russell 4f67b59c26 protocol: rename routefail to fail. 9 years ago
Rusty Russell a2f4000d22 state: cleanup after anchor has been transmitted. 9 years ago
Rusty Russell 35ab923163 peer: fix dangling peer->current_htlc->htlc pointer. 9 years ago
Rusty Russell ab1176d218 jsonrpc: rename "id" to "peerid" everywhere. 9 years ago
Rusty Russell 862509637b daemon: implement unilateral commit. 9 years ago
Rusty Russell 6afe3f718d daemon: bitcoind callback gives the blockhash the tx was included in. 9 years ago