252 Commits (4cf274b1c087a9e846cf910d1958589f0a39c54d)

Author SHA1 Message Date
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
Christian Decker 68639db7db JSON-RPC: Add funds in channels to `listfunds` 7 years ago
Christian Decker 16004684c9 wallet: Make the linter happy about int vs size_t comparison 7 years ago
Christian Decker 8a68646395 wallet: Add deprecated and verbose help to walletrpc commands 7 years ago
Christian Decker e5b6fed395 wallet: Mark some parameters as unused 7 years ago
practicalswift 2a979a2d5c Fix typos 7 years ago
practicalswift 4f4756bd20 Fix a-vs-an typos 7 years ago
Rusty Russell 674a2c7554 tools/generate_wire.py: make bitcoin_tx a varlen structs 7 years ago
Rusty Russell 526d3a232e tools/generate_wire.py: generate varlen arrays properly. 7 years ago
luca vaccaro 7da942dec8 Fix dev-rescan-outputs crash on 0 outputs (#944) 7 years ago
Christian Decker 4f5c47b43b wallet: Do not consider OPENINGD channels as active 7 years ago
Christian Decker 3fdb055606 wallet: Make first_blocknum a field of wallet_channel 7 years ago
Rusty Russell f66c8306f4 wallet: don't use non-common objects as if they were common. 7 years ago
William Casarin 37ea24e9c9 newaddr: support bech32 p2wpkh funding addresses 7 years ago
Christian Decker 4fd7e26bf7 wallet: Re-introduce change assertion for withdrawals 7 years ago
ZmnSCPxj 59abc37258 invoices: Add expiration timer system. 7 years ago