74 Commits (6da08610649f6312e00b35e6bed94e1884dda2ba)

Author SHA1 Message Date
Christian Decker 50a8e32e3f db: Add index on utxoset.spendheight to speed up blockchain reorgs 7 years ago
Christian Decker ec014be2a8 db: Add utxoset table 7 years ago
Christian Decker 247aa13a58 db: Add index covering the output heights 7 years ago
Christian Decker 7f00230657 db: Add confirmation_height and spend_height columns to outputs 7 years ago
Christian Decker fea03dbca9 db: Add a table to track blockheaders 7 years ago
Igor Cota 2bb9797ddb Add bolt11 to the invoices db table as TEXT. 7 years ago
Rusty Russell b7ed5670d5 lightningd: close and reopen db across fork for daemonize 7 years ago
Rusty Russell cccdb53bec channel_states: fold all the ONCHAIND states into one. 7 years ago
Rusty Russell 655ae90e5e wallet: remove obsolete peers. 7 years ago
practicalswift 91a9c2923f Mark intentionally unused parameters as such (with "UNUSED") 7 years ago
Rusty Russell d47d85fa30 wallet: add list of upgrades. 7 years ago
Rusty Russell 611ecc60ae lightningd: rename peer_state -> channel_state, remove OPENINGD. 7 years ago
Rusty Russell 4ab7589427 sqlite3_column_arr: helper to allocate and read an array from a blob. 7 years ago
Rusty Russell 55d962046b Rename (almost) all destructors to destroy_<type>. 7 years ago
Rusty Russell 7eea02e846 db: don't allow newer db versions. 7 years ago
Christian Decker e1c0119373 db: Add table for htlc_sigs 7 years ago
ZmnSCPxj 299b280f78 pay: Save nodes and channels used on route to payment. 7 years ago
ZmnSCPxj a88c73a41b invoices: Add `paid_timestamp` field. 7 years ago
Rusty Russell 559010f525 wallet: add path_secrets to payment table. 7 years ago
Rusty Russell 9b99b74c41 db: route to extract an array of struct secret from a column. 7 years ago
Rusty Russell 2cbe5b65c7 wallet: add preimage to db. 7 years ago
Rusty Russell 3fbed24b0d wallet: remove direction column from payments table. 7 years ago
Rusty Russell dea0aef52f wallet: use wallet_payment only for *outgoing* payments. 7 years ago
Christian Decker cc77012f63 wallet: Add last_was_revoke to channels 7 years ago
Rusty Russell 2f2fb0c2a1 invoice: add msatoshi_received field. 7 years ago
Christian Decker 0bb264e1a2 wallet: Added unilateral close info to utxo 7 years ago
Rusty Russell af0ed9e5cf db: add column for first block of channel. 7 years ago
Rusty Russell 63390a58b0 db: log a message to say whether we created or updated db. 7 years ago
ZmnSCPxj 3dd50d6219 wallet: Add pay_index column to database for paid invoice ordering. 7 years ago
Rusty Russell 9747d1a62c database: don't leak query string. 7 years ago
practicalswift 61c47c09d0 Fix typos 7 years ago
Rusty Russell b836b452dc feerate: keep feerates separately for each side. 7 years ago
Rusty Russell e302d6193c invoice: store expiry time in db. 7 years ago
Christian Decker 6601c43edc db: Add payments table 7 years ago
Rusty Russell f71a18241a wallet: save and restore htlc_basepoint for remote side. 7 years ago
Rusty Russell 9fd81ab06d db: make db_exec() an internal function. 7 years ago
Rusty Russell 4fb472b7a7 db: we must always be in a transaction, remove nested, call fatal() 7 years ago
Rusty Russell 3282768302 wallet: don't fail, assume db ops will call fatal. 7 years ago
Rusty Russell 1eb7e92a30 db_migrate: get version inside transaction. 7 years ago
Rusty Russell b148b89baf db_exec_mayfail: variant of db_exec where we actually expect an error. 7 years ago
Rusty Russell 1f7e370fda db: rollback transaction if we had an error. 7 years ago
Rusty Russell 360aa15e4d db_query: don't remove transaction or set error if query fails. 7 years ago
Rusty Russell 5e46af64fc db: keep in_transaction as a counter, so we can nest commits. 7 years ago
Christian Decker 77789bb705 db: Implemented poor mans nested transactions 7 years ago
Christian Decker da183c22a0 db: Cleanup all remaining traces of hex-encoded values 7 years ago
Christian Decker c1d364c5fb wallet: Migrate channel persistence to native sqlite3 binding 7 years ago
Christian Decker 33da7f50c7 db: Added short_channel_id, tx, pubkey and signature primitives 7 years ago
Christian Decker b267b24c08 db: db_exec_prepared takes ownership of the statement 7 years ago
Rusty Russell 48cedef756 peer_control: remove unique_id field. 7 years ago
Rusty Russell 8f057f7fc7 Revert "gossip: send the *other* node's cltv_expiry_delta in channel_announce." 7 years ago