aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | log used config file to debug.log on startupPhilip Kaufmann2014-06-041-0/+1
| | | |
* | | | Merge pull request #4247 from Diapolo/listenJeff Garzik2014-06-041-2/+2
|\ \ \ \ | | | | | | | | | | rename fNoListen to fListen and move to net
| * | | | rename fNoListen to fListen and move to netPhilip Kaufmann2014-05-291-2/+2
| | |/ / | |/| | | | | | | | | | | | | | - better code readability and it belongs to net - this is a prerequisite for a pull to add -listen to the GUI
* | | | Merge pull request #4258Wladimir J. van der Laan2014-06-041-0/+1
|\ \ \ \ | |_|/ / |/| | | | | | | 7b45d94 Make max number of orphan blocks kept in memory a startup parameter (fixes #4253) (shshshsh)
| * | | Make max number of orphan blocks kept in memory a startup parameter (fixes ↵shshshsh2014-06-041-0/+1
| |/ / | | | | | | | | | #4253)
* / / VerifyDB progressCozz Lovan2014-06-031-1/+1
|/ /
* | Remove redundant c_strR E Broadley2014-05-221-1/+1
| |
* | Add -rpcbind option to allow binding RPC port on a specific interfaceWladimir J. van der Laan2014-05-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Add -rpcbind command option to specify binding RPC service on one or multiple specific interfaces. Functionality if -rpcbind is not specified remains the same as before: - If no -rpcallowip specified, bind on localhost - If no -rpcbind specified, bind on any interface Implements part of #3111.
* | Merge pull request #4138Wladimir J. van der Laan2014-05-121-4/+4
|\ \ | | | | | | | | | 783b182 Remove dummy PRIszX macros for formatting (Wladimir J. van der Laan)
| * | Remove dummy PRIszX macros for formattingWladimir J. van der Laan2014-05-061-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Size specifiers are no longer needed now that we use typesafe tinyformat for string formatting, instead of the system's sprintf. No functional changes. This continues the work in #3735.
* | | Switch stdout to line bufferingshshshsh2014-05-111-0/+2
|/ / | | | | | | | | Use line buffering (instead of block buffering) so that messages arrive immediately in systemd-journald, tail -f debug.log, and the like.
* | Merge pull request #4114Wladimir J. van der Laan2014-05-021-0/+3
|\ \ | | | | | | | | | | | | bfb154e Update build instructions for Berkeley DB (Wladimir J. van der Laan) d0a2e2e Log BerkeleyDB version at startup (Wladimir J. van der Laan)
| * | Log BerkeleyDB version at startupWladimir J. van der Laan2014-05-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prints the actual version of BerkeleyDB that is linked against, if wallet support is enabled. Useful for troubleshooting. For example: 2014-05-01 07:44:02 Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010) 2014-05-01 07:54:25 Using BerkeleyDB version Berkeley DB 5.1.29: (October 25, 20 11)
* | | Remove build-time no-IPv6 settingWladimir J. van der Laan2014-05-011-10/+0
|/ / | | | | | | | | | | | | | | | | | | | | The year is 2014. All supported operating systems have IPv6 support, most certainly at build time (this doesn't mean that IPv6 is configured, of course). If noone is exercising the functionality to disable it, that means it doesn't get tested, and IMO it's better to get rid of it. (it's also not used consistently in RPC/boost and Net code...)
* | Add nHighTransactionFeeWarning as per #3969.Bardi Harborow2014-03-291-1/+1
| |
* | add constant for shared (GUI/core) -par settingsPhilip Kaufmann2014-03-271-2/+2
| | | | | | | | | | | | | | | | | | - introduce DEFAULT_SCRIPTCHECK_THREADS in main.h - only show values from -"MAX_HW_THREADS" up to 16 for -par, as it makes no sense to try to leave more "cores free" than the system supports anyway - use the new constant in optionsdialog and remove defaults from .ui file
* | improve command-line options outputCozz Lovan2014-03-251-58/+86
| |
* | Merge pull request #3806Wladimir J. van der Laan2014-03-211-1/+1
|\ \ | | | | | | | | | | | | 9e2872c Adjust branding in datadir lock error message (Michagogo) d30d379 Slightly tweak error when unable to bind port (Michagogo)
| * | Adjust branding in datadir lock error messageMichagogo2014-03-121-1/+1
| |/
* / Log which wallet is used during initWladimir J. van der Laan2014-03-051-0/+1
|/ | | | | Now that the wallet can be selected using -wallet it is important to log which wallet is being used for later troubleshooting.
* Get rid of C99 PRI?64 usage in source filesWladimir J. van der Laan2014-02-241-5/+5
| | | | | | | | | | | | | | | | | | | | | | | Amend to d5f1e72. It turns out that BerkelyDB was including inttypes.h indirectly, so we cannot fix this with just macros. Trivial commit: apply the following script to all .cpp and .h files: # Middle sed -i 's/"PRIx64"/x/g' "$1" sed -i 's/"PRIu64"/u/g' "$1" sed -i 's/"PRId64"/d/g' "$1" # Initial sed -i 's/PRIx64"/"x/g' "$1" sed -i 's/PRIu64"/"u/g' "$1" sed -i 's/PRId64"/"d/g' "$1" # Trailing sed -i 's/"PRIx64/x"/g' "$1" sed -i 's/"PRIu64/u"/g' "$1" sed -i 's/"PRId64/d"/g' "$1" After this commit, `git grep` for PRI.64 should turn up nothing except the defines in util.h.
* Don't use PRIx64 formatting derives from inttypes.hWladimir J. van der Laan2014-02-221-1/+0
| | | | | | | | | | | | As the tinyformat-based formatting system (introduced in b77dfdc) is type-safe, no special format characters are needed to specify sizes. Tinyformat can support (ignore) the C99 prefixes such as "ll" but chokes on MSVC's inttypes.h defines prefixes such as "I64X". So don't include inttypes.h and define our own for compatibility. (an alternative would be to sweep the entire codebase using sed -i to get rid of the size specifiers but this has less diff impact)
* add constants for shared (GUI/core) -dbcache settingsPhilip Kaufmann2014-02-171-4/+6
| | | | - adds nDefaultDbCache, nMaxDbCache and nMinDbCache in txdb.h
* Increase default dbcache to 100 MiBPieter Wuille2014-02-171-2/+2
|
* Merge pull request #3643Wladimir J. van der Laan2014-02-171-1/+5
|\ | | | | | | d54e819 Log warnings when bootstrap files are specified but cannot be opened (Wladimir J. van der Laan)
| * Log warnings when bootstrap files are specified but cannot be openedWladimir J. van der Laan2014-02-091-1/+5
| | | | | | | | | | | | | | - Log a warning when bootstrap files are specified using `-loadblock` but cannot be opened. - Log a warning when bootstrap.dat exists in the home directory but cannot be opened.
* | Merge pull request #3646Wladimir J. van der Laan2014-02-161-1/+1
|\ \ | | | | | | | | | 5770254 Copyright header updates s/2013/2014 on files whose last git commit was done in 2014. contrib/devtools/fix-copyright-headers.py script to be able to perform this maintenance task with ease during the rest of the year, every year. Modifications to contrib/devtools/README.md to document what fix-copyright-headers.py does. (gubatron)
| * | Copyright header updates s/2013/2014 on files whose last git commit was done ↵gubatron2014-02-091-1/+1
| |/ | | | | | | | | | | in 2014. contrib/devtools/fix-copyright-headers.py script to be able to perform this maintenance task with ease during the rest of the year, every year. Modifications to contrib/devtools/README.md to document what fix-copyright-headers.py does.
* | Add -zapwallettxes cli/config option, used for wallet recoveryJeff Garzik2014-02-141-0/+21
| | | | | | | | | | This diagnostic tool removes all "tx" records from the wallet db, then forces a full rescan, to rebuild "tx" records accurately.
* | Add option to avoid spending unconfirmed changeWladimir J. van der Laan2014-02-111-0/+2
|/
* Merge pull request #3588Wladimir J. van der Laan2014-01-301-9/+17
|\ | | | | | | df966d1 log parameter interactions to debug.log (Philip Kaufmann)
| * log parameter interactions to debug.logPhilip Kaufmann2014-01-271-9/+17
| |
* | Prepare block connection logic for headers-first.Pieter Wuille2014-01-271-1/+1
|/ | | | | | | | | | | | | | | | | This changes the block processing logic from "try to atomically switch to a new block" to a continuous "(dis)connect a block, aiming for the assumed best chain". This means the smallest atomic operations on the chainstate become individual block connections or disconnections, instead of entire reorganizations. It may mean that we try to reorganize to one block, fail, and rereorganize again to the old block. This is slower, but doesn't require unbounded RAM. It also means that a ConnectBlock which fails may be no longer called from the ProcessBlock which knows which node sent it. To deal with that, a mapBlockSource is kept, and invalid blocks cause asynchronous "reject" messages and banning (if necessary).
* Remove redundant .c_str()sWladimir J. van der Laan2014-01-231-22/+22
| | | | | | | After the tinyformat switch sprintf() family functions support passing actual std::string objects. Remove unnecessary c_str calls (236 of them) in logging and formatting.
* Merge pull request #3449Wladimir J. van der Laan2014-01-081-13/+3
|\ | | | | | | 8b9adca Allow `-noserver` with bitcoind (Wladimir J. van der Laan)
| * Allow `-noserver` with bitcoindWladimir J. van der Laan2013-12-201-13/+3
| | | | | | | | | | | | | | | | Allow running bitcoind without server. - Default to -server mode (of course) for bitcoind with SoftSetBoolArg - Remove fForceServer argument from AppInit2 - Move fDaemon to a static variable in bitcoind
* | Merge pull request #3427Wladimir J. van der Laan2013-12-231-2/+2
|\ \ | |/ |/| | | 1ad2636 qt: Prevent non-functional GUI from popping up during Init (Wladimir J. van der Laan)
| * qt: Prevent non-functional GUI from popping up during InitWladimir J. van der Laan2013-12-161-2/+2
| | | | | | | | | | | | | | | | When a InitError or InitWarning happens, the GUI pops up but is unusable (until Init finishes). This is caused by showNormalIfMinimized. Add a message flag to skip this call for Init errors or warnings.
* | init: add better formating for some command-line optionsPhilip Kaufmann2013-12-201-4/+4
| |
* | Merge pull request #3416Wladimir J. van der Laan2013-12-201-5/+0
|\ \ | | | | | | | | | 9e9056c Remove -logtodebugger (Wladimir J. van der Laan)
| * | Remove -logtodebuggerWladimir J. van der Laan2013-12-151-5/+0
| |/ | | | | | | | | | | | | | | | | `-logtodebugger` is a strange, obscure, WIN32-only (mostly MSVC) thing. Let's clean up the options a bit get rid of it. test_bitcoin was using fLogToDebugger as a way to prevent logging to debug.log. For this, add a boolean (not exposed as option) fLogToDebugLog that defaults to true and is disabled in the tests.
* | Make bitcoin compile without wallet if "db_cxx.h" is not presentThomas Holenstein2013-12-191-1/+1
| | | | | | | | | | Moved includes of "db.h" into #ifdef ENABLE_WALLET blocks or remove them.
* | Merge pull request #3412Wladimir J. van der Laan2013-12-191-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | c3a7f51 Move `verifymessage` from rpcwallet to rpcmisc (Wladimir J. van der Laan) 723a03d Move `createmultisig` from rpcwallet to rpcmisc (Wladimir J. van der Laan) 452955f Move `validateaddress` from rpcwallet to rpcmisc (Wladimir J. van der Laan) cd7fa8b Move `nTransactionFee` from main.cpp to wallet.cpp (Wladimir J. van der Laan) a943bde Move `settxfee` from rpcblockchain to rpcwallet (Wladimir J. van der Laan) 16bc9aa Move `getinfo` from rpcnet to rpcmisc (Wladimir J. van der Laan) 652e156 add new RPC implementation file `rpcmisc.cpp` (Wladimir J. van der Laan)
| * | Move `nTransactionFee` from main.cpp to wallet.cppWladimir J. van der Laan2013-12-131-1/+1
| |/ | | | | | | | | Transaction fee is only used by the wallet. No need for it to be in main.cpp.
* | Merge pull request #3424Wladimir J. van der Laan2013-12-181-9/+10
|\ \ | | | | | | | | | 06eb2f2 Seperate out wallet options in help message (Wladimir J. van der Laan)
| * | Seperate out wallet options in help messageWladimir J. van der Laan2013-12-161-9/+10
| |/ | | | | | | | | | | | | Seperate out the wallet options in HelpMessage, and don't show them if compiled with --disable-wallet. Also add documentation for `-disablewallet` option.
* / some more small re-branding changes (Bitcoin Core)Philip Kaufmann2013-12-161-2/+2
|/
* update help for -blockmaxsize and blockprioritysizePhilip Kaufmann2013-12-131-3/+4
| | | | - was left out in #3326
* Merge pull request #3350Wladimir J. van der Laan2013-12-101-8/+8
|\ | | | | | | | | fdbdb7f cleanup includes in rpcnet.cpp (Philip Kaufmann) b6aafca some string and indentation updates in init/rpcclient (Philip Kaufmann)
| * some string and indentation updates in init/rpcclientPhilip Kaufmann2013-12-091-8/+8
| |