185 Commits (4a89819cddabd80baeb2b557ddc20f7433add879)

Author SHA1 Message Date
Rusty Russell e12defa7fb wallet: no longer expose wallet_add_utxo function. 5 years ago
Rusty Russell 4271fc8652 wallet: add explicit API for onchaind to register UTXOs. 5 years ago
niftynei fd8a716695 wallet: have wallet_extract_outputs take wally_tx, not bitcoin_tx 5 years ago
niftynei 103dce63ef reserve/unreserve input: new RPC commands for reserving inputs/outputs 5 years ago
lisa neigut 16656a85cf withdraw: refactor change output handling 5 years ago
lisa neigut aab9893661 coins: have `we_fulfilled` be fully 'ternary' 5 years ago
lisa neigut de86e29e16 coin moves: log all withdrawals when confirmed in a block 5 years ago
lisa neigut 434cad0c3b wallet-htlc: add 'we-filled' flag to saved htlc state 5 years ago
Christian Decker 667a763659 db: Add a table to track the penalty_bases for revocations 5 years ago
lisa neigut 39d5117210 utxo: add scriptSig + scriptPubkey field 5 years ago
Sebastian Falbesoner 1dd606c9a1 wallet: fix typo in wallet_can_spend() comment 5 years ago
Christian Decker fb8661714e wallet: Add a gap limit when checking for incoming transactions 5 years ago
Rusty Russell 447730e70f wallet: only store BADONION codes in db for incoming htlcs: rest are all onionreplyies. 5 years ago
Rusty Russell a150b09665 wallet: Add new htlc column "localfailmsg" for outgoing htlcs. 5 years ago
Rusty Russell b84b4b4695 lightningd: rename htlc_in and htlc_out failuremsg fields to failonion. 5 years ago
Rusty Russell fc4d01cd9d db: put scids in forwards even if we didn't actually send. 5 years ago
Rusty Russell 1099f6a5e1 common: use struct onionreply. 5 years ago
Christian Decker 4be1868b8a pay: Invert ownership of wallet_payment 5 years ago
lisa neigut 700b766ce1 wallet: remove edgecase around transaction checks 5 years ago
Rusty Russell 12985331f7 htlcs: remove origin_htlc_id from htlc_out. 5 years ago
Rusty Russell 2d18c3a209 db: add partid, total_msat fields to payment entries. 5 years ago
Christian Decker 16b6c31010 json-rpc: Add the error onion if we stored it in the DB 5 years ago
Christian Decker 41221b6ecb pay: Make wallet_payment->destination optional 5 years ago
Rusty Russell 81c89aaef8 wallet: add invoice features into db. 5 years ago
Rusty Russell edbcb6fa15 lightningd: remove chainparams local parameter from wallet. 5 years ago
Rusty Russell ef7a820ab1 log: make formatting more consistent. 5 years ago
Christian Decker d981b58234 wallet: Retrieve transaction annotations when listing transactions 5 years ago
Christian Decker 3d14c18074 wallet: Add primitives to annotate a transaction input and output 5 years ago
lisa neigut 38e404af51 wallet: add flag to specify whether or not to include change output 5 years ago
trueptolemy 6c708b5854 API: `fundchannel_cancel` can cancel fundchannel process before funding broadcast 5 years ago
Christian Decker b06cb68330 db: Migrate wallet.c to the new abstraction layer 5 years ago
trueptolemy cdcafdaf74 API: `txprepare` now support mutiple outputs 5 years ago
trueptolemy 23bfdc307f wallet: Use `struct sha256` for payment_hash in `struct forwarding` 5 years ago
lisa neigut 0c96c89d67 db-fix: resolve crash on fundchannel 5 years ago
Rusty Russell 69b7ef1508 lightningd: fix up typesafe-cb bitcoind_getfilteredblock 5 years ago
Christian Decker 3dbaae38e3 wallet: Add function to add filteredblocks from backfilling 5 years ago
Christian Decker 86d4362b65 wallet: Don't delete channels from DB, mark them closed. 6 years ago
Rusty Russell 220449e1cd ccan: import ccan/json_out and ccan/json_escape. 6 years ago
darosior ac038b340b fundchannel: Add a new 'utxo' parameter 6 years ago
Christian Decker b6b548a983 wallet: Rip out the txtypes type in favor of enum wallet_tx_type 6 years ago
Christian Decker 6efb1c00a6 wallet: Add function to retrieve transactions from the wallet 6 years ago
Christian Decker ad4b9204ab wallet: Add function to annotate transactions aposteriori 6 years ago
Rusty Russell e1dbc0b12b wallet: clean reserved inputs on startup. 6 years ago
Rusty Russell 1a3886c116 wallet: keep a list of unreleased transactions. 6 years ago
trueptolemy b41d529b28 DB: Store the remote channel announcement signatures into DB 6 years ago
trueptolemy 0f429853fc wallet: cleanup the tal context in wallet_channels_load_active() and wallet_stmt2channel() 6 years ago
trueptolemy 3a8fe5bf31 wallet: store failcode by adding failcode field in wallet_forwarded_payment_add() 6 years ago
trueptolemy 1c1fb1ca51 wallet: add failcode field in forwarding struct 6 years ago
trueptolemy 473dbd4921 wallet: add 'FORWARD_LOCAL_FAILED' as a new forward_status type 6 years ago
Christian Decker 27afc804d5 json-rpc: Include received and resolved time to listforward result 6 years ago