67 Commits (9de382719930a607707c30c895f227bce40911fc)

Author SHA1 Message Date
Rusty Russell be35895847 lightningd: instead of malformed code, keep generic error code. 7 years ago
Christian Decker 6beb4eb171 wallet: Fix a column mismatch and use absolute column indices 7 years ago
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 967dd6c776 wallet: Add functions to store and manipulate payments 7 years ago
Rusty Russell f71a18241a wallet: save and restore htlc_basepoint for remote side. 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 bbe7a03300 wallet: use db_exec_mayfail() for wallet_add_utxo. 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
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 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
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 4b59c4f857 fix: Do not assume size_t == u64 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 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
Christian Decker 1a94e7282b db: Make peers unique by node_id 7 years ago
Christian Decker 4bc0750882 wallet: Moving wallet_channel->peer_id into the peer struct 7 years ago
Christian Decker 50ee067393 wallet: Set shutdown keyindex to -1 if not set 7 years ago
Christian Decker 05aaaa1f49 wallet: Actually save the correct min_index when creating shachains 7 years ago
Rusty Russell 1ffb9f07c1 ccan: update to latest shachain. 7 years ago
Rusty Russell 893335244d openingd: supply initial tx as well as signature. 7 years ago
Rusty Russell c389215a35 closingd: send the tx to master as we negotiate. 7 years ago
Rusty Russell dbfac68c3f lightningd: keep last valid tx, and its signature. 7 years ago