aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.cpp
AgeCommit message (Collapse)Author
2012-11-12fix some double-spaces in stringsPhilip Kaufmann
(partial of 6b3783a9c9cc47afcf72aa0a86ea26122392efdb)
2012-09-06Merge branch '0.4.x' into 0.5.xLuke Dashjr
2012-09-06Correct LoadWallet() return value (false -> DB_LOAD_OK)xanatos
Equivalent code. (false == 0 == DB_LOAD_OK). Fixes #1706.
2012-08-12Merge branch '0.4.x' into 0.5.xLuke Dashjr
Conflicts: src/net.cpp
2012-08-12Bugfix: Fix a variety of misspellingsLuke Dashjr
(PARTIAL: Left out anything changing debug.log)
2012-06-14Use std::numeric_limits<> for typesafe INT_MAX/etcGavin Andresen
(this fixes a Mac OS X gitian build error for 0.5.x)
2012-06-14Use std::numeric_limits<> for typesafe INT_MAX/etcGavin Andresen
(this fixes a Mac OS X gitian build error for 0.5.x)
2012-05-22Merge branch '0.4.x' into 0.5.xLuke Dashjr
Conflicts: src/ui.cpp src/ui.h src/uibase.cpp src/xpm/about.xpm
2012-05-20Update License in File HeadersFordy
I originally created a pull to replace the "COPYING" in crypter.cpp and crypter.h, but it turned out that COPYING was actually the correct file.
2012-05-20Update License in File HeadersFordy
I originally created a pull to replace the "COPYING" in crypter.cpp and crypter.h, but it turned out that COPYING was actually the correct file.
2012-05-18Always check return values of TxnBegin() and TxnCommit()Jeff Garzik
PARTIAL, since d68dcf7 isn't backported (yet)
2012-04-22Merge branch '0.4.x' into 0.5.xLuke Dashjr
Conflicts: src/main.cpp
2012-04-17Fix loop index var types, fixing many minor sign comparison warningsJeff Garzik
foo.size() typically returns an unsigned integral type; make loop variables match those types' signedness.
2012-04-15Merge branch '0.4.x' into 0.5.0.xLuke Dashjr
Conflicts: src/keystore.h
2012-04-15fix warnings: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]Wladimir J. van der Laan
2012-03-03Merge branch '0.4.x' into 0.5.0.xLuke Dashjr
2012-02-27Free pwalletdbEncryption after encryping walletPieter Wuille
Fixes a memory leak.
2011-12-20Implement an mlock()'d string class for storing passphrasesDylan Noblesmith
SecureString is identical to std::string except with secure_allocator substituting for std::allocator. This makes casting between them impossible, so converting between the two at API boundaries requires calling ::c_str() for now.
2011-11-20Never remove database files on shutdown, it caused unreadable wallets on ↵Gavin Andresen
some testers' machines.
2011-11-20Never remove database files on shutdown, it caused unreadable wallets on ↵Gavin Andresen
some testers' machines.
2011-11-17Only remove database log files on shutdown after wallet encryption/rewriteGavin Andresen
2011-11-17Create new keypool for newly encrypted wallets.Gavin Andresen
2011-11-17Only remove database log files on shutdown after wallet encryption/rewritev0.5.0rc6Gavin Andresen
2011-11-17Create new keypool for newly encrypted wallets.Gavin Andresen
2011-11-15Obsolete keypool and make sure database removes log files on shutdown.Gavin Andresen
2011-11-15ResilveringPieter Wuille
2011-11-15Obsolete keypool and make sure database removes log files on shutdown.Gavin Andresen
2011-11-14ResilveringPieter Wuille
2011-11-07Some extra commentsPieter Wuille
2011-11-02Add returns to avoid annoying compile-time warnings.Matt Corallo
2011-10-25Add returns to avoid annoying compile-time warnings.Matt Corallo
2011-09-30remove cryptopp dependency, add simple unittest for SHA256Transform()Nils Schneider
2011-09-02update to work with new lock system, add protocol.* to build systemWladimir J. van der Laan
2011-09-02Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
Conflicts: src/main.cpp
2011-09-01obtain cs_wallet mutex to protect vchDefaultKeyGavin Andresen
2011-09-01Logic running with -keypool=0 was wrong (empty keys were being returned). ↵Gavin Andresen
Fixes #445 Renames GetOrReuseKeyFromKeyPool to GetKeyFromPool, with fAllowReuse arg and bool result.
2011-08-31Fixed potential deadlocks in GUI code.Gavin Andresen
Also changed semantics of CWalletTx::GetTxTime(); now always returns the time the transaction was received by this node, not the average block time. And added information about -DDEBUG_LOCKORDER to coding.txt.
2011-08-31Fix rpc-hanging deadlocksGavin Andresen
Collapsed multiple wallet mutexes to a single cs_wallet, to avoid deadlocks with wallet methods that acquired locks in different order. Also change master RPC call handler to acquire cs_main and cs_wallet locks before executing RPC calls; requiring each RPC call to acquire the right set of locks in the right order was too error-prone.
2011-08-16Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
2011-08-09Unify copyright notices.Matt Corallo
To a variation on: // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2011 The Bitcoin developers
2011-07-27Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
Conflicts: src/script.cpp
2011-07-26Bugfix: don't overuse limited ExtractAddressPieter Wuille
ExtractAddress was called with the keystore as argument in RPC and UI, limiting results to own keys. This caused empty "address" fields.
2011-07-26Merge remote branch 'upstream/master'Wladimir J. van der Laan
Conflicts: src/bitcoinrpc.cpp
2011-07-24Merge pull request #403 from sipa/cbitcoinaddressJeff Garzik
keys indexed by address + introduced CBitcoinaddress
2011-07-24Fix for small change outputsPieter Wuille
With the separation of CENT and MIN_TX_FEE, it is now reasonable to create change outputs between 0.01 and 0.0005, as these are spendable according to the policy, even though they require a fee to be paid. Also, when enough fee was already present, everything can go into a change output, without further increasing the fee.
2011-07-17Use CBitcoinAddress instead of string/uint160Pieter Wuille
Instead of conversion functions between pubkey/uint160/address in base58.h, have a fully fledged class CBitcoinAddress (CAddress was already taken) to represent addresses.
2011-07-17get rid of mapPubKeysPieter Wuille
Make CKeyStore's interface work on uint160's instead of pubkeys, so no separate global mapPubKeys is necessary anymore.
2011-07-15Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
2011-07-14Fix Build in GetReservedKey() in wallet.cppMatt Corallo
2011-07-14Generate Warning when using default key.Matt Corallo