214 Commits (552b00e2c15129d6a4d11399ff3a9fb440a52503)

Author SHA1 Message Date
Christian Decker 387ba76920 wallet: Add method to retrieve outpoints from the utxoset 7 years ago
Rusty Russell 6c1233de44 channel: reserve a bip32 index as soon as channel is opened. 7 years ago
Rusty Russell 242a934b8c wallet: add check-source to makefile. 7 years ago
Rusty Russell 9d9c1c3db6 wallet: wrap missing last_processed_block handling in COMPAT_V052. 7 years ago
Christian Decker aba3d5f34d wallet: Clean up spent UTXOs once they are buried deeply enough 7 years ago
Christian Decker 8958a082ec wallet: Mark utxo outpoints as spent 7 years ago
Christian Decker 27e0ec694c wallet: Add primitive to register new utxoset outpoint to the wallet 7 years ago
Christian Decker d8d11e5689 wallet: Add outpointfilter for the utxoset 7 years ago
Christian Decker 5a1b4b91e2 wallet: Fix output extraction when we own multiple outputs 7 years ago
Christian Decker ae30942e3f chaintopo: Record outpoint spends for owned outputs 7 years ago
Christian Decker b3c94a5256 wallet: Update existing owned outputs with their confirmation height 7 years ago
Christian Decker 7fc06d9b3e wallet: Add outpointfilter to wallet so we can pass it all outputs 7 years ago
Christian Decker 227dc36146 utxo: Add blockheight and spendheight to outputs to track state 7 years ago
Christian Decker 9440b23852 wallet: Add primitive to roll back to a specific height 7 years ago
Christian Decker 504202973f wallet: Add primitives to store blockchain internally 7 years ago
Igor Cota cb6820d445 Do preimage, hash and consequentially bolt11 generation before we store the invoice in db. 7 years ago
ZmnSCPxj 978e5c67d8 invoices: Remove persistent in-memory invoice structures. 7 years ago
ZmnSCPxj f05c86618c invoices: Change iteration interface to be more abstract. 7 years ago
ZmnSCPxj 9b4c6699f9 invoices: Semantically separate invoice details from invoice. 7 years ago
ZmnSCPxj f7f55edcdb wireaddr: Do hostname resolution in parse_wireaddr. 7 years ago
Rusty Russell 86a04c59d4 lightningd: maintain a status billboard for each channel. 7 years ago
practicalswift 7be95cee94 Remove unused parameter ctx in wallet_peer_load(const tal_t *ctx, ...) 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 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 e0603d7221 channel: now we're always complete, fields don't have to be optional. 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
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 cf7c399cc5 htlc: keep channel pointer, not peer pointer. 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
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
practicalswift 4f4756bd20 Fix a-vs-an typos 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
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
ZmnSCPxj 299b280f78 pay: Save nodes and channels used on route to payment. 7 years ago
Rusty Russell bab3b1a16b wallet: get first blocknum from any channels. 7 years ago