799 Commits (87da9634bcda4da50386004e15d49fe067b2162b)
 

Author SHA1 Message Date
Rusty Russell 87da9634bc routing: use ids, not nodes in interface. 8 years ago
Rusty Russell 8a3c9908ce protocol: no signature in update_commit if receiver has no outputs. 8 years ago
Rusty Russell 5f4b4525b3 peer: use signed values for order. 8 years ago
Rusty Russell 7275aa9c32 channel: use u64 for fee_rate everywhere. 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 fd650ba79d protocol: rename clearing to shutdown. 8 years ago
Rusty Russell bb28bbd470 peer: always initialize commit_info commit number, other fields. 8 years ago
Rusty Russell 9448358cfd chaintopology: wait for full blockchain load before start. 8 years ago
Rusty Russell 02cb7abd9d bitcoind: keep running fee estimate. 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 19be4dbfe6 channel: remove htlcs array. 8 years ago
Rusty Russell 7cd9272ba9 htlc: htlc_is_dead() helper. 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 2e9a039789 peer: make closing_onchain.resolved[] in tx-output order. 8 years ago
Rusty Russell 4319f3ac70 peer: explicitly store the previous revocation hash when sending new update. 8 years ago
Rusty Russell d45161b07b daemon: use htlc id for fulfillhtlc and failhtlc commands. 8 years ago
Rusty Russell dd895e3c07 newhtlc command: return the HTLC id. 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 5c9dfd5206 netaddr: routines to linearize/delinearize. 8 years ago
Rusty Russell 809caa8588 bitcoin/pullpush.[ch]: expose bitcoin-style marshal/unmarshal. 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 0bd12b4e97 daemon/packets.h: create from prototypes which were in state.h. 8 years ago
Rusty Russell 149fa341be packets.c: accept_pkt_* should do less state-mangling. 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 7b2d6925a0 channel: assert htlc direction is correct. 8 years ago
Rusty Russell 1f99268633 commit_tx: expose wscript and scriptpubkey for to_us/to_them payments. 8 years ago
Rusty Russell d9e825bc2c create_commit_tx: use HTLC map, not cstate HTLC array. 8 years ago
Rusty Russell 0af04b0576 peer: use commit_tx's newly exposed witness script helpers. 8 years ago
Rusty Russell ef77cb8349 commit_tx: expose internals to give access to HTLC witness scripts. 8 years ago
Rusty Russell ca142a0b47 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> 8 years ago
Rusty Russell 440fec099b peer: expose HTLC state through RPC. 8 years ago
Rusty Russell 04fa3a71a9 peer: use peer->htlcs in JSON getpeers output, instead of cstate array. 8 years ago
Rusty Russell 0e78ccca56 daemon: don't allow manual fulfill command until both sides committed. 8 years ago
Rusty Russell 4963f277aa daemon/test: prepare for random-ordered htlcs, cleanup parsing. 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 de7fb4a83f test_protocol: restart support. 8 years ago
Rusty Russell 25d9962e81 test_protocol: add --verbose flag. 8 years ago
Rusty Russell 3e34d50339 test_protocol: fix --svg 8 years ago
Rusty Russell ba50776c47 test_protocol: fix up expected test output. 8 years ago