130 Commits (8d7acdc3673b19fd445bc89c54f40dbd0e09d109)

Author SHA1 Message Date
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
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