567 Commits (dddfdc7f10af41ae216447419a02d7d452ec74e2)

Author SHA1 Message Date
John Barboza b028a0a439 invoice: add fallback address to invoice command 7 years ago
Christian Decker 7c8883ae7d wallet: Fix an off by one error in dev-listaddrs 7 years ago
Rusty Russell cccdb53bec channel_states: fold all the ONCHAIND states into one. 7 years ago
Rusty Russell 86a04c59d4 lightningd: maintain a status billboard for each channel. 7 years ago
Rusty Russell 655ae90e5e wallet: remove obsolete peers. 7 years ago
practicalswift d873bf60bf Remove unused parameter fieldname in json_add_log(..., const char *fieldname, ...) 7 years ago
practicalswift 7be95cee94 Remove unused parameter ctx in wallet_peer_load(const tal_t *ctx, ...) 7 years ago
practicalswift 1f46262278 Remove unused parameter testname in create_test_db(const char *testname) 7 years ago
practicalswift 91a9c2923f Mark intentionally unused parameters as such (with "UNUSED") 7 years ago
Rusty Russell e92b710406 tools/generate-wire.py: remove length argument from fromwire_ routines. 7 years ago
Rusty Russell 719290a4c4 txwatch: remove unused callback arg, hide struct definitions. 7 years ago
Rusty Russell ae8fb96d06 lightningd/channel_control: routines to control channeld (move from peer_control.c) 7 years ago
Rusty Russell 372040bbd5 lightningd/onchain_control: routines to control onchaind (move from peer_control.c) 7 years ago
Rusty Russell 9176ee628c lightningd/closing_control: routines to control closingd (move from peer_control.c) 7 years ago
Rusty Russell a83ff83328 lightningd/connect_control: routines to control connecting (move from peer_control.c) 7 years ago
Rusty Russell 4cf274b1c0 lightningd/opening_control: routines to control openingd (move from peer_control.c) 7 years ago
Rusty Russell d47d85fa30 wallet: add list of upgrades. 7 years ago
Rusty Russell 097b9345eb wallet: load route_nodes and route_channels when seeking a particular entry. 7 years ago
practicalswift 4fccbbae69 Assert that we get the assumed return value from sqlite3_step(...) 7 years ago
Rusty Russell cfa50d393a openingd: use peer_failed like normal instead of boutique negotiation_failed. 7 years ago
Rusty Russell 02d469b3d4 peer_failed: hand fds back to master when we fail. 7 years ago
Rusty Russell 611ecc60ae lightningd: rename peer_state -> channel_state, remove OPENINGD. 7 years ago
Rusty Russell cc460095ca lightningd: make new_channel a proper constructor. 7 years ago
Rusty Russell 4ab7589427 sqlite3_column_arr: helper to allocate and read an array from a blob. 7 years ago
Rusty Russell e0603d7221 channel: now we're always complete, fields don't have to be optional. 7 years ago
Rusty Russell d2f691b288 subd: make functions more generic, don't assume 'struct channel'. 7 years ago
Rusty Russell a2c6ec6c9b lightningd: use tal_link for log_book. 7 years ago
Rusty Russell 3c0be71d37 wallet: make static, not dynamic decision to insert for everything. 7 years ago
Rusty Russell 72108f0cb9 wallet: don't use rowid for the channel's DBID. 7 years ago
luca vaccaro c4590b6e60 Add dev-listaddrs option (#1001) 7 years ago
Christian Decker b2819f9f97 wallet: Add check that wallet matches the network on startup 7 years ago
Rusty Russell 37373f2c16 wallet: provide better comments on wallet_first_blocknum. 7 years ago
Rusty Russell ef9c6cb8c3 wallet: don't scan from worst-case start on first use. 7 years ago
Rusty Russell 6620305606 wallet: use last_processed_block to determine scan start. 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 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 32411de90e lightningd: split struct peer into struct peer and struct channel. 7 years ago
Rusty Russell 65c09c895d wallet: properly handle case where peer has no address when saving channel. 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 7eea02e846 db: don't allow newer db versions. 7 years ago
Christian Decker 37b96e9c95 wallet: Load any stored htlc_sigs when restoring channel 7 years ago
Christian Decker 3bb619fee4 wallet: Add primitive to store htlc_sigs in the database 7 years ago
Christian Decker e1c0119373 db: Add table for htlc_sigs 7 years ago