99 Commits (5f368f1c956489a91b5d1ec52367cce9751f18f7)

Author SHA1 Message Date
Rusty Russell 5f368f1c95 peer: save/load results in database. 8 years ago
Rusty Russell be38d3f507 Minor cleanups: things found while debugging the database code. 8 years ago
Rusty Russell 0bb183e028 peer: split and expose new_peer function. 8 years ago
Rusty Russell ab2fac3714 peer: add flag to indicate whether we created anchor. 8 years ago
Rusty Russell 5f4b4525b3 peer: use signed values for order. 8 years ago
Rusty Russell 15e8bd5a45 peer: save minimum possible depth for anchor. 8 years ago
Rusty Russell 795601dfcf daemon: reconnect with timeout, try from both sides. 8 years ago
Rusty Russell 3866d7605c daemon: reconnect support. 8 years ago
Rusty Russell bb28bbd470 peer: always initialize commit_info commit number, other fields. 8 years ago
Rusty Russell ab38fd7542 peer: rename closing_onchain to onchain. 8 years ago
Rusty Russell e19d5751fe peer: remove commit_info's prev pointer. 8 years ago
Rusty Russell 23f9c7c209 permute_tx: don't save permutation map. 8 years ago
Rusty Russell dca6c8efc1 peer: don't use permutation map for their unilateral spends. 8 years ago
Rusty Russell 4319f3ac70 peer: explicitly store the previous revocation hash when sending new update. 8 years ago
Rusty Russell 2aaf0cb817 peer: remove unacked_changes and acked_changes queues. 8 years ago
Rusty Russell 7709eb9b4a protocol: use separate ack packet. 8 years ago
Rusty Russell ec3344ce6e daemon/output_to_htlc: routines to map outputs for HTLCs for a given commit_num. 8 years ago
Rusty Russell 7c2165f5b4 peer: save txid -> commit_num mapping. 8 years ago
Rusty Russell 9b2fd3a969 peer: record depth at which anchor tx is considered deep enough. 8 years ago
Rusty Russell 08f7ade80f peer.c, packets.c: make more functions static. 8 years ago
Rusty Russell 6615db32c0 packets.c: queue_pkt_* only creates and sends packets. 8 years ago
Rusty Russell abf4182ef5 peer: cache txid for commitment_tx. 8 years ago
Rusty Russell 1af3428c6c peer: keep a single HTLC map for all htlcs. 8 years ago
Rusty Russell 4b5ec85c25 daemon: keep enum htlc_state within struct htlc. 8 years ago
Rusty Russell 22976bdd32 daemon: use HTLC states. 8 years ago
Rusty Russell 2a03af4486 Misc minor cleanups. 9 years ago
Rusty Russell a613d8d1fb peer: make id a pointer, NULL until we know peer's ID. 9 years ago
Rusty Russell fbe15bdce2 peer: remove unused struct members. 9 years ago
Rusty Russell 69a8ea2ad9 daemon: pay command. 9 years ago
Rusty Russell 21a29d9b4d daemon: fix bug when we close two peers simulatneously. 9 years ago
Rusty Russell 31a5de644a daemon: route fulfill back. 9 years ago
Rusty Russell f994a44827 daemon/peer: keep our own node connection information. 9 years ago
Rusty Russell 37b269f53e daemon: link HTLCs together. 9 years ago
Rusty Russell cc4fc4b668 daemon: use htlc pointers everywhere. 9 years ago
Rusty Russell fecd91ab2a Move funding.[ch] to daemon/channel.[ch]. 9 years ago
Rusty Russell 27da8f77b5 daemon: expose find_peer(), rename other to find_peer_json(). 9 years ago
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