65 Commits (1f4626227844b066b1207a4a395cb3cb9d9270d1)

Author SHA1 Message Date
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
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