284 Commits (49a80ba457ce71b4bb93762a53bf6abd1e301eab)

Author SHA1 Message Date
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
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 15b42b89db peer: fix comparison bug if our connection_fee is negative. 8 years ago
Rusty Russell d8af789bbb channel: remove enum channel_side, rename htlc_side to side. 8 years ago
Rusty Russell f8fa8c8dff peer: handle case correctly where they can't handle fees. 8 years ago
Rusty Russell 1518f4424e log: add channel_state logging ability. 8 years ago
Rusty Russell 89235e0904 handle_pkt_commit: don't abort on database error. 8 years ago
Rusty Russell bb0bf2b5ad log: add easy way to log hex blobs. 8 years ago
Rusty Russell 87af51a422 daemon: remove three fixed FIXMEs. 8 years ago
Rusty Russell 42cf0ef543 peer: do logging before crypto is on. 8 years ago
Rusty Russell 9bd6a10f49 peer: fix close before their sig has been received in corner case. 8 years ago