107 Commits (ae6faf7f9c2e5ea69c5fce49226557c1537e3d0b)

Author SHA1 Message Date
Rusty Russell b836b452dc feerate: keep feerates separately for each side. 7 years ago
Rusty Russell f1e4cad9d4 feerate: use u32 everywhere. 7 years ago
Rusty Russell e302d6193c invoice: store expiry time in db. 7 years ago
Christian Decker be97673259 wallet: Add function to retrieve a list of payments 7 years ago
Christian Decker d1cc5f4552 wallet: Add unit tests for payment persistence 7 years ago
Christian Decker 967dd6c776 wallet: Add functions to store and manipulate payments 7 years ago
Christian Decker 6601c43edc db: Add payments table 7 years ago
Christian Decker 490ee76162 wallet: Add payment struct to track status of transfers 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 f4d27eefa1 wallet: remove internal transactions. 7 years ago
Rusty Russell 7133a2f9b3 wallet: assume db errors will be fatal, don't check. 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 bbe7a03300 wallet: use db_exec_mayfail() for wallet_add_utxo. 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
Rusty Russell 9ec5cb7ba2 script: enhance is_p2sh/is_p2pkh/is_p2wsh/is_p2wpkh to extract addr. 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 9c12c807d1 wallet: Migrate shachain persistence to native sqlite3 binding 7 years ago
Christian Decker 8f198f3746 wallet: Migrate output tracking to native sqlite3 binding 7 years ago
Christian Decker abad23b339 wallet: Removing hex fields from HTLCS 7 years ago
Christian Decker e9cfa65a12 wallet: Migrate HTLC 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 4a06da8f78 wallet: fix wallet_update_output_status where oldstatus == output_state_any 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
Christian Decker 49ed7c9ab0 wallet: Add primitives to retrieve htlc_stubs for channel 7 years ago
Rusty Russell 297e278132 gossip: send the *other* node's cltv_expiry_delta in channel_announce. 7 years ago
Christian Decker 9a106bf799 wallet: Add invoice removal support 7 years ago
Christian Decker a005bce155 wallet: Adding primitives to save/load invoices to wallet 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 b4732f6091 wallet_tests: Testing the rewiring of loaded htlcs 7 years ago
Christian Decker 4114f6f79b db: Clear errors before executing new query 7 years ago
Christian Decker e162a53e86 wallet_tests: Enable logging in the unit tests 7 years ago
Christian Decker df9b8e22b4 wallet: Added helper to rewire HTLCs after loading from DB 7 years ago
Christian Decker c6f210a46c htlcs: Needed to add origin_htlc_id to outgoing HTLCs 7 years ago
Christian Decker eb5ed961ed wallet: Added loading of HTLCs from the database 7 years ago
Christian Decker 53763ba6a4 wallet: Store HTLCs to the wallet 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 f219955dc6 wallet: fix spending of change. 7 years ago
Christian Decker d14c9d30cd moveonly: Move make wallet_extract_owned available publicly 7 years ago