54 Commits (d4862938c84d65a4512e7f16cd24b1d16fa39ca8)

Author SHA1 Message Date
Rusty Russell d4862938c8 daemon: move unacked queue into commit_info struct. 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 45a6f81c3c protocol: remove ack fields. 9 years ago
Rusty Russell 2bf43f1ebd daemon: handle HTLC as per BOLT #2 algorithm. 9 years ago
Rusty Russell 84f5a82eea daemon: use "local" and "remote" instead of "us" and "them". 9 years ago
Rusty Russell 35d1b13cde daemon: commit outstanding changes via timer. 9 years ago
Rusty Russell 7ae15401dd daemon: log all state changes the same way. 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 17167704a6 daemon: handle bitcoin transaction re-broadcasting. 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 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 43729c6856 protocol: add output script to close_clearing message. 9 years ago
Rusty Russell bd081d219d protocol: anchor output is now witness 2of2. 9 years ago
Rusty Russell b5a6ac26c7 watch: don't hand blockhash, have commit_tx_depth() use get_last_mediantime() 9 years ago
Rusty Russell f7d86da1b5 daemon: have user supply UTXO for enchor input. 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 8c468c1e15 daemon: use fee rates rather than absolute fees (BOLT #2) 9 years ago
Rusty Russell b423b33236 protocol: implement close as per BOLT #2. 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 1f9103c9d3 daemon: rename num_htlcs to commit_tx_counter. 9 years ago
Rusty Russell 862509637b daemon: implement unilateral commit. 9 years ago
Rusty Russell b70c18a40e daemon: implement anchor watch timeout. 9 years ago
Rusty Russell 168ed96b12 daemon: close command. 9 years ago
Rusty Russell b76858c1a1 daemon: implement HTLC expiry. 9 years ago
Rusty Russell 8b666ea449 daemon: queue commands rather than executing them immediately. 9 years ago
Rusty Russell 1e82799852 daemon: fulfillhtlc command 9 years ago
Rusty Russell 9efdbbb21b peer: use funding.h's struct channel_htlc. 9 years ago
Rusty Russell fc4c94cb06 daemon: simple close support for the case of one side closing transaction. 9 years ago
Rusty Russell 6bdaa5d1ca daemon: newhtlc command. 9 years ago
Rusty Russell 645958920e peer: make_commit_txs() helper. 9 years ago
Rusty Russell ecbe671688 peer: keep current commit txs, anchor state, channel funding and their sig. 9 years ago
Rusty Russell ae04116883 daemon: send open_pkt on initialization. 9 years ago
Rusty Russell 12b9d39b76 daemon: store revocation hashes in the peer_visible_state structure. 9 years ago
Rusty Russell abc002ff15 daemon: add state.c. 9 years ago
Rusty Russell fc49e3fd74 daemon: rename 'state' to 'dstate' everywhere. 9 years ago
Rusty Russell b04392609a daemon: encapsulate each side's state in a struct. 9 years ago
Rusty Russell 0376e08fea daemon: peer needs to know who offered the anchor. 9 years ago
Rusty Russell e9237f94b1 daemon/watch: API to watch various bitcoin transactions. 9 years ago
Rusty Russell d303393d67 daemon/peer: save their commit key too. 9 years ago
Rusty Russell bf3080ca09 secrets: handle per-peer secrets as well. 9 years ago
Rusty Russell 08ccb4b6f0 getpeers: new command. 9 years ago