197 Commits (a3ddf9be9bb635e7b6ff14b5385f31c59812f933)

Author SHA1 Message Date
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
Rusty Russell 297e278132 gossip: send the *other* node's cltv_expiry_delta in channel_announce. 7 years ago
Christian Decker 048680d0f2 db: Add db_prepare and db_exec_prepared to expose native binding 7 years ago
Christian Decker 067d2d7435 db: Added table for invoices 7 years ago
Christian Decker 4114f6f79b db: Clear errors before executing new query 7 years ago
Christian Decker b8fa765c3f wallet: Add primitives to store htlcs in the database 7 years ago
Christian Decker 3dda72c885 db: Create table for HTLCs 7 years ago
Rusty Russell 8375857116 common: absorb remaining files from daemon/ 7 years ago
Rusty Russell 1396cf6249 lightningd: remove num_revocations_received. 7 years ago
Christian Decker 4e6f9787b6 wallet: unique_id is not the same as dbid 7 years ago
Christian Decker 1a94e7282b db: Make peers unique by node_id 7 years ago
Rusty Russell 893335244d openingd: supply initial tx as well as signature. 7 years ago
Rusty Russell dbfac68c3f lightningd: keep last valid tx, and its signature. 7 years ago
Christian Decker 1ac10716be wallet: Add closing parameters to channel state 7 years ago
Christian Decker cc5af13e05 wallet: Implement channel_config persistence 7 years ago
Christian Decker cfe87b16c3 db: Do not exit transaction on failure 8 years ago
Christian Decker 5912c68185 db: Add a hexval helper to decode hex values from db into fields 8 years ago
Christian Decker 33ffb53d9e db: Added schema for peers and channels 8 years ago
Christian Decker 416d6bf860 db: Enable foreign keys and cascade on shachain delete 8 years ago
Christian Decker b0c64909e7 wallet: Added database schema for shachain persistence 8 years ago
Christian Decker 1522eee528 unittests: Test some more of the db primitives. 8 years ago
Christian Decker 257ecf6222 wallet: Helper to store/retrieve persistent vars to/from DB 8 years ago
Christian Decker 19a4e7f542 wallet: Expose transactional interface for db 8 years ago
Christian Decker 9882a9fb29 wallet: Start the wallet interface and link it into lightningd 8 years ago
Christian Decker 80436d06cb wallet: Create and manage a sqlite3 database for the wallet 8 years ago