aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-06-23Moved CBlock::WriteToDisk out of CBlock to inline function WriteBlockToDisk ↵Eric Lombrozo
in main.h
2013-06-23Merge pull request #2783 from sipa/newtxindexPieter Wuille
Initialize database before checking changed txindex
2013-06-23Merge pull request #2592 from sipa/dumpwalletPieter Wuille
Add dumpwallet and importwallet RPC commands
2013-06-23Merge pull request #2787 from Diapolo/makefilesJeff Garzik
fix makefiles and init.cpp after chainparams merge
2013-06-23fix makefiles and init.cpp after chainparams mergePhilip Kaufmann
- add missing chainparams.o to some makefiles - remove a double-include of chainparams.h in init.cpp
2013-06-23Merge pull request #2786 from jgarzik/double-incJeff Garzik
init.cpp: fix chainparams.h double include.
2013-06-23init.cpp: fix chainparams.h double include.Jeff Garzik
Noticed by Diapolo.
2013-06-22Merge pull request #2778 from jgarzik/rpc-verifydbJeff Garzik
RPC: add 'verifychain' to verify chain database at runtime
2013-06-23Log reason for non-standard transaction rejectionJeff Garzik
2013-06-22Merge pull request #2660 from TheBlueMatt/gmfrefactorPieter Wuille
Refactor fee rules to make them actually readable.
2013-06-22Merge pull request #2765 from vobornik/masterPieter Wuille
recognize Debian kFreeBSD port by build_detect_platform script
2013-06-22Merge pull request #2768 from fanquake/brew-makefile-patch-fixPieter Wuille
Update HomeBrew makefile patch
2013-06-22Add dumpwallet and importwallet RPCsPieter Wuille
dumpwallet: produce a dump of all keys in a wallet, in a format compatible with Bitcoin Wallet for Android and Multibit. importwallet: import such a dump
2013-06-22Add GetKeyBirthTimes to walletPieter Wuille
Compute safe lower bounds on the birth times of all wallet keys. For pool keys or keys with metadata, the actually stored birth time is used. For all others, the birth times are inferred from the wallet transactions.
2013-06-22Add ExtractAffectedKeys to scriptPieter Wuille
This function finds all keys affected by a particular output script, supporting everything ExtractDestinations supports (pay-to-pubkey, pay-to-pubkeyhash, multisig) and recurses into subscripts (P2SH).
2013-06-22Initialize database before checking changed txindexPieter Wuille
In case no database exists yet, and -txindex(=1) is passed, we currently first check whether fTxIndex differs from -txindex (and ask the user to reindex in that case), and only afterwards initialize the database. By swapping these around (the initialization is a no-op in case the database already exists), we allow it to be born in txindex mode, without warning. That also means we don't need to check -reindex anymore, as the wiping/reinit of the databases happens before checking.
2013-06-22Merge pull request #2632 from mikehearn/chainparamsPieter Wuille
Refactor chain-specific tweaks into a CChainParams class and introduce a regtest mode
2013-06-22Merge pull request #2781 from sipa/keytimememPieter Wuille
Refactor keytime/metadata and wallet encryption bugfix
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-19RPC: add 'verifychain', to verify chain database at runtimeJeff Garzik
2013-06-19Pass check level, check depth to VerifyDB()Jeff Garzik
2013-06-19Introduce a CChainParameters singleton class and regtest mode.Mike Hearn
The new class is accessed via the Params() method and holds most things that vary between main, test and regtest networks. The regtest mode has two purposes, one is to run the bitcoind/bitcoinj comparison tool which compares two separate implementations of the Bitcoin protocol looking for divergence. The other is that when run, you get a local node which can mine a single block instantly, which is highly convenient for testing apps during development as there's no need to wait 10 minutes for a block on the testnet.
2013-06-19Move implementation of some CBlockLocator methodsMike Hearn
Move out of main.h to improve compile times and add documentation for what the methods do.
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-16Markdown Cleanup - Part 2super3
Now everything is in markdown...
2013-06-16qt: allow user to choose data directoryWladimir J. van der Laan
This adds an introduction screen that is shown when the client is first started in which the user can choose a data directory. It is also possible to force the intro screen to appear using command line argument `-choosedatadir`. The user is warned that the client will download and store 10Gb of data. The intro screen shows how much space is available on the device that contains the chosen directory and warns if this is less than the 10Gb. To make it possible to translate the introduction dialog, the initialization sequence is changed so that translations are loaded before the data directory. This has the by-effect that it is no longer possible to specify a language in bitcoin.conf inside the data directory.
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-15Merge pull request #2769 from TheBlueMatt/masterPieter Wuille
Remove broken option to skip input checking for wallet txn.
2013-06-14Refactor fee rules to make them actually readable.Matt Corallo
This (nearly) doesn't change fee rules at all: * To make it into the fee transaction area, the dPriority comparison changed from < to <= * We now just ignore transactions > MAX_BLOCK_SIZE/4 instead of doing some calculations to require increasingly large fees as size increases.
2013-06-14Update HomeBrew osx makefile patch to account for recent changes to makefileMichael Ford
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-12Added GNU/kFreeBSD kernel name (TARGET_OS)Vaclav Vobornik
uname -s returns "GNU/kFreeBSD" on Debian GNU/kFreeBSD port. See http://www.debian.org/ports/kfreebsd-gnu/
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 #2728 from runeksvendsen/masterJeff Garzik
Add Linux script to contrib/ that limits outgoing bandwidth to Bitcoin nodes
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-09Merge pull request #2754 from laanwj/2013_06_create_data_dirWladimir J. van der Laan
Create parent directories if needed in GetDataDir
2013-06-08Create parent directories if needed in GetDataDirWladimir J. van der Laan
One-line change. Fixes #2752.