134 Commits (20fcb5d6ef8e6a8dd4d9851ac48f35973c308ada)

Author SHA1 Message Date
Rusty Russell c956d9f5eb lightningd: tal memleak detection, dev-memleak command. 7 years ago
Rusty Russell 8c665835fa jsonrpc: make explicit call to indicate cmd is still pending. 7 years ago
Rusty Russell 28f02e0c0e wallet: use real feerates for withdraw rpc. 7 years ago
Rusty Russell 3da93319fb withdraw: make rpc call accept 'all' as a value. 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
ZmnSCPxj e26d294b60 Add support for withdrawing to BECH32 addresses. 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 9747d1a62c database: don't leak query string. 7 years ago
Rusty Russell 005f3826c9 wallet/tests: add mocks for futureproofing. 7 years ago
Rusty Russell 2931760b5b wallet: move tests into test/ dir like other unit tests. 7 years ago
ZmnSCPxj 9842898ca4 Add support for withdrawing to P2SH addresses. 7 years ago
ZmnSCPxj d43fb87871 Factor out scriptpubkey_from_address function from json_withdraw. 7 years ago
ZmnSCPxj 9f481226fa Rearrange checking of withdrawal address parsing success in json_withdraw. 7 years ago
ZmnSCPxj b56fea8b2a Modify hsm_sign_withdrawal to transmit scriptpubkey to withdraw to, rather than pkh. 7 years ago
ZmnSCPxj 5fd74f9933 Change withdraw_tx to accept scriptpubkey rather than plain address. 7 years ago
Christian Decker 61852b4603 cleanup: Use check_act* in handshake and remove unused static inline 7 years ago
practicalswift 486d321094 Avoid NULL pointer dereference in channelseq(...) 7 years ago
ZmnSCPxj 38fc280fad Make json_withdraw check testnet flag. 7 years ago
practicalswift 61c47c09d0 Fix typos 7 years ago
Christian Decker 9ba99d2b2d hsm: Cleanup after merging control and client libraries 7 years ago
Rusty Russell be35895847 lightningd: instead of malformed code, keep generic error code. 7 years ago
Christian Decker c29923a623 topology: Add transaction filtering to connect_block 7 years ago
Christian Decker d912d45af8 wallet: Expose wallet_shachain_get_hash to remove warning 7 years ago
Christian Decker f4a71f9806 tests: Add stmt2wallet test for remote_shutdown_scriptpubkey 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 d1cc5f4552 wallet: Add unit tests for payment persistence 7 years ago
Christian Decker 967dd6c776 wallet: Add functions to store and manipulate payments 7 years ago
Christian Decker 6601c43edc db: Add payments table 7 years ago
Christian Decker 490ee76162 wallet: Add payment struct to track status of transfers 7 years ago
Rusty Russell f71a18241a wallet: save and restore htlc_basepoint for remote side. 7 years ago
Rusty Russell 9fd81ab06d db: make db_exec() an internal function. 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 1eb7e92a30 db_migrate: get version inside transaction. 7 years ago
Rusty Russell bbe7a03300 wallet: use db_exec_mayfail() for wallet_add_utxo. 7 years ago
Rusty Russell b148b89baf db_exec_mayfail: variant of db_exec where we actually expect an error. 7 years ago
Rusty Russell 1f7e370fda db: rollback transaction if we had an error. 7 years ago
Rusty Russell 360aa15e4d db_query: don't remove transaction or set error if query fails. 7 years ago
Rusty Russell 5e46af64fc db: keep in_transaction as a counter, so we can nest commits. 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