374 Commits (1305df6417c09f8ab826be249c8762ac575d32cd)

Author SHA1 Message Date
Rusty Russell 1305df6417 daemon: send feechange requests. 8 years ago
Rusty Russell 31bdf384cb daemon: accept feechange packets. 8 years ago
Rusty Russell e7b003b499 daemon: handle feechange requests. 8 years ago
Rusty Russell c11c81a920 daemon: first unit test, infrastructure. 8 years ago
Rusty Russell 24298a4278 channel: approx_max_feerate and can_afford_feerate 8 years ago
Rusty Russell e40a070014 json_commit: document usage correctly. 9 years ago
Rusty Russell 830a65de46 daemon: --add-route option. 9 years ago
Rusty Russell 319c2ec5fc peer: keep addresses separately from peers. 9 years ago
Rusty Russell f68607d10b db: forget peer properly. 9 years ago
Rusty Russell 9f512f6540 peer: restart from the other side. 9 years ago
Rusty Russell 190b30e958 daemon: test restarting. 9 years ago
Rusty Russell 5f368f1c95 peer: save/load results in database. 9 years ago
Rusty Russell 71b8a07c56 db.c: database API. 9 years ago
Rusty Russell be38d3f507 Minor cleanups: things found while debugging the database code. 9 years ago
Rusty Russell 0bb183e028 peer: split and expose new_peer function. 9 years ago
Rusty Russell ab2fac3714 peer: add flag to indicate whether we created anchor. 9 years ago
Rusty Russell f4fe42e977 commit_tx: more debugging. 9 years ago
Rusty Russell 9b869a80a1 peer: set up peer->nc only when in state NORMAL. 9 years ago
Rusty Russell 87da9634bc routing: use ids, not nodes in interface. 9 years ago
Rusty Russell 8a3c9908ce protocol: no signature in update_commit if receiver has no outputs. 9 years ago
Rusty Russell 5f4b4525b3 peer: use signed values for order. 9 years ago
Rusty Russell 7275aa9c32 channel: use u64 for fee_rate everywhere. 9 years ago
Rusty Russell 15e8bd5a45 peer: save minimum possible depth for anchor. 9 years ago
Rusty Russell 795601dfcf daemon: reconnect with timeout, try from both sides. 9 years ago
Rusty Russell 3866d7605c daemon: reconnect support. 9 years ago
Rusty Russell fd650ba79d protocol: rename clearing to shutdown. 9 years ago
Rusty Russell bb28bbd470 peer: always initialize commit_info commit number, other fields. 9 years ago
Rusty Russell 9448358cfd chaintopology: wait for full blockchain load before start. 9 years ago
Rusty Russell 02cb7abd9d bitcoind: keep running fee estimate. 9 years ago
Rusty Russell ab38fd7542 peer: rename closing_onchain to onchain. 9 years ago
Rusty Russell e19d5751fe peer: remove commit_info's prev pointer. 9 years ago
Rusty Russell 19be4dbfe6 channel: remove htlcs array. 9 years ago
Rusty Russell 7cd9272ba9 htlc: htlc_is_dead() helper. 9 years ago
Rusty Russell 23f9c7c209 permute_tx: don't save permutation map. 9 years ago
Rusty Russell dca6c8efc1 peer: don't use permutation map for their unilateral spends. 9 years ago
Rusty Russell 2e9a039789 peer: make closing_onchain.resolved[] in tx-output order. 9 years ago
Rusty Russell 4319f3ac70 peer: explicitly store the previous revocation hash when sending new update. 9 years ago
Rusty Russell d45161b07b daemon: use htlc id for fulfillhtlc and failhtlc commands. 9 years ago
Rusty Russell dd895e3c07 newhtlc command: return the HTLC id. 9 years ago
Rusty Russell 2aaf0cb817 peer: remove unacked_changes and acked_changes queues. 9 years ago
Rusty Russell 7709eb9b4a protocol: use separate ack packet. 9 years ago
Rusty Russell 5c9dfd5206 netaddr: routines to linearize/delinearize. 9 years ago
Rusty Russell ec3344ce6e daemon/output_to_htlc: routines to map outputs for HTLCs for a given commit_num. 9 years ago
Rusty Russell 7c2165f5b4 peer: save txid -> commit_num mapping. 9 years ago
Rusty Russell 9b2fd3a969 peer: record depth at which anchor tx is considered deep enough. 9 years ago
Rusty Russell 08f7ade80f peer.c, packets.c: make more functions static. 9 years ago
Rusty Russell 0bd12b4e97 daemon/packets.h: create from prototypes which were in state.h. 9 years ago
Rusty Russell 149fa341be packets.c: accept_pkt_* should do less state-mangling. 9 years ago
Rusty Russell 6615db32c0 packets.c: queue_pkt_* only creates and sends packets. 9 years ago
Rusty Russell abf4182ef5 peer: cache txid for commitment_tx. 9 years ago