43 Commits (1f9103c9d339710ade02c7649d590550ab206a63)

Author SHA1 Message Date
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
Rusty Russell b70c18a40e daemon: implement anchor watch timeout. 9 years ago
Rusty Russell 168ed96b12 daemon: close command. 9 years ago
Rusty Russell 45c5c83d6f daemon: exit main loop to free dead peers. 9 years ago
Rusty Russell 212f8ee022 daemon: fail if we enter an error state. 9 years ago
Rusty Russell b76858c1a1 daemon: implement HTLC expiry. 9 years ago
Rusty Russell 1018823f97 daemon: HTLC expiry limits. 9 years ago
Rusty Russell f3c5aa7634 daemon: don't close conn until we've sent all the output packets. 9 years ago
Rusty Russell 8b666ea449 daemon: queue commands rather than executing them immediately. 9 years ago
Rusty Russell 2346f6bf14 daemon: routefail command. 9 years ago
Rusty Russell 1e82799852 daemon: fulfillhtlc command 9 years ago
Rusty Russell 17359279b2 daemon: getpeers: list HTLCs. 9 years ago
Rusty Russell e1f772a443 peer: implement committed_to_htlcs(). 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 f5538bd1d2 daemon: test scripts. 9 years ago
Rusty Russell 3c9fd4fbe6 daemon: code to open channel and watch anchor. 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 abc002ff15 daemon: add state.c. 9 years ago
Rusty Russell c51a8d804f bitcoind: routine to send to a specific address. 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 bf3080ca09 secrets: handle per-peer secrets as well. 9 years ago
Rusty Russell 08ccb4b6f0 getpeers: new command. 9 years ago
Rusty Russell d8959b3117 peer: make connect command an async command. 9 years ago
Rusty Russell 366f8a5f3f dns: add failure callback. 9 years ago
Rusty Russell d68ae0b612 jsonrpc: adapt it to be async. 9 years ago
Rusty Russell 74f294e36c daemon: encrypted communication (version 3) 9 years ago
Rusty Russell 2df28021ac daemon: command to connect 9 years ago
Rusty Russell e4224f72d4 daemon: netaddr 9 years ago
Rusty Russell 469401610f daemon: socket code. 9 years ago