269 Commits (af9ee44d526f7e8c8d3616d3f38d7862b6525767)

Author SHA1 Message Date
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
Rusty Russell 2610799bda pay: split into getroute and sendpay 8 years ago
Rusty Russell 012574790d pay: make interface idempotent. 8 years ago
Rusty Russell 74107ff1ea peer: resend failures on restart/reconnect. 8 years ago
Rusty Russell d4ddebd55a htlc: save fail message in HTLC. 8 years ago
Rusty Russell 192d5402ff peer: remove unused arg from our_htlc_failed(). 8 years ago
Rusty Russell 7e95637cb5 peer: on restart, resend any fulfilled HTLCs. 8 years ago
Rusty Russell 1bd2a28caa peer: on restart, only resubmit added HTLCs which weren't already routed. 8 years ago
Rusty Russell d964ad2d94 daemon: don't restart newhtlc/failhtlc/fulfill htlc commands on reconnect, 8 years ago
Rusty Russell 7550ec23ec daemon: new command gethtlcs. 8 years ago
Rusty Russell b0278d7152 peer: fix maximum htlc value when we disconnect. 8 years ago
Rusty Russell 72a9cfbbe2 test: test feerate changes. 8 years ago
Rusty Russell 1305df6417 daemon: send feechange requests. 8 years ago
Rusty Russell 31bdf384cb daemon: accept feechange packets. 8 years ago
Rusty Russell e7b003b499 daemon: handle feechange requests. 8 years ago