351 Commits (8146b838e8366ab5d841544e60dc65ba0620c96e)

Author SHA1 Message Date
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
Rusty Russell e40a070014 json_commit: document usage correctly. 8 years ago
Rusty Russell 319c2ec5fc peer: keep addresses separately from peers. 8 years ago
Rusty Russell 9f512f6540 peer: restart from the other side. 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 9b869a80a1 peer: set up peer->nc only when in state NORMAL. 8 years ago
Rusty Russell 87da9634bc routing: use ids, not nodes in interface. 8 years ago
Rusty Russell 8a3c9908ce protocol: no signature in update_commit if receiver has no outputs. 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 fd650ba79d protocol: rename clearing to shutdown. 8 years ago
Rusty Russell bb28bbd470 peer: always initialize commit_info commit number, other fields. 8 years ago
Rusty Russell 02cb7abd9d bitcoind: keep running fee estimate. 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 19be4dbfe6 channel: remove htlcs array. 8 years ago
Rusty Russell 7cd9272ba9 htlc: htlc_is_dead() helper. 8 years ago