146 Commits (ad4bcfde53614bf71411bf83fc5f37df23094a61)

Author SHA1 Message Date
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
Christian Decker d840496e53 json-rpc: Make listtransaction non-experimental but hide annotations 5 years ago
Christian Decker 33bb4f7f58 json-rpc: Print details and annotations for listtransactions 5 years ago
Christian Decker d981b58234 wallet: Retrieve transaction annotations when listing transactions 5 years ago
trueptolemy 8103e48f8c fix: remove extra semicolon in `json_prepare_tx` 5 years ago
Rusty Russell fe66b53fb9 jsonrpc: add more fields to listfunds. 5 years ago
lisa neigut 5c70890efa rpc: add 'utxos' parameter to txprepare + withdraw 5 years ago
trueptolemy a3b43fa196 Cleanup: Remove the duplicated code of getting txid in `json_withdraw` 5 years ago
trueptolemy b7ae2f3ac7 Fix: Store the transaction(broadcast by `txsend`) into DB 5 years ago
trueptolemy 42d5d753db cleanup: Remove unused structure `struct withdrawal` 5 years ago
trueptolemy cdcafdaf74 API: `txprepare` now support mutiple outputs 5 years ago
trueptolemy b660531216 common: `withdraw_tx()` now use the array of `struct bitcoin_tx_output` as parameter 5 years ago
lisa neigut 5663ecc599 listfunds: add 'blockheight' for confirmed transactions 5 years ago
Rusty Russell 1510ea5717 wallet/walletrpc.c: fix uninitialized warning. 5 years ago
Christian Decker 9288a7906b tx: Add chainparams to struct bitcoin_tx as context 5 years ago
Kristaps Kaupe d02496b89b Return output idx for a funding tx in a channel information in listfunds 5 years ago
Christian Decker ee587af99e json-rpc: Disable `listtransactions` for the 0.7.1 release 5 years ago
Jorge Timón 86b5b84efe bugfix: Proper json for listtransactions' response 5 years ago
lisa neigut a9d0550cf4 common: pull out scriptPubkey address method 5 years ago
Rusty Russell bb7bbd03c5 lightningd: have json_stream_success start the "result" object. 5 years ago
Christian Decker b6b548a983 wallet: Rip out the txtypes type in favor of enum wallet_tx_type 5 years ago
Christian Decker 3c777fa0f3 json-rpc: Add `listtransactions` RPC method 5 years ago
Christian Decker 04c255f3ae wallet: Store and annotate withdrawals in the DB 5 years ago
Rusty Russell 985048edf8 wallet: new commands 'txprepare', 'txsend' and 'txdiscard'. 5 years ago
Rusty Russell 3b91a6f7c3 wtx_select_utxos: use wallet_tx as our allocation context for utxos. 5 years ago
Rusty Russell 663315c325 wallet: make withdraw parsing more strict. 5 years ago
Rusty Russell aa21eea62b bip32_pubkey: use more widely, don't open-code. 5 years ago
Rusty Russell ba036b767f newaddr: fix return value for deprecated "address" field. 5 years ago
darosior 323adb467a jsonrpc: Add a category field to commands. 5 years ago
Rusty Russell 401bd9f8ef json: rename json_add_amount_sat to json_add_amount_sat_compat. 6 years ago
Christian Decker 0d19d04def wallet: Pass chainparams to address serialization 6 years ago
Rusty Russell a2fa699e0e Use node_id everywhere for nodes. 6 years ago
Rusty Russell 049f2351d4 newaddr: deprecate 'address' output. 6 years ago
Rusty Russell 3e67c09d5e newaddr: support getting both bech32 and p2sh addresses. 6 years ago
Christian Decker ed6a455a3c wallet: Display addresses derived from scriptPubKey where available 6 years ago
Christian Decker 72f1c78a1e jsonrpc: Arm the minconf=1 parameter and deal with the fallout 6 years ago
Christian Decker c0d38aa99c jsonrpc: Expose the minconf parameter for fundchannel and withdraw 6 years ago
Christian Decker 68fe5eacde wallet: Allow limiting the selection by confirmation height 6 years ago
Rusty Russell bac9a594b8 wallet: use amount_sat/amount_msat. 6 years ago