63 Commits (a3375516e59143c3048770bcbbe9a5a6582b8b7e)

Author SHA1 Message Date
Rusty Russell a3375516e5 daemon: don't ever use timeouts in seconds, always blocks, 9 years ago
Rusty Russell f1af56fcee daemon: save acked changes, so we can process them when confirmed on both sides. 9 years ago
Rusty Russell 156d1be9ed daemon: struct rval to represent r values. 9 years ago
Rusty Russell b4f0d32b09 daemon: always terminate waiting manual update command on failure. 9 years ago
Rusty Russell bc5800b1c1 state: remove unused fields from union input 9 years ago
sstone be1a230ae8 fix formatting issues 9 years ago
sstone 07e6ed0c16 save received revocation preimages in shachain. 9 years ago
Rusty Russell 400d415172 daemon: remove pending input and command queues. 9 years ago
Rusty Russell 4110376e87 daemon: allow commands during commit. 9 years ago
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