aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #1632 from luke-jr/spellingJeff Garzik2012-08-011-3/+3
|\ | | | | Fix spelling and grammar errors
| * Bugfix: Correct English grammar regarding "'s"Luke Dashjr2012-08-011-1/+1
| |
| * Bugfix: Fix a variety of misspellingsLuke Dashjr2012-08-011-3/+3
| |
* | Update Warning-strings to use a standard-formatPhilip Kaufmann2012-08-011-1/+1
| | | | | | | | | | | | | | | | | | - ensure warnings always start with "Warning:" and that the first character after ":" is written uppercase - ensure the first sentence in warnings ends with an "!" - remove unneeded spaces from Warning-strings - add missing Warning-string translation - remove a "\n" and replace with untranslatable "<br><br>"
* | Merge pull request #1465 from Diapolo/NOUI_showSSLVersionJeff Garzik2012-08-011-0/+2
|\ \ | | | | | | write used OpenSSL library version to debug.log
| * | write used OpenSSL library version to debug.logPhilip Kaufmann2012-07-041-0/+2
| | |
* | | Merge pull request #1396 from rebroad/NoShrinkOptionJeff Garzik2012-08-011-1/+2
|\ \ \ | |_|/ |/| | Make truncating the debug.log file an option.
| * | Make truncating the debug.log file an option.R E Broadley2012-06-271-1/+2
| | | | | | | | | | | | | | | Useful for developers who need to refer to futher back in debug.log history, but who don't want to enable the -debug option and all the verbosity that comes with that.
* | | update HelpMessage()Philip Kaufmann2012-07-271-7/+6
| | | | | | | | | | | | | | | | | | | | | - place "-?" option at first - re-work description and "\n" usage for Gavins new block creation options to better match current description syntax - ensure no "\n" is in translated strings, which is better for Transifex
* | | When creating new blocks, sort 'paid' area by fee-per-kbGavin Andresen2012-07-261-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify CreateNewBlock so that instead of processing all transactions in priority order, process the first 27K of transactions in priority order and then process the rest in fee-per-kilobyte order. This is the first, minimal step towards better a better fee-handling system for both miners and end-users; this patch should be easy to backport to the old versions of Bitcoin, and accomplishes the most important goal-- allow users to "buy their way in" to blocks using transaction fees.
* | | Give threads a recognisable name to aid in debuggingGiel van Schijndel2012-07-171-0/+4
| |/ |/| | | | | | | | | | | | | NOTE: These thread names are visible in gdb when using 'info threads'. Additionally both 'top' and 'ps' show these names *unless* told to display the command-line instead of task name. Signed-off-by: Giel van Schijndel <[email protected]>
* | Change default send buffer to 1Mb.Matt Corallo2012-07-011-1/+1
| |
* | Revert "*Always* send a shutdown signal to enable custom shutdown actions"Matt Corallo2012-06-281-6/+5
|/ | | | This reverts commit 896899e0d66e25f6549a92749d237c8a87b12f08.
* Merge pull request #973 from TheBlueMatt/diffsendbufferPieter Wuille2012-06-271-2/+2
|\ | | | | Stop processing messages on full send buffer and dont disconnect.
| * Stop processing messages on full send buffer and dont disconnect.Matt Corallo2012-06-271-2/+2
| | | | | | | | | | | | Also decrease default send/receive buffer sizes from 10 to 5 mb as this patch makes it easy for a node to fill both instead of only send.
* | Merge pull request #457 from muggenhor/async-ipv6-rpcPieter Wuille2012-06-271-5/+6
|\ \ | |/ |/| IPv6 RPC using asynchronously accepted connections
| * Merge branch 'master' into async-ipv6-rpcGiel van Schijndel2012-06-241-4/+28
| |\
| * | *Always* send a shutdown signal to enable custom shutdown actionsGiel van Schijndel2012-06-171-5/+6
| | | | | | | | | | | | | | | | | | | | | NOTE: This is required to be sure that we can properly shut down the RPC thread. Signed-off-by: Giel van Schijndel <[email protected]>
* | | fix a comment to correctly use -upgradewalletPhilip Kaufmann2012-06-241-1/+1
| | |
* | | Document -debugnet option in command line help.Jeff Garzik2012-06-241-1/+2
| |/ |/| | | | | Fixes #1507
* | Merge pull request #1174 from sipa/torhsGregory Maxwell2012-06-231-3/+20
|\ \ | | | | | | Tor hidden service support
| * | Add -tor and related configurationPieter Wuille2012-06-231-3/+20
| | |
* | | Merge pull request #1458 from jgarzik/tracenetJeff Garzik2012-06-221-0/+7
|\ \ \ | |/ / |/| | Introduce -tracenet option, thereby quieting some redundant debug messages
| * | Introduce -debugnet option, thereby quieting some redundant debug messagesJeff Garzik2012-06-221-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this change, each TX typically generated 3+ debug messages, askfor tx 8644cc97480ba1537214 0 sending getdata: tx 8644cc97480ba1537214 askfor tx 8644cc97480ba1537214 1339640761000000 askfor tx 8644cc97480ba1537214 1339640881000000 CTxMemPool::accept() : accepted 8644cc9748 (poolsz 6857) After this change, there is only one message for each valid TX received CTxMemPool::accept() : accepted 22a73c5d8c (poolsz 42) and two messages for each orphan tx received ERROR: FetchInputs() : 673dc195aa mempool Tx prev not found 1e439346fc stored orphan tx 673dc195aa (mapsz 19) The -debugnet option, or its superset -debug, will restore the full debug output.
* | | Fix inverted logic for !Discover/!UPNP when !Listen.Gregory Maxwell2012-06-171-1/+1
| |/ |/|
* | introduce a new StartShutdown() function, which starts a thread with ↵Philip Kaufmann2012-06-121-0/+14
|/ | | | Shutdown() if no GUI is used and calls uiInterface.QueueShutdown() if a GUI is used / all direct uiInterface.QueueShutdown() calls are replaced with Shutdown() - this ensures a clean GUI shutdown, even when catching a SIGTERM and allows the BitcoinGUI destructor to get called (which fixes a tray-icon issue and keeps the tray-icon until Bitcoin-Qt exits)
* add used datadir to debug.logPhilip Kaufmann2012-06-051-0/+1
|
* Rework network config settingsPieter Wuille2012-05-311-54/+65
|
* Merge pull request #1357 from sipa/keyidPieter Wuille2012-05-261-2/+2
|\ | | | | Refactor: split CKeyID/CScriptID/CTxDestination from CBitcoinAddress
| * Refactor: split CKeyID/CScriptID/CTxDestination from CBitcoinAddressPieter Wuille2012-05-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces internal types: * CKeyID: reference (hash160) of a key * CScriptID: reference (hash160) of a script * CTxDestination: a boost::variant of the former two CBitcoinAddress is retrofitted to be a Base58 encoding of a CTxDestination. This allows all internal code to only use the internal types, and only have RPC and GUI depend on the base58 code. Furthermore, the header dependencies are a lot saner now. base58.h is at the top (right below rpc and gui) instead of at the bottom. For the rest: wallet -> script -> keystore -> key. Only keystore still requires a forward declaration of CScript. Solving that would require splitting script into two layers.
| * Encapsulate public keys in CPubKeyPieter Wuille2012-05-241-1/+1
| |
* | add client startup time as an entry to debug.log (note: logged time in ↵Philip Kaufmann2012-05-231-0/+1
|/ | | | debug.log differs by a few seconds from the one displayed in the Debug window) / make ClientModel::formatClientStartupTime() return a QString
* Merge branch 'dbenv' into tmpJeff Garzik2012-05-221-3/+3
|\ | | | | | | | | Conflicts: src/db.cpp
| * Encapsulate BDB environment inside new CDBEnv classJeff Garzik2012-05-191-3/+3
| | | | | | | | | | | | | | | | Cleans up and organizes several scattered functions and variables related to the BDB env. Class CDBInit() existed to provide a guaranteed-via-C++-destructor cleanup of the db environment. A formal CDBEnv class provides all of this inside a single wrapper.
* | Merge pull request #1369 from sipa/bootorderPieter Wuille2012-05-221-194/+204
|\ \ | | | | | | Reorder AppInit2
| * | Reorder AppInit2Pieter Wuille2012-05-211-194/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reorders AppInit2 into 10 sections: 1) basic setup (OS stuff, signal handlers) 2) parameter interactions (softset) 3) interpreting options without side effects (just setting internal variables) 4) application initialization (datadir lock, daemonize, pidfile, log file) 5) network initialization (network params, proxy, binding) 6) load blockchain 7) load wallet 8) import blocks (-loadblock=) 9) load peers 10) start node/rpc threads 11) finished This means invalid configurations will be detected as soon as possible (in particular, before loading the block chain).
* | | Merge pull request #917 from mndrix/reopen-log-filePieter Wuille2012-05-211-1/+11
|\ \ \ | |/ / |/| | Reopen log file on SIGHUP
| * | Reopen debug.log on SIGHUPMichael Hendricks2012-05-181-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The best log rotation method formerly available was to configure logrotate with the copytruncate option. As described in the logrotate documentation, "there is a very small time slice between copying the file and truncating it, so some logging data might be lost". By sending SIGHUP to the server process, one can now reopen the debug log file without losing any data.
* | | Merge pull request #1354 from fanquake/masterPieter Wuille2012-05-201-1/+1
|\ \ \ | | | | | | | | Update Header Licenses
| * | | Update License in File HeadersFordy2012-05-181-1/+1
| |/ / | | | | | | | | | | | | | | | 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.
* | | Merge pull request #1363 from Diapolo/remove_strncasecmpPieter Wuille2012-05-201-1/+2
|\ \ \ | | | | | | | | remove strncasecmp() + strnicmp() calls use boost::algorithm::istarts_with()
| * | | remove strncasecmp() + strnicmp() calls and replace that code via ↵Philip Kaufmann2012-05-201-1/+2
| | |/ | |/| | | | | | | boost::algorithm::istarts_with() / do not call ipcInit() on Mac and Windows as this is unneeded currently
* | | Make testcases build, prevent windows symbol collisionWladimir J. van der Laan2012-05-201-37/+18
| | |
* | | Convert UI interface to boost::signals2.Wladimir J. van der Laan2012-05-201-7/+32
| | | | | | | | | | | | | | | | | | | | | | | | - Signals now go directly from the core to WalletModel/ClientModel. - WalletModel subscribes to signals on CWallet: Prepares for multi-wallet support, by no longer assuming an implicit global wallet. - Gets rid of noui.cpp, the few lines that were left are merged into init.cpp - Rename wxXXX message flags to MF_XXX, to make them UI indifferent. - ThreadSafeMessageBox no longer returns the value `4` which was never used, converted to void.
* | | Merge pull request #1323 from Diapolo/string_fixesWladimir J. van der Laan2012-05-201-1/+1
|\ \ \ | |/ / |/| | translation updates / string updates
| * | allow translation of "options" used in the --help message / split ↵Philip Kaufmann2012-05-171-1/+1
| | | | | | | | | | | | translation of RPC console welcome message and remove the need to take care of "<br>" / remove some spaces in strings and misc other stuff related to translations
* | | change strings to Bitcoin (uppercase), where it is used as a noun and update ↵Philip Kaufmann2012-05-181-4/+3
| |/ |/| | | | | strings to use "Qt" (and not qt or QT) / update initialisation of notificator to use qApp->applicationName() instead of a static string
* | Revert "use _strnicmp (ISO C++) instead of deprecated strnicmp (POSIX) and ↵Jeff Garzik2012-05-171-1/+1
| | | | | | | | | | | | | | | | add missing "#define strncasecmp _strnicmp" in init.cpp" This reverts commit f4ac41806af5766199a7d526a7becbcb8a0f5ab3. Reason: breaks build.
* | use _strnicmp (ISO C++) instead of deprecated strnicmp (POSIX) and add ↵Philip Kaufmann2012-05-171-1/+1
| | | | | | | | missing "#define strncasecmp _strnicmp" in init.cpp
* | Merge pull request #1334 from rebroad/Exiting2ExitedJeff Garzik2012-05-171-1/+1
|\ \ | | | | | | Corrected grammar. As per Principle Of Least Surprise.