131 Commits (056f93e2d280575b64dc2e0385ebe8a176fd046f)

Author SHA1 Message Date
Rusty Russell 2ce6a4bcca daemon/peer: move struct peer to internal header. 8 years ago
Rusty Russell 61e576ef12 daemon/chaintopology: use struct topology for more functions, not lightningd_state 8 years ago
Rusty Russell d34dade8bb daemon/chaintopology: don't leave outgoing txs in peer structure. 8 years ago
Christian Decker 76e2c980e1 gossip: Moving to intmap-based broadcast for the legacy daemon 8 years ago
Rusty Russell 8159c4458a bitcoin/script.h: remove struct bitcoin_signature 8 years ago
Rusty Russell a08a2105ea generate-wire.py: generalize, move to tools. 8 years ago
Rusty Russell dec3b9d030 peer: don't ever set up listener on dynamic port. 8 years ago
Christian Decker db481d881a proto: Added handling for nested packets 8 years ago
Rusty Russell f5c00deec7 Remove trailing whitespace from source. 8 years ago
Rusty Russell 3aca5c87e3 init: rebroadcast anchors on restart if we haven't seen them. 8 years ago
Rusty Russell 6f360422d4 chaintopology: restore anchor timeout. 8 years ago
Rusty Russell adae62e261 peer: determine fees earlier. 8 years ago
Rusty Russell 9463e1b630 wallet: use pubkey as API, not pointer. 8 years ago
Rusty Russell 536a48940e protocol: don't ever reply to PKT_ERR with PKT_ERR. 8 years ago
Rusty Russell ea74bac8b8 state: hoist open-they-are-funding states handling into peer.c, remove state.[ch] 8 years ago
Rusty Russell f71f0da19c offer_anchor: store a bool, not am enum state_input. 8 years ago
Rusty Russell 847ce8b092 state: move first state transition into peer.c 8 years ago
Rusty Russell dbd8e07924 broadcast_tx: make sure callers free tx if necessary. 8 years ago
Rusty Russell 7aa01b0e50 broadcast_tx: add optional failed callback. 8 years ago
Rusty Russell 4cbe9785a8 bitcoind_sendrawtx: don't share callback with retransmission case. 8 years ago
Christian Decker 1d3737055a sphinx: Integrate sphinx OR with lightningd 8 years ago
Rusty Russell e5994ad8c1 json_connect: don't return until we're in state normal. 8 years ago
Rusty Russell 5bcc9047b0 db: save error, return it when we commit transaction. 8 years ago
Rusty Russell 68632e6020 Use "msatoshi" not "msatoshis" everywhere. 8 years ago
Rusty Russell b47fbfead0 db: Always fail HTLC inside a transaction. 8 years ago
Rusty Russell 23049f09a9 db: Always fulfill HTLC inside a transaction. 8 years ago
Rusty Russell 1ed4dbde05 peer: add peer_fail helper. 8 years ago
Rusty Russell 42cf0ef543 peer: do logging before crypto is on. 8 years ago
Rusty Russell 012574790d pay: make interface idempotent. 8 years ago
Rusty Russell d4ddebd55a htlc: save fail message in HTLC. 8 years ago
Rusty Russell e7b003b499 daemon: handle feechange requests. 8 years ago
Rusty Russell 319c2ec5fc peer: keep addresses separately from peers. 8 years ago
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