aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
AgeCommit message (Collapse)Author
2016-10-17Fix ismine and addwitnessaddress: no uncompressed keys in segwitPieter Wuille
Github-Pull: #8499 Rebased-From: 248f3a76a825a332e5495c5947ad283a9e5e938f
2016-10-03[Wallet] remove "unused" ThreadFlushWalletDB from removeprunedfundsJonas Schnelli
Github-Pull: #8765 Rebased-From: c6f5ca822f1308983431bf1b3c91f8aaccff51a0
2016-09-21Berkeley DB v6 compatibility fixAlexey Vesnin
Fixes building error looking like this: CXX wallet/libbitcoin_wallet_a-db.o wallet/db.cpp: In member function ‘void CDBEnv::EnvShutdown()’: wallet/db.cpp:46:16: error: call of overloaded ‘DbEnv(int)’ is ambiguous DbEnv(0).remove(strPath.c_str(), 0); ^ wallet/db.cpp:46:16: note: candidates are: In file included from wallet/db.h:21:0, from wallet/db.cpp:6: /usr/include/db_cxx.h:916:2: note: DbEnv::DbEnv(const DbEnv&) DbEnv(const DbEnv &); ^ /usr/include/db_cxx.h:518:2: note: DbEnv::DbEnv(DB_ENV) DbEnv(DB_ENV *dbenv); ^ /usr/include/db_cxx.h:516:2: note: DbEnv::DbEnv(u_int32_t) DbEnv(u_int32_t flags); ^ Makefile:5780: recipe for target 'wallet/libbitcoin_wallet_a-db.o' failed make[2]: ** [wallet/libbitcoin_wallet_a-db.o] Error 1 Github-Pull: #8626 Rebased-From: 323a5fe06af43d3922a435e696d6c52acc6fade1
2016-09-21CDB: fix debug outputcrowning-
It doesn't really help to clear a variable before printing it to the debug log. Github-Pull: #8539 Rebased-From: fab2e26d2033ca3c7a24f6a0ad6529fceda52ebc
2016-09-21Add copyright header to wallet_text_fixture.cppWladimir J. van der Laan
I created the file but forgot to add this header. Github-Pull: #8558 Rebased-From: 653bb3d64057f11c5c9a8f539ba57be549097cee
2016-09-21Use __func__ to get function name for output printingMarcoFalke
Github-Pull: #8548 Rebased-From: fa785d121152c652d0704ac32ce8611262e609d2
2016-09-21[Wallet] Trivial cleanup of HD wallet changesJonas Schnelli
Github-Pull: #8443 Rebased-From: 7e5d94df1fb09ed7ee7ed50032f876972ef39489
2016-09-21various typosleijurv
Github-Pull: #8505 Rebased-From: 1aacfc2da521a8e0d718e9ac561d9b2d7916eb0b
2016-09-21Clear witness with vin/vout in CWallet::CreateTransaction()Suhas Daftuar
Github-Pull: #8664 Rebased-From: c40b034327bf8a30d3af1eeeef84bc4ccd57e685
2016-09-21add witness address to address bookinstagibbs
Github-Pull: #8693 Rebased-From: 62ffbbdec30699941069baeae61716ff12155ba6
2016-08-26[wallet] rpc: Drop misleading optionMarcoFalke
Github-Pull: #8581 Rebased-From: fab5ecb7719063aa72751df1258dfa4cf4a9a4a9
2016-07-27[Wallet] Add CKeyMetadata record for HDMasterKey(s), factor out HD key ↵Jonas Schnelli
generation
2016-07-27[0.13] Create a new HD seed after encrypting the walletJonas Schnelli
2016-07-27[Wallet] add HD xpriv to dumpwalletJonas Schnelli
Github-Pull: #8206 Rebased-From: 77c912d21c8cd153f4503c65225a5a46990cc85a
2016-07-25[Wallet] Correct hdmasterkeyid/masterkeyid name confusionJonas Schnelli
Github-Pull: #8390 Rebased-From: b50e1ac298363a7733069f82709674d3a8cb3058
2016-07-20Move SetMinVersion for FEATURE_HD to SetHDMasterKeyPatrick Strateman
Github-Pull: #8378 Rebased-From: 6523fcaab2f0808d4e47b9cb9ebbef7ed69a309e
2016-07-19Merge #8366: [0.13] [Wallet] Ensure <0.13 clients can't open HD walletsWladimir J. van der Laan
3b38a6a [Wallet] Ensure <0.13 clients can't open HD wallets (Jonas Schnelli)
2016-07-19Rename "block cost" to "block weight"Suhas Daftuar
Github-Pull: #8363 Rebased-From: 2c06bae39edfaa9c0855d83377ad8fda09e4fa08
2016-07-18[Wallet] Ensure <0.13 clients can't open HD walletsJonas Schnelli
2016-07-18Merge #8323: Add HD keypath to CKeyMetadata, report metadata in validateaddressWladimir J. van der Laan
7945088 [Wallet] comsetic non-code changes for the HD feature (Jonas Schnelli) 68d7682 [Wallet] ensure CKeyMetadata.hdMasterKeyID will be cleared during SetNull() (Jonas Schnelli) f708085 [QA] extend wallet-hd test to cover HD metadata (Jonas Schnelli) 986c223 [Wallet] print hd masterkeyid in getwalletinfo (Jonas Schnelli) b1c7b24 [Wallet] report optional HDKeypath/HDMasterKeyId in validateaddress (Jonas Schnelli) 5b95dd2 [Wallet] extend CKeyMetadata with HD keypath (Jonas Schnelli)
2016-07-15[Wallet] comsetic non-code changes for the HD featureJonas Schnelli
2016-07-15[Wallet] ensure CKeyMetadata.hdMasterKeyID will be cleared during SetNull()Jonas Schnelli
2016-07-14Merge #8324: [Wallet] keep HD seed during salvagewalletWladimir J. van der Laan
b993671 [Wallet] keep HD seed during salvagewallet (Jonas Schnelli)
2016-07-09[Wallet] keep HD seed during salvagewalletJonas Schnelli
2016-07-09[Wallet] print hd masterkeyid in getwalletinfoJonas Schnelli
2016-07-09[Wallet] extend CKeyMetadata with HD keypathJonas Schnelli
2016-07-08[rpcwallet] Don't use floating pointMarcoFalke
2016-07-01wallet: Revert input selection post-pruningWladimir J. van der Laan
This reverts PR #4906, "Coinselection prunes extraneous inputs from ApproximateBestSubset". Apparently the previous behavior of slightly over-estimating the set of inputs was useful in cleaning up UTXOs. See also #7664, #7657, as well as 2016-07-01 discussion on #bitcoin-core-dev IRC.
2016-06-24Merge #8149: Segregated witness rebasedWladimir J. van der Laan
f852813 BIP9 parameters for testnet (Johnson Lau) 070dbc4 --- [SEGWIT] begin: deployment --- (Pieter Wuille) fdb43df [qa] Add GetTransactionSigOpCost unit tests (Jonas Nick) d846e02 [qa] script_tests: witness tests can specify tx amount (Suhas Daftuar) 330b0f3 [qa] p2p segwit tests (Suhas Daftuar) 4f7ff00 [qa] Add rpc test for segwit (Alex Morcos) 66cca79 [qa] Autogeneration support for witness in script_tests (Pieter Wuille) 06d3805 [qa] Add segwit support to script_tests (Pieter Wuille) 00f46cb [qa] Add transaction tests for segwit (NicolasDorier) 0aa9207 [qa] Witness version 0 signing unit tests (Pieter Wuille) 978e200 --- [SEGWIT] begin: tests --- (Pieter Wuille) 745eb67 [RPC] signrawtransaction can sign P2WSH (NicolasDorier) f4691ab [RPC] Add wallet support for witness transactions (using P2SH) (Pieter Wuille) 605e847 BIP143: Signing logic (Pieter Wuille) 9757b57 --- [SEGWIT] begin: wallet --- (Pieter Wuille) af87a67 Do not use compact blocks when segwit is enabled (Pieter Wuille) 6032f69 Add rewind logic to deal with post-fork software updates (Pieter Wuille) b7dbeb2 [libconsensus] Script verification API with amounts (Thomas Kerin) 2b1f6f9 BIP141: Other consensus critical limits, and BIP145 (Pieter Wuille) 7c4bf77 [RPC] Return witness data in blockchain RPCs (Johnson Lau) 3dd4102 BIP143: Verification logic (Pieter Wuille) 0ef1dd3 Refactor script validation to observe amounts (Pieter Wuille) b8a9749 BIP144: Handshake and relay (receiver side) (Pieter Wuille) 8b49040 BIP141: Commitment structure and deployment (Pieter Wuille) 449f9b8 BIP141: Witness program (Pieter Wuille) 7030d9e BIP144: Serialization, hashes, relay (sender side) (Pieter Wuille) ecacfd9 --- [SEGWIT] begin: P2P/node/consensus --- (Pieter Wuille)
2016-06-23trivial: capitalize BIP32 in option helpWladimir J. van der Laan
For consistency, BIP32 should be in uppercase in translation message. Reported by @pryds on Transifex.
2016-06-22[qa] Add rpc test for segwitAlex Morcos
Amended by Pieter Wuille to use multisig 1-of-1 for P2WSH tests, and BIP9 based switchover logic. Fixes and py3 conversion by Marco Falke.
2016-06-22[RPC] Add wallet support for witness transactions (using P2SH)Pieter Wuille
Includes support for pushkeyhash wit v0 by Alex Morcos.
2016-06-22BIP143: Signing logicPieter Wuille
2016-06-22BIP141: Other consensus critical limits, and BIP145Pieter Wuille
Includes changes by Suhas Daftuar, Luke-jr, and mruddy.
2016-06-22BIP144: Serialization, hashes, relay (sender side)Pieter Wuille
Contains refactorings by Eric Lombrozo. Contains fixup by Nicolas Dorier. Contains cleanup of CInv::GetCommand by Alex Morcos
2016-06-20Merge #7687: Stop treating importaddress'ed scripts as changeWladimir J. van der Laan
595b22e Stop treating importaddress'ed scripts as change (Pieter Wuille)
2016-06-17[wallet] tests: Don't use floating pointMarcoFalke
2016-06-14Merge #8035: [Wallet] Add simplest BIP32/deterministic key generation ↵Wladimir J. van der Laan
implementation afcd77e Detect -usehd mismatches when wallet.dat already exists (Jonas Schnelli) 17c0131 [Docs] Add release notes and bip update for Bip32/HD wallets (Jonas Schnelli) c022e5b [Wallet] use constant for bip32 hardened key limit (Jonas Schnelli) f190251 [Wallet] Add simplest BIP32/deterministic key generation implementation (Jonas Schnelli)
2016-06-14Detect -usehd mismatches when wallet.dat already existsJonas Schnelli
2016-06-09build: Get rid of `CLIENT_DATE`Wladimir J. van der Laan
Putting the build date in the executable is a practice that has no place in these days, now that deterministic building is increasingly common. Continues #7732 which did this for the GUI.
2016-06-08Fix two warnings for comparison between signed and unsignedPieter Wuille
2016-06-07[rpc] fundrawtransaction feeRate: Use BTC/kBMarcoFalke
Also introduce UniValueType UniValueType is a wrapper for UniValue::VType which allows setting a typeAny flag. This flag indicates the type does not matter. (Used by RPCTypeCheckObj)
2016-06-06[rpc] fundrawtransaction: Fix help text and interfaceMarcoFalke
2016-06-06Improve CWallet API with new GetAccountPubkey function.Patrick Strateman
Remove one more caller that is passing CWalletDB.
2016-06-06Merge #8137: Improve CWallet API with new AccountMove function.Wladimir J. van der Laan
9dfaa1c Improve CWallet API with new AccountMove function. (Patrick Strateman)
2016-06-03Merge #7967: [RPC] add feerate option to fundrawtransactionWladimir J. van der Laan
04eaa90 Add more clear interface for CoinControl.h regarding individual feerate (Jonas Schnelli) 3b35e48 [RPC] add feerate option to fundrawtransaction (Jonas Schnelli)
2016-06-03Merge #7825: Prevent multiple calls to ExtractDestinationPieter Wuille
0bf6f30 Prevent multiple calls to ExtractDestination (Pedro Branco)
2016-06-02Stop treating importaddress'ed scripts as changePieter Wuille
Before this, if someone imported a scriptPubKey directly (in hex form) using importaddress, outputs sending to it would be treated as change, as the corresponding CTxDestination was not added to the address book. Fix this by trying to detect scriptPubKeys that are in fact convertible to a CTxDestination and add them anyway. Add a warning to the RPC help to warn against importing raw non-standard scripts.
2016-06-02Improve CWallet API with new AccountMove function.Patrick Strateman
2016-06-01[Wallet] use constant for bip32 hardened key limitJonas Schnelli