82 Commits (d340ee8abbf5a2720e3848bd987063db275f972d)

Author SHA1 Message Date
Rusty Russell 63390a58b0 db: log a message to say whether we created or updated db. 7 years ago
ZmnSCPxj 8e3c97762e invoice: Properly implement waitinvoice. 7 years ago
ZmnSCPxj 993d5dc75a wallet: Implement wallet_invoice_nextpaid. 7 years ago
ZmnSCPxj 3dd50d6219 wallet: Add pay_index column to database for paid invoice ordering. 7 years ago
Rusty Russell 887e9dcc44 travis: reenable check-source (without BOLT text). 7 years ago
Rusty Russell 0237e0b28c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 7 years ago
William Casarin bcd49b063b fixup! wallet: insert address into peers table 7 years ago
William Casarin d89eb32c85 wallet: insert address into peers table 7 years ago
Rusty Russell 3543530172 build_utxos: fix weight calculation, and make more accurate. 7 years ago
Rusty Russell 41a5d19198 wallet: don't leak channel struct when peer freed. 7 years ago
Rusty Russell ed8baf5f88 funding_spent: fix leaks. 7 years ago
Rusty Russell 8cd7ebb924 wallet: wallet_select_all to select everything. 7 years ago
ZmnSCPxj 4022fc0034 wallet.c: Minor leak in wallet_invoices_load. 7 years ago
Rusty Russell bbbbb60863 wallet: don't leak string on update. 7 years ago
Rusty Russell 5a319c781c wallet: don't leak UTXO array on extracting outputs. 7 years ago
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