184 Commits (06c41a05474eee8891610005bfb275574e5705c3)

Author SHA1 Message Date
niftynei e2a6fd7112 common: pull up `param_psbt` 4 years ago
Rusty Russell d5cb0d85b5 utils: use a cleaner pattern to capture wally allocations. 4 years ago
Rusty Russell 77b62d9e42 bitcoin/psbt: psbt_finalize needs a tal ctx. 4 years ago
Rusty Russell e3219d3aa0 utxo: expose is_reserved, make enum constants upper case. 4 years ago
Rusty Russell 438953b8f0 utxo: make reserved_til a u32 not a ptr, now it's compsulory. 4 years ago
Rusty Russell 83298c030a wallet: switch over to withdraw in module, remove lots of unused code. 4 years ago
Rusty Russell 3b8c0a7397 sendpsbt: just reserve (maybe bump) inputs on send, don't mark spent. 4 years ago
Rusty Russell 182b761a46 walletrpc: remove now-unused txprepare parsing code. 4 years ago
Rusty Russell 6b2a3f4dfb txprepare: remove old code, switch to plugin. 4 years ago
Rusty Russell 1702c7a69a hsmd: convert to new wire generation style. 4 years ago
Rusty Russell 7435d50970 signpsbt: add signonly parameter to restrict/enforce what inputs to sign. 4 years ago
Rusty Russell bcd632f2ae listfunds: add "redeemscript" field. 4 years ago
Rusty Russell cf25ca11b8 sendpsbt: annotate transactions in wallet. 4 years ago
Rusty Russell 600d0a4a1d psbt: make psbt_from_b64 more conventional. 4 years ago
niftynei d87f31f9a8 utxo: clean up NULL handling of scriptpubkey 4 years ago
Rusty Russell 371cabf976 txprepare: revert 1fb9a078b6 (`psbt` field) 5 years ago
Rusty Russell 56ea215ba0 wallet: new JSON commands reserveinputs and unreserveinputs. 5 years ago
niftynei 7ebdc14397 utxos: add a 'reserved_til' marker for utxos 5 years ago
niftynei 14de198bd1 wally-tx: add type-to-string for a wally-tx 5 years ago
Rusty Russell 94de18ace7 listfunds: add scriptpubkey if it's known. 5 years ago
Rusty Russell 1708fb91e5 wallet: clean up json output creation, part 2. 5 years ago
Rusty Russell 5b82271187 wallet: clean up json output creation, part 1. 5 years ago
ZmnSCPxj jxPCSnmZ d0c85033d2 wallet/walletrpc.c: `txprepare`d transactions now use current tip blockheight by default. 5 years ago
ZmnSCPxj jxPCSnmZ d14460ef3d wallet/walletrpc.c: Show input annotations for inputs. 5 years ago
niftynei 9830c94778 rpc: new signpsbt + sendpsbt rpcs 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 b90be4f6c8 prepare-tx: pass back the feerate, as json_tx_prepare sometimes sets it 5 years ago
niftynei 0bd0de54fa psbt: have withdraw_tx use psbt's to create signed txs 5 years ago
niftynei 85dca84327 psbt-json: remove reliance on bitcoin_tx, use straight wally_psbt struct 5 years ago
lisa neigut 16656a85cf withdraw: refactor change output handling 5 years ago
niftynei 431463b57a listfunds: also list reserved outputs 5 years ago
Antoine Poinsot 5dfd2436db wallet: show input txid in little endian for json_listtransactions 5 years ago
lisa neigut 1fb9a078b6 txprepare: return psbt serialized version of tx as well 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 5d58f125c5 coin moves: record withdrawals 5 years ago
darosior dce2e87928 chaintopology: better feerate targets differentiation 5 years ago
darosior c79ab0f1b0 lightningd/bitcoind: use the Bitcoin plugin for getutxout 5 years ago
darosior 947f5ddde1 lightningd/bitcoind: use the Bitcoin plugin to send transactions 5 years ago
darosior a589daa235 wallet: fuzz the nLockTime added to withdraw transactions 5 years ago
darosior 273029f244 wallet: set nLockTime to the tip for withdrawal transactions 5 years ago
Vasil Dimov 2ea91f834c Add the missing space between "if" and "(" 5 years ago
darosior f075b87137 bitcoind: remove the chainparams member 5 years ago
lisa neigut 963a1da958 addr: handle P2SH/P2PKH in scriptpubkey encoding 5 years ago
lisa neigut 6e7cfcc76e walletrpc: explicitly note we discard utx on unsuccessful broadcast 5 years ago
trueptolemy 75e946d256 json: Move `param_bitcoin_address` from wallet/walletrpc.c to lightningd/json.c 5 years ago
trueptolemy 7db3f1b8a6 json: Rename `json_tok_address_scriptpubkey` to `json_to_address_scriptpubkey` 5 years ago
trueptolemy 36bc624928 Fix: fix the parameter prase of `txprepare` 5 years ago
Rusty Russell 93865bb0f3 wallet: minor style fixes, and remove null JSON fields. 5 years ago