194 Commits (fa992ecaab3cbbd4dd3358e6856564c971ca31c9)

Author SHA1 Message Date
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
Christian Decker 71618d07e6 jsonrpc: Add listfunds RPC command 7 years ago
Christian Decker 4b59c4f857 fix: Do not assume size_t == u64 7 years ago
Rusty Russell bbed5e3411 Rename subdaemons, move them into top level. 7 years ago
Rusty Russell 739b163f8b Makefiles: simplify dependencies. 7 years ago
Rusty Russell c6976cd947 shachain: always build 48 bit version. 7 years ago
Rusty Russell 153c622157 lightningd: remove lightningd_state. 7 years ago
Rusty Russell a37c165cb9 common: move some files out of lightningd/ 7 years ago
Rusty Russell 8375857116 common: absorb remaining files from daemon/ 7 years ago
Rusty Russell 85ff95e829 common: new directory for any shared objects. 7 years ago
Rusty Russell 1396cf6249 lightningd: remove num_revocations_received. 7 years ago
Christian Decker def3d77a70 lightningd: Base peer->seed off of the channel ID 7 years ago
Christian Decker e51d261f51 lightningd: Load persisted channels on startup 7 years ago
Christian Decker 4e6f9787b6 wallet: unique_id is not the same as dbid 7 years ago