282 Commits (ffa84637ea1685cbb96d0deb935e898afa772d1f)

Author SHA1 Message Date
Christian Decker a8d587c418 wallet: Return any eventual outpoint scid when marking it spent 7 years ago
Christian Decker ba7341ec87 cleanup: Make blockheights unsigned 7 years ago
Christian Decker 286cfefc62 wallet: Remove pruned outpoints from utxoset outpoint_filter 7 years ago
practicalswift 6269a4c55d Remove unused functions not covered by unit tests 7 years ago
ZmnSCPxj b914062465 pay: Also record how much we actually ended up sending. 7 years ago
practicalswift 7e9750ffee Reduce variable scopes 7 years ago
ZmnSCPxj 0bb9bcc0f1 wallet: Track some channel usage statistics. 7 years ago
Rusty Russell 76e8a11380 wallet: use json_escaped for invoice label. 7 years ago
practicalswift 98f49c0837 Remove include in file foo.c that is already included in foo.h 7 years ago
practicalswift 0bf1b01425 Fix typos 7 years ago
ZmnSCPxj d5d31864cf wallet: Remove onion-decoding information from db on payment success/fail. 7 years ago
ZmnSCPxj 159e736fc1 invoices: Implement autocleaninvoice. 7 years ago
ZmnSCPxj 3b0081aebb invoices: Add delexpiredinvoice command. 7 years ago
Rusty Russell 1b9791f0f5 pay: delete HTLC when we delete payment. 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
Rusty Russell de5d84097e lightningd: remove ltmp context now we have tmpctx. 7 years ago
ZmnSCPxj 60f5abdc9b wallet: Make wallet_payment_store idempotent. 7 years ago
ZmnSCPxj 693c718160 wallet: Add DB fields for recording routing failures. 7 years ago
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