388 Commits (25f1db30762f7d46290f45551ad4bf41a5879875)

Author SHA1 Message Date
Rusty Russell 27b48959d7 wallet: add wallet_find_utxo(). 5 years ago
Rusty Russell 50ff0b26fd wallet: explicit routines to reserve/unreserve a UTXO. 5 years ago
niftynei 7ebdc14397 utxos: add a 'reserved_til' marker for utxos 5 years ago
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
Rusty Russell 7aa8ffa2a0 bitcoin: add weight calculation helpers. 5 years ago
Christian Decker 7b899da801 db: Retrieve peer ID if it exists or create the peer if not 5 years ago
Rusty Russell ae0cccb293 wallet: fix memleak if we get shut down before finishing utxo cleanup. 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
niftynei 8fa04a710a psbt: move `channels.last_tx` field to be a psbt 5 years ago
niftynei 894a46e8e3 psbt: populate last commitment transaction's input info at db 5 years ago
niftynei 78d95b51aa nit: align spacing for SQL stmts 5 years ago
fiatjaf 96452eafb7 sort listinvoices and listsendpays by order of creation. 5 years ago
lisa neigut 8acbbca05d coins: use the chain's BIP173 name instead of a 'unit of account' 5 years ago
lisa neigut de065580f6 coins: update API surface for creating coin movements 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 e9d26a46e0 coin moves: actually record the blockheight for all chain moves 5 years ago
lisa neigut fc54bfc488 coin moves: record wallet deposits 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
lisa neigut d8c9e70c0c wallet-df: save our_funds amount to channel record 5 years ago
lisa neigut 0e20e3c5e7 df: rename 'funder' to 'opener' 5 years ago
Christian Decker fb8661714e wallet: Add a gap limit when checking for incoming transactions 5 years ago
Rusty Russell b29d1ed3ff channeld: support HTLCs with blinding (EXPERIMENTAL_FEATURES) 5 years ago
Christian Decker 453bfbc816 json-rpc: Fix test_txprepare if running with postgres 5 years ago
Michael Schmoock 6c50185865 fix: cppcheck ignore two false positives on uninitvar 5 years ago
Rusty Russell 2aad3ffcf8 common: tal_dup_talarr() helper. 5 years ago
Rusty Russell c9e73dc4e0 lightningd: rename htlc_in field from failcode to badonion. 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 72d55d3e3b lightningd: store raw msg rather than code for locally-failed outgoing HTLCs 5 years ago
Rusty Russell a150b09665 wallet: Add new htlc column "localfailmsg" for outgoing htlcs. 5 years ago
Rusty Russell c7bbdd76d3 lightningd: handle fail_htlc_in with no known outgoing channel. 5 years ago
Rusty Russell b84b4b4695 lightningd: rename htlc_in and htlc_out failuremsg fields to failonion. 5 years ago
Rusty Russell d478dc0e59 wallet: fix null column access for pre-0.7.3 dbs. 5 years ago
Rusty Russell fc4d01cd9d db: put scids in forwards even if we didn't actually send. 5 years ago
darosior c79ab0f1b0 lightningd/bitcoind: use the Bitcoin plugin for getutxout 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
Vasil Dimov 2ea91f834c Add the missing space between "if" and "(" 5 years ago
lisa neigut 700b766ce1 wallet: remove edgecase around transaction checks 5 years ago
Rusty Russell 72aa315b5e lightningd: save the fee_states into the database. 5 years ago
Rusty Russell 12985331f7 htlcs: remove origin_htlc_id from htlc_out. 5 years ago
Rusty Russell 345ca9b122 db: add partid field to 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 1cf3c12a81 cleanup: The failchannel is not tal-allocated when first assigned 5 years ago
Christian Decker 27547ce8d4 pay: Allow `sendonion` callers to provide `shared_secrets` 5 years ago