aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
Commit message (Collapse)AuthorAgeFilesLines
* remove references to bitcoin-wx from comment in init.cppPhilip Kaufmann2012-05-011-2/+2
|
* Make lsn_reset ("detach databases") optional and off by default.Pieter Wuille2012-04-261-0/+2
| | | | | | | | | | Add an option -detachdb (and entry in OptionDialog), without which no lsn_reset is called on addr.dat and blkindex.dat. That means these files cannot be moved to a new environment, but shutdown can be significantly faster. The wallet file is always lsn_reset'ed. -detachdb corresponds to the old behaviour, though it is off by default now to speed up shutdowns.
* Make GetDataDir return absolute pathsPieter Wuille2012-04-221-1/+2
|
* Added ability to respond to signals during Block Loading stage.R E Broadley2012-04-181-0/+9
|
* Further reduce header dependenciesPieter Wuille2012-04-171-1/+0
| | | | | | | This commit removes the dependency of serialize.h on PROTOCOL_VERSION, and makes this parameter required instead of implicit. This is much saner, as it makes the places where changing a version number can have an influence obvious.
* Move CWalletDB code to new walletdb module.Jeff Garzik2012-04-171-0/+1
| | | | | In addition to standard code separation, this change opens the door to fixing several include inter-dependencies.
* Remove headers.hPieter Wuille2012-04-171-145/+4
|
* Use filesystem::path instead of manual string tinkeringPieter Wuille2012-04-111-21/+15
| | | | | | | | | | | | | | Where possible, use boost::filesystem::path instead of std::string or char* for filenames. This avoids a lot of manual string tinkering, in favor of path::operator/. GetDataDir is also reworked significantly, it now only keeps two cached directory names (the network-specific data dir, and the root data dir), which are decided through a parameter instead of pre-initialized global variables. Finally, remove the "upgrade from 0.1.5" case where a debug.log in the current directory has to be removed.
* Merge pull request #1054 from sipa/buildinfoPieter Wuille2012-04-101-1/+1
|\ | | | | Build identification strings
| * Build identification stringsPieter Wuille2012-04-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All client version information is moved to version.cpp, which optionally (-DHAVE_BUILD_INFO) includes build.h. build.h is automatically generated on supporting platforms via contrib/genbuild.sh, using git describe. The git export-subst attribute is used to put the commit id statically in version.cpp inside generated archives, and this value is used if no build.h is present. The gitian descriptors are modified to use git archive instead of a copy, to create the src/ directory in the output. This way, src/src/version.cpp will contain the static commit id. To prevent gitian builds from getting the "-dirty" marker in their git-describe generated identifiers, no touching of files or running sed on the makefile is performed anymore. This does not seem to influence determinism.
* | Use scoped locks instead of CRITICAL_BLOCKPieter Wuille2012-04-091-3/+6
|/
* Flush on log size instead of transaction countPieter Wuille2012-04-051-0/+1
|
* Remove USE_SSL #defineGavin Andresen2012-04-041-2/+0
|
* qtui.h/noui.h interface cleanupWladimir J. van der Laan2012-04-041-9/+9
| | | | | | | - rename wxMessageBox, remove redundant arguments to noui/qtui calls - also, add flag to force blocking, modal dialog box for disk space warning etc - clarify function naming - no more special MessageBox needed from AppInit2, as window object is created before calling AppInit2
* move QT_PLUGINS stuff to qt main file, where it belongsWladimir J. van der Laan2012-04-041-11/+0
|
* VC2010 compile fixesWladimir J. van der Laan2012-04-031-0/+4
|
* Introduce explicit -walletupgrade optionPieter Wuille2012-03-221-0/+31
| | | | | | | | | | | | | | Do not automatically change the wallet format unless the user takes an explicit action that implies an upgrade (encrypting, for now), or uses -walletupgrade. -walletupgrade optionally takes an integer argument: the client version up to which upgrading is allowed. Without an argument, it is upgraded to latest supported version. If an argument to -walletupgrade is provided at the time the wallet is created, the new wallet will initially not use features beyond that version. Third, the current wallet version number is reported in getinfo.
* Merge branch 'checklevel' of https://github.com/sipa/bitcoinGavin Andresen2012-03-221-1/+3
|\
| * Add -checklevel and improve -checkblocksPieter Wuille2012-03-221-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -checkblocks now takes a numeric argument: the number of blocks that must be verified at the end of the chain. Default is 2500, and 0 means all blocks. -checklevel specifies how thorough the verification must be: 0: only check whether the block exists on disk 1: verify block validity (default) 2: verify transaction index validity 3: check transaction hashes 4: check whether spent txouts were spent within the main chain 5: check whether all prevouts are marked spent 6: check whether spent txouts were spent by a valid transaction that consumes them
* | Merge branch 'addrman' of https://github.com/sipa/bitcoinGavin Andresen2012-03-221-1/+1
|\ \
| * | CAddrMan: stochastic address managerPieter Wuille2012-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Design goals: * Only keep a limited number of addresses around, so that addr.dat does not grow without bound. * Keep the address tables in-memory, and occasionally write the table to addr.dat. * Make sure no (localized) attacker can fill the entire table with his nodes/addresses. See comments in addrman.h for more detailed information.
* | | Merge pull request #964 from sipa/fastblocksGavin Andresen2012-03-221-0/+1
|\ \ \ | | | | | | | | Speed up block downloading
| * | | Speed up block downloadingPieter Wuille2012-03-211-0/+1
| | |/ | |/|
* / | Remove -bip16 and -paytoscripthashtime command-line argumentsGavin Andresen2012-03-211-18/+5
|/ /
* | Print wallet load errors (to debug.log)Luke Dashjr2012-03-111-0/+2
| |
* | Move BIP16 switchover time to April 1Gavin Andresen2012-02-271-1/+1
| |
* | Reworked QT settingsGavin Andresen2012-02-261-17/+5
| |
* | bitcoind changes to stop storing settings in wallet.dat.Gavin Andresen2012-02-261-9/+0
| |
* | Add option "-splash" so we can disable the splash screen.Chris Moore2012-02-241-0/+1
|/ | | | Don't show splash screen when -min is specified on the command line.
* Leave IRC enabled by default on testnetPieter Wuille2012-02-221-0/+5
| | | | | As testnet has neither DNS seeds or built-in seed addresses to bootstrap from.
* Merge pull request #857 from laanwj/2012_02_fixhelpwindowWladimir J. van der Laan2012-02-201-0/+5
|\ | | | | On windows, show message box with help, as there is no stderr (fixes #702)
| * On windows, show message box with help, as there is no stderr (fixes #702)Wladimir J. van der Laan2012-02-171-0/+5
| |
* | Allow setting UI language from commandline (implements #678)Wladimir J. van der Laan2012-02-171-0/+3
| |
* | Change #ifdef GUI to #ifdef QT_GUI, GUI is not defined anymore...Wladimir J. van der Laan2012-02-171-4/+4
|/
* don't allow -daemon in bitcoin-qt (changes only #defines)Wladimir J. van der Laan2012-02-171-3/+3
|
* Enable accessible widgets Qt module on win32, so that people with screen ↵Wladimir J. van der Laan2012-02-101-0/+1
| | | | readers such as NVDA can make sense of it.
* Update all copyrights to 2012Gavin Andresen2012-02-071-1/+1
|
* Look for flushwallet/listen/irc/dnsseed/upnp instead of noflushwallet/etc. ↵Gavin Andresen2012-02-071-14/+14
| | | | And switch default for irc to 0.
* -bip16 option (default: 1) to support / not support BIP 16. And bumped ↵Gavin Andresen2012-02-061-7/+26
| | | | default BIP16 switchover date from Feb 15 to Mar 1
* Allow -upnp to override setting in wallet (and simplify logic a bit)Gavin Andresen2012-02-011-10/+5
|
* Merge pull request #593 (Full URL Support in bitcoin-qt)Wladimir J. van der Laan2012-01-261-1/+1
|\
| * Add support for opening bitcoin: URIs directly.Matt Corallo2012-01-051-1/+1
| |
* | Fix handling of default portsPieter Wuille2012-01-171-2/+2
| |
* | Add -keepnode which attempts to -addnode and keep a connection openMatt Corallo2012-01-121-1/+1
| |
* | Merge pull request #743 from gavinandresen/blocknotifyGavin Andresen2012-01-121-0/+1
|\ \ | | | | | | -blocknotify : run a command when best-block changes
| * | -blocknotify=command argument, implemented using system() and boost::threadGavin Andresen2012-01-031-0/+1
| |/
* / Network stack refactorPieter Wuille2012-01-061-1/+1
|/ | | | | | | | | | | | | | | This introduces CNetAddr and CService, respectively wrapping an (IPv6) IP address and an IP+port combination. This functionality used to be part of CAddress, which also contains network flags and connection attempt information. These extra fields are however not always necessary. These classes, along with logic for creating connections and doing name lookups, are moved to netbase.{h,cpp}, which does not depend on headers.h. Furthermore, CNetAddr is mostly IPv6-ready, though IPv6 functionality is not yet enabled for the application itself.
* I broke -testnet with my TOR option-parsing fixes.Gavin Andresen2012-01-031-1/+1
|
* Fix issue #659, and cleanup wallet/command-line argument handling a bitGavin Andresen2012-01-031-27/+43
|
* Revert "Use standard C99 (and Qt) types for 64-bit integers"Wladimir J. van der Laan2011-12-211-4/+1
| | | | This reverts commit 21d9f36781604e4ca9fc35dc65265593423b73e9.