241 Commits (7c512f91ce8176c046a1acdaffd385024a2eab5b)

Author SHA1 Message Date
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
ZmnSCPxj 9af923b6d0 wallet: Minor reorganization of struct invoice members. 7 years ago
ZmnSCPxj 1e6747c28e wallet: Pass in timers object during construction. 7 years ago
Rusty Russell 9b8fe618f6 pay: remove cmd pointer from htlc_out. 7 years ago
Rusty Russell 91a22dc496 jsonprc: make json_get_params() fail the command, for better error reporting. 7 years ago
Christian Decker 3b9b7dc9dc wallet: Add a simple txo rescan command to sync with bitcoind UTXO 7 years ago
ZmnSCPxj 299b280f78 pay: Save nodes and channels used on route to payment. 7 years ago
Rusty Russell 6d0fd84c63 walletrpc: don't assert() when we pay ourselves. 7 years ago
rvandermeer 4c0f7dbd04 Spelling corrections (#824) 7 years ago
Rusty Russell bab3b1a16b wallet: get first blocknum from any channels. 7 years ago
Rusty Russell 661950e402 wallet: fix logic for finding first block. 7 years ago
Christian Decker 9588c961bb wallet: Forget channels that are irrevocably settled on-chain 7 years ago