602 Commits (351d0ad40495d1d2a2400af4d2cc975863258d3f)

Author SHA1 Message Date
Ryan Havar 53351321c4 ApproximateBestSubset should take inputs by reference, not value 8 years ago
Jonas Schnelli 4115af7ac7
Fix rebase issue where pwalletMain was used instead of pwallet 8 years ago
Jonas Schnelli 9382f0425e
Do not break backward compatibility during wallet encryption 8 years ago
Jonas Schnelli 1df08d1580
Add assertion for CanSupportFeature(FEATURE_HD_SPLIT) 8 years ago
Jonas Schnelli cd468d07d5
Define CWallet::DeriveNewChildKey() as private 8 years ago
Jonas Schnelli ed79e4f497
Optimize GetOldestKeyPoolTime(), return as soon as we have both oldest keys 8 years ago
Jonas Schnelli 771a304ffe
Make sure we set the wallets min version to FEATURE_HD_SPLIT at the very first point 8 years ago
Jonas Schnelli 003e197498
Remove FEATURE_HD_SPLIT bump TODO 8 years ago
Jonas Schnelli d9638e5aa4
Overhaul the internal/external key derive switch 8 years ago
Jonas Schnelli 1090502c3e
Fix superfluous cast and code style nits in RPC wallet-hd.py test 8 years ago
Jonas Schnelli 58e148333e
CKeyPool avoid "catch (...)" in SerializationOp 8 years ago
Jonas Schnelli e138876f0a
Only show keypoolsize_hd_internal if HD split is enabled 8 years ago
Jonas Schnelli add38d9b83
GetOldestKeyPoolTime: if HD & HD Chain Split is enabled, response max(oldest-internal-key, oldest-external-key) 8 years ago
Jonas Schnelli dd526c2a2d
Don't switch to HD-chain-split during wallet encryption of non HD-chain-split wallets 8 years ago
Jonas Schnelli 79df9df348
Switch to 100% for the HD internal keypool size 8 years ago
Jonas Schnelli bcafca1077
Make sure we always generate one keypool key at minimum 8 years ago
Jonas Schnelli d0a627a53a
Fix issue where CDataStream->nVersion was taken a CKeyPool record version 8 years ago
Jonas Schnelli 9af8f00a75
Make sure we hand out keypool keys if HD_SPLIT is not enabled 8 years ago
Jonas Schnelli 469a47b760
Make sure ReserveKeyFromKeyPool only hands out internal keys if HD_SPLIT is supported 8 years ago
Jonas Schnelli 05a9b493eb
Fix wrong keypool internal size in RPC getwalletinfo help 8 years ago
Jonas Schnelli 01de822c8d
Removed redundant IsLocked() check in NewKeyPool() 8 years ago
Jonas Schnelli d59531ddfc
Immediately return setKeyPool's size if HD or HD_SPLIT is disabled or not supported 8 years ago
Jonas Schnelli 02592f4c5e
[Wallet] split the keypool in an internal and external part 8 years ago
Pavel Janík d7f80b6dcb Rename first iterator to prevent shadowing. 8 years ago
Patrick Strateman fb6f90a4ce Initialize nRelockTime 8 years ago
NicolasDorier dcf2112de6 Add safe flag to listunspent result 8 years ago
Russell Yanofsky af61d9f78b Add COutput::fSafe member for safe handling of unconfirmed outputs 8 years ago
NicolasDorier 3cef95058c Trivial: Add const modifier to GetHDChain and IsHDEnabled 8 years ago
Karl-Johan Alm 8a5228197c
Refactor: Remove using namespace <xxx> from wallet/ 8 years ago
John Newbery dab804c18a Return correct error codes in fundrawtransaction(). 8 years ago
John Newbery 960bc7f778 Return correct error codes in removeprunedfunds(). 8 years ago
John Newbery 6d07c62322 Return correct error codes in bumpfee(). 8 years ago
practicalswift fdab309670 [trivial] Fix typos introduced in 7184e25c80 8 years ago
Matt Corallo 0235be1e7a Rename FlushWalletDB -> CompactWalletDB, add function description 8 years ago
Matt Corallo 735d9b5362 Use CScheduler for wallet flushing, remove ThreadFlushWalletDB 8 years ago
Gregory Sanders 188f89c3bb Disallow copy of CReserveKeys 8 years ago
Jonas Schnelli 7184e25c80
[Wallet] refactor CWallet/CWalletDB/CDB 8 years ago
Alex Morcos 359e8a03d1 [cleanup] Remove coin age priority completely. 8 years ago
Alex Morcos f838005444 No longer allow "free" transactions 8 years ago
Russell Yanofsky e57a1fd899 Define 7200 second timestamp window constant 8 years ago
Russell Yanofsky 7759aa23d1 Save watch only key timestamps when reimporting keys 8 years ago
Russell Yanofsky 630fc549e2 Clean up braces in CWallet::ComputeTimeSmart 8 years ago
Russell Yanofsky 6c996c2df7 Add documentation describing CWallet::nTimeSmart. 8 years ago
Russell Yanofsky 1f98abe47b Factor out CWallet::nTimeSmart computation into a method. 8 years ago
Russell Yanofsky c6b82d1db5 Add tests for CWalletTx::nTimeSmart 8 years ago
Russell Yanofsky 7ed143c10e Add test for CWalletTx::GetImmatureCredit() returning stale values. 8 years ago
practicalswift 343ba8fef5 [wallet] Remove redundant initialization 8 years ago
Luke Dashjr d678771c66 Wallet: Sanitise -wallet parameter 8 years ago
Luke Dashjr 9756be382e Wallet/RPC: Use filename rather than CWallet pointer, for lockwallet RPCRunLater job name 8 years ago
Luke Dashjr 86be48a77c More tightly couple EnsureWalletIsAvailable with GetWalletForJSONRPCRequest where appropriate 8 years ago