aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-06-20Refactor keytime/metadata and wallet encryption bugfixPieter Wuille
Refactor keytime: * Key metadata is kept in a CWallet::mapKeyMetadata (std::map<CKeyId,CKeyMetadata>). * When generating a new key, time is put in that map, and new key is written. * AddKeyPubKey and AddCryptedKey do not take a creation time argument, but instead pull it from that map, if it exists there. Bugfix: * AddKeyPubKey and AddCryptedKey in CWallet didn't override the CKeyStore definition anymore. This is fixed, as they no longed need the nCreationTime argument now. Also a few related other changes: * Metadata can be overwritten. * Only GenerateNewKey calls GetTime(), as it's the only place where we know for sure a key was not constructed earlier. * When the nTimeFirstKey is known to be inaccurate, it is set to the value 1 (instead of 0, which would mean unknown). * Use CPubKey instead of std::vector<unsigned char> where possible.
2013-06-18Merge pull request #2760 from cozz/cozz2Jeff Garzik
fix comment about dust logic
2013-06-17Merge pull request #2763 from bitsofproof/masterPieter Wuille
Send tx relay flag with version message
2013-06-15Merge pull request #2648 from Diapolo/txindexPieter Wuille
allow txindex to be removed and add a reindex dialog
2013-06-15Merge pull request #2766 from theuni/fix-shutdown-deadlockPieter Wuille
Fix shutdown deadlock, ticket #2690
2013-06-14fixed: don't use thread::sleep_for where it's known to be brokentheuni
Fixes #2690.
2013-06-13fixed: include boost header as necessarytheuni
Without this include, sometimes BOOST_VERSION was defined and sometimes it was not, depending on which includes came before it. The result was a random mix of sleep or sleep_for for boost versions >= 1.50.
2013-06-13Remove broken option to skip input checking for wallet txn.Matt Corallo
2013-06-11send tx relay flag with versionbitsofproof
2013-06-11fix comment about dust logicCozz Lovan
2013-06-10Merge pull request #2553 from Diapolo/threadsJeff Garzik
changes to thread code (directly use boost::thread)
2013-06-10Merge pull request #1863 from jgarzik/keytimePieter Wuille
"Wallet birthdays": store key create time; calc whole-wallet birthday
2013-06-10changes to thread code (directly use boost::thread)Philip Kaufmann
- removes our NewThread() function an replaces remaining calls with boost::thread with our TraceThread template - remove ExitThread() function - fix THREAD_PRIORITY_ABOVE_NORMAL for non Windows OSes
2013-06-10allow txindex to be removed and add a reindex dialogPhilip Kaufmann
- adds a reindex dialog for Bitcoin-Qt to change -txindex without the need to supply -reindex - now also does a -reindex, when removing the -txindex switch
2013-06-10Merge pull request #2747 from luke-jr/getblock_verbose0Jeff Garzik
Add verbose flag to getblock RPC so it is possible to get hex dumps of blocks
2013-06-10Wallet: optimize rescan to skip blocks prior to birthdayJeff Garzik
2013-06-10Wallet: store key creation time. Calculate whole-wallet birthday.Jeff Garzik
This also encapsulate wallet-read state information into CWalletScanState.
2013-06-10Merge pull request #2154 from CodeShark/dependencycleanupJeff Garzik
Clean up code dependencies
2013-06-09Merge pull request #2749 from laanwj/2013_06_addtotalbalanceWladimir J. van der Laan
qt: Add total balance in overview page
2013-06-08Create parent directories if needed in GetDataDirWladimir J. van der Laan
One-line change. Fixes #2752.
2013-06-07RPC: getblock(): Accept 2nd "verbose" parameter, similar to ↵Luke Dashjr
getrawtransaction, but defaulting to 1 for backward compatibility
2013-06-07qt: Add total balance in overview pageWladimir J. van der Laan
2013-06-06Removed the main.h include from net.cpp.Eric Lombrozo
2013-06-05Using boost::signals2 to message main from net.cpp.Eric Lombrozo
2013-06-05Moved UpdateTime out of CBlockHeader and moved CBlockHeader into core.Eric Lombrozo
2013-06-05Removed script.cpp's dependence on main.hEric Lombrozo
2013-06-05Moved CCoins, CTxOutCompressor, CTxInUndo, and CTxUndo to core.Eric Lombrozo
2013-06-05Removed AcceptToMemoryPool method from CTransaction. This method belongs to ↵Eric Lombrozo
the mempool instance. Removed AreInputsStandard from CTransaction, made it a regular function in main. Moved CTransaction::GetOutputFor to CCoinsViewCache. Moved GetLegacySigOpCount and GetP2SHSigOpCount out of CTransaction into regular functions in main. Moved GetValueIn and HaveInputs from CTransaction into CCoinsViewCache. Moved AllowFree, ClientCheckInputs, CheckInputs, UpdateCoins, and CheckTransaction out of CTransaction and into main. Moved IsStandard and IsFinal out of CTransaction and put them in main as IsStandardTx and IsFinalTx. Moved GetValueOut out of CTransaction into main. Moved CTxIn, CTxOut, and CTransaction into core. Added minimum fee parameter to CTxOut::IsDust() temporarily until CTransaction is moved to core.h so that CTxOut needn't know about CTransaction.
2013-06-05Moved CInPoint to core. Removed GetMinFee from CTransaction and made it a ↵Eric Lombrozo
regular function in main.
2013-06-05Created core.h/core.cpp, added to makefiles. Started moving core structures ↵Eric Lombrozo
from main to core beginning with COutPoint.
2013-06-05Removed net.cpp's dependency on init.h.Eric Lombrozo
Added explicit include of main.h in init.cpp, changed include of init.h to include of main.h in net.cpp. Added function registration for net.cpp in init.cpp's network initialization. Removed protocol.cpp's dependency on main.h. TODO: Remove main.h include in net.cpp.
2013-06-05Moved unrelated-to-network calls in StartNode and StopNode into init.cppEric Lombrozo
2013-06-05Moved PushGetBlocks to main.cpp to eliminate dependence of net.cpp on ↵Eric Lombrozo
CBlockLocator.
2013-06-05Get rid of db dependencies on mainEric Lombrozo
2013-06-05Merge pull request #2700 from theuni/gui-splitJeff Garzik
autotools: Gui split
2013-06-05Merge pull request #2731 from Diapolo/rpcconsoleWladimir J. van der Laan
Bitcoin-Qt: harmonize 2 setClientModel() functions
2013-06-04osx: fix bitcoin-qt startup crash when clicking dock iconCory Fields
Crash probably introduced by 4d17a1b0. Inialize the window to NULL and verify it before use.
2013-06-04build: cosmetics after last commitCory Fields
2013-06-04build: use runtime setting for wallet rather than QT_GUI defineCory Fields
2013-06-04build: use runtime setting for displaying the help message rather than ↵Cory Fields
QT_GUI define
2013-06-04build: cosmetic: split usage string for easier formattingCory Fields
2013-06-04build: add global var for whether or not the gui is enabledCory Fields
2013-06-04build: split the non-gui startup routines into a new fileCory Fields
This will allow each to have its own main(), meaning that we can build a common base client and simply link in the correct startup object to create the appropriate binary.
2013-06-04build: prepare to move DetectShutdownThreadCory Fields
2013-06-03Merge pull request #2613 from jonasschnelli/prefsFixWladimir J. van der Laan
MaxOSX: settings fixes (#2371)
2013-06-03Merge pull request #2727 from TheBlueMatt/masterWladimir J. van der Laan
One more data-driven test-case
2013-06-03Merge branch 'master' of git://github.com/bitcoin/bitcoin into prefsFixJonas Schnelli
Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch> Conflicts: bitcoin-qt.pro
2013-06-03Bitcoin-Qt: harmonize 2 setClientModel() functionsPhilip Kaufmann
- harmonize BitcoinGUI::setClientModel() and RPCConsole::setClientModel() - now RPCConsole::setClientModel() also includes a direct call to setNumBlocks()
2013-06-03MaxOSX: settings fixes (#2371)Jonas Schnelli
- Launch-At-Startup implementation for mac - Remove "Window" tab in settings Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>
2013-06-02Add new data-driven test-case.Matt Corallo