351 Commits (8146b838e8366ab5d841544e60dc65ba0620c96e)

Author SHA1 Message Date
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 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 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 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 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 60b4543899 peer: fix --port option. 8 years ago
Rusty Russell 441d598dca daemon: broadcast transaction when fulfilling onchain. 9 years ago
Rusty Russell f00ee00fd8 peer: log unexpected packets properly. 9 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 7e6dc28f70 htlc: store which side created the HTLC. 9 years ago
Rusty Russell fbe15bdce2 peer: remove unused struct members. 9 years ago
Rusty Russell f2d835522c bitcoin: implement sig_valid. 9 years ago
Rusty Russell 42bed80145 pubkey: don't carry around DER encoding. 9 years ago
Rusty Russell 69cb158edd base58, script, protobuf_convert: don't use temporary secp256k1 context. 9 years ago
Rusty Russell 08a910b06e BOLT: fee requirements update. 9 years ago
Rusty Russell ffeab49ed3 htlc_add: only limit is on receiving side. 9 years ago
Rusty Russell fa7934dfe3 htlc: implement deadline as per BOLT. 9 years ago
Rusty Russell e877febf43 daemon: allow fulfill command for onchain HTLCs. 9 years ago
Rusty Russell 25d99b91bd daemon: fail any HTLCs which we weren't committed to if we drop to chain. 9 years ago
Rusty Russell caf50c9ae4 peer: handle fulfull and fail onchain. 9 years ago
Rusty Russell 4f1a1ec044 BOLT: update for latest onchain draft. 9 years ago
Rusty Russell b8571c1ac8 watch: make it easier for them to self-delete. 9 years ago
Rusty Russell 3ba25dd994 htlc: keep rval (if known). 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 21fe4fbba7 daemon: route failures back. 9 years ago
Rusty Russell 2aa8fe8df1 daemon: route payments onwards. 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