1036 Commits (cc460095cae982efaa09e1be5150af9c5f6d0798)

Author SHA1 Message Date
Rusty Russell cc460095ca lightningd: make new_channel a proper constructor. 7 years ago
Rusty Russell e0603d7221 channel: now we're always complete, fields don't have to be optional. 7 years ago
Rusty Russell 8db8c51201 lightningd: struct uncommitted_channel for opening channels. 7 years ago
Rusty Russell d2f691b288 subd: make functions more generic, don't assume 'struct channel'. 7 years ago
Rusty Russell 1a78efaee5 peer_control: don't refer to peer in copy_to_parent_log 7 years ago
Rusty Russell a2c6ec6c9b lightningd: use tal_link for log_book. 7 years ago
Rusty Russell 72108f0cb9 wallet: don't use rowid for the channel's DBID. 7 years ago
ZmnSCPxj 9be4e159ae invoice: Disable overlong description. 7 years ago
ZmnSCPxj 38535fc36c payalgo: Create a new failure for paying expired invoice. 7 years ago
Christian Decker b2819f9f97 wallet: Add check that wallet matches the network on startup 7 years ago
Rusty Russell 43ec3f0761 jsonrpc: allow multiple commands in-flight from single JSON connection. 7 years ago
ZmnSCPxj 4ad1021c2c payalgo: Repeat pay command if possible. 7 years ago
ZmnSCPxj fda26bdcda payalgo: New file for pay command. 7 years ago
ZmnSCPxj 7ee6ccfbd7 pay: Generalize internal interface of sendpay. 7 years ago
ZmnSCPxj 700dda7e60 pay: Rename `pay_command` to `sendpay_command` 7 years ago
Rusty Russell bdd11e07fe chaintopology: fix 100 block subtraction. 7 years ago
Rusty Russell 6620305606 wallet: use last_processed_block to determine scan start. 7 years ago
Rusty Russell 21849329dd wallet: store last block number we searched for UTXOs. 7 years ago
Rusty Russell 256bdc12ff lightningd: activate crashlog later. 7 years ago
Rusty Russell eb17d6af71 lightningd: implement --daemon. 7 years ago
Rusty Russell 65593d4a98 chaintopology: don't start fee estimation loop until we're fully active. 7 years ago
Rusty Russell ccd0e5db54 ccan: update so we get exposed path constants. 7 years ago
Rusty Russell a08bcfdbd3 jsonrpc: don't crash on multiple commands at once. 7 years ago
Rusty Russell 8f7a19d1a3 onchain: handle case where multiple HTLCs exist for same payment_hash. 7 years ago
Rusty Russell 55d962046b Rename (almost) all destructors to destroy_<type>. 7 years ago
Rusty Russell 6a3ccafaf9 wallet: don't implicitly remove peers, but do it explicitly. 7 years ago
Rusty Russell 98de10b842 channel: rename free_channel to delete_channel. 7 years ago
Rusty Russell d822ba1eee lightningd: allow a new channel open from peer if no *active* channels. 7 years ago
Rusty Russell 8f48a72d74 lightningd: remove peer->log in favor of channel->log. 7 years ago
Rusty Russell e20fff9340 lightningd: remove almost all other peer2channel / channel2peer shims. 7 years ago
Rusty Russell 0e93fb932a lightningd: bitcoind and topology routines take channel, not peer. 7 years ago
Rusty Russell 329e31bbe7 lightningd/peer_htlcs: remove remaining peer_ shims. 7 years ago
Rusty Russell cf7c399cc5 htlc: keep channel pointer, not peer pointer. 7 years ago
Rusty Russell 409fef582d subd: keep pointer to channel, not peer. 7 years ago
Rusty Russell b7680412e3 lightningd: rename peer_fail functions to channel_fail. 7 years ago
Rusty Russell 8c084d57ff lightningd: channels own the peer. 7 years ago
Rusty Russell 32411de90e lightningd: split struct peer into struct peer and struct channel. 7 years ago
Rusty Russell 6b71654351 lightningd: create new structure `channel` to hold per-channel info. 7 years ago
Rusty Russell 81ca1db347 wallet: delete peers with no channels. 7 years ago
Rusty Russell 38a313af0d wallet: delete channels in state OPENINGD. 7 years ago
Rusty Russell 15eaf56d79 wallet: add ld pointer. 7 years ago
Rusty Russell fd04fca771 jsonrpc: make lifetimes in error path clearer. 7 years ago
Rusty Russell dec86e0115 jsonrpc: split error and success cases, use json_add_string_escape. 7 years ago
Christian Decker b4ce4d228d JSON-RPC: Fix unquoted error string when parser fails 7 years ago
Christian Decker cb97dfec4e gossip: Fix up some comments on PR #955 7 years ago
Christian Decker 9f8f0ccec9 peer: Store htlc_sigs when they are updated 7 years ago
root 73022d91c6 Fix indentation 7 years ago
root 8b0ed27c43 Add optional from id parameter to getroute call. 7 years ago
Christian Decker 5a133d2d70 json-rpc: Return a standard compliant error when parsing fails 7 years ago
Christian Decker e92e26f84d json-rpc: Check for unprintable characters in JSON-RPC commands 7 years ago