296 Commits (99e48c7c871255f366300358e5e27ccd2692a5a2)

Author SHA1 Message Date
Rusty Russell 99e48c7c87 peer: don't differentiate who is funding via state when waiting for open. 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 75ff09b310 state: hoist open-we-are-funding states handling into peer.c 8 years ago
Rusty Russell 8c5fae2b28 patch remove-bitcoin_release_anchor.patch 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 bbd1bbd931 state: remove anchor timeout. 8 years ago
Rusty Russell b349e2884b state: move anchor-depth-ok code into peer.c 8 years ago
Rusty Russell 4151537b71 peer: commit outstanding changes before sending PKT_CLOSE. 8 years ago
Rusty Russell 16cff6951f peer: hoist do_commit and have it return false if it failed. 8 years ago
Rusty Russell 92e5f53f4d peer: free packet when we close connection in init_pkt_in. 8 years ago
Rusty Russell dbd8e07924 broadcast_tx: make sure callers free tx if necessary. 8 years ago
Rusty Russell 49a80ba457 peer: fail channel if funding transaction broadcast fails. 8 years ago
Rusty Russell 7aa01b0e50 broadcast_tx: add optional failed callback. 8 years ago
Rusty Russell 04cff14ac8 peer: don't fret about fees too low on testnet. 8 years ago
Rusty Russell b49b90d5c3 peer: don't ever fail twice. 8 years ago
Rusty Russell 4855af8ba2 peer: don't worry about feechange if we can't do anything about it. 8 years ago
Rusty Russell ab11322b39 peer: don't close due to too low fees if we're already closed. 8 years ago
Rusty Russell 25bb0f5248 peer: use correct enum in case statement. 8 years ago
Rusty Russell a902193874 sphinx: don't leak, especially on failed onion. 8 years ago
Rusty Russell ac7d80bbeb peer: don't assign io_data and id twice when connecting out. 8 years ago
Rusty Russell 8a1559a343 peer: free init packet. 8 years ago
Rusty Russell 6bda93f99a peer: don't leave initial cstate around. 8 years ago
Rusty Russell 64809fb730 peer: free temporary transaction immediately 8 years ago
Rusty Russell 8015ceadfd log: add netaddr 8 years ago
Rusty Russell 7d20c4f75b feechange: disable sending of feechange messages. 8 years ago
Christian Decker 1d3737055a sphinx: Integrate sphinx OR with lightningd 8 years ago
Rusty Russell 5797dc6496 init: add comments as per updated BOLT #2. 8 years ago
Rusty Russell 5e078a8167 pkt_init: check feature bits. 8 years ago
Rusty Russell ec64e7756e protocol: pkt_reconnect becomes pkt_init, and always send. 8 years ago
Rusty Russell e5994ad8c1 json_connect: don't return until we're in state normal. 8 years ago
Rusty Russell a1f1f1eda8 daemon: fix feechange logic. 8 years ago
Rusty Russell e2090f015d peer: don't spin when we want to commit and are not connected. 8 years ago
Rusty Russell 25b3dc0038 channel: fix max feelevel calculation. 8 years ago
Rusty Russell ab569c069f peer: add FIXME for the STATE_INIT case. 8 years ago
Rusty Russell fb99e0ccb0 peer: fail immediately if we detect double-connection. 8 years ago
Rusty Russell 0f6c387899 peer: delete from database if we haven't passed init. 8 years ago
Rusty Russell 1f1bd56e2a peer: add more logging for anchor events. 8 years ago
Rusty Russell 93b72332bd Handle anchor in a run of blocks. 8 years ago
Rusty Russell dff50c3a5f peer: do not send anchor depth input twice. 8 years ago
Rusty Russell 7b5806fef2 peer: give more sensible error if anchor is too large. 8 years ago
Rusty Russell 13593d4cbf peer: don't try to change fees while we're still setting up channel. 8 years ago
Rusty Russell 221a96cdeb getinfo: new RPC command 8 years ago
Rusty Russell fce9ee29e3 db: always call db_update_our_closing in a transaction. 8 years ago
Rusty Russell 5bcc9047b0 db: save error, return it when we commit transaction. 8 years ago
Rusty Russell ea41386ed3 daemon: rename all the low-level commands to dev- 8 years ago
Rusty Russell 27715f7732 invoice: order by when they were paid. 8 years ago
Rusty Russell 68632e6020 Use "msatoshi" not "msatoshis" everywhere. 8 years ago
Rusty Russell 060ff29b45 Rename payment to invoice. 8 years ago
Rusty Russell ab125f709b db: save and restore accepted payments. 8 years ago