aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
AgeCommit message (Collapse)Author
2012-10-04Send --help message to stdout i.s.o stderrWladimir J. van der Laan
This allows fun stuff such as `bitcoin --help | less`, and more easy piping to files. Looking at other tools such as bash, gcc, they all send their help text to stdout.
2012-10-01fix -Wformat warnings all over the sourcePhilip Kaufmann
2012-09-28Merge pull request #1862 from kjj2/testportsPieter Wuille
Fix: when testnet=1 specified, change default RPC port to 18332
2012-09-24Fix: when testnet=1 specified, change default ports to 18332 and 18333kjj2
2012-09-24Import $DataDir/bootstrap.dat automatically, if it exists.Jeff Garzik
As discussed on IRC. Intended to make using an external blockchain download solution just a bit easier.
2012-09-06Fix double-paren typoGavin Andresen
2012-09-05remove double logging of startup time, when !fLogTimestampsPhilip Kaufmann
2012-09-04init.cpp: fix build error, and possibly-uninit'd warningJeff Garzik
2012-09-04Merge pull request #1427 from rebroad/StartTimeFixJeff Garzik
No need to log start time if it's already being done on every line.
2012-09-04Merge pull request #1738 from laanwj/2012_08_boostthreadJeff Garzik
implement CreateThread with boost::thread
2012-09-01No need to log start time if it's already being done on every line.R E Broadley
2012-08-30add default value in -timeout descriptionPhilip Kaufmann
2012-08-29Rename CreateThread to NewThreadWladimir J. van der Laan
Prevent clash with win32 API symbol
2012-08-23Allow building with IPv6 support, but it disabled by defaultLuke Dashjr
2012-08-22Fix infinite loops in connection logicPieter Wuille
2012-08-17add splashscreen message when importing blocks via -loadblockPhilip Kaufmann
2012-08-03Bitcoin-Qt (Windows only): enable DEP for bitcoin-qt.exePhilip Kaufmann
- this enables DEP on all Windows version which support the SetProcessDEPPolicy() call in Kernel32.dll - use a dynamic approach via GetProcAddress() to not rely on headers or compiler libs - this is the same way the Tor-project does it
2012-08-01Merge pull request #1632 from luke-jr/spellingJeff Garzik
Fix spelling and grammar errors
2012-08-01Bugfix: Correct English grammar regarding "'s"Luke Dashjr
2012-08-01Bugfix: Fix a variety of misspellingsLuke Dashjr
2012-08-01Update Warning-strings to use a standard-formatPhilip Kaufmann
- 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>"
2012-08-01Merge pull request #1465 from Diapolo/NOUI_showSSLVersionJeff Garzik
write used OpenSSL library version to debug.log
2012-08-01Merge pull request #1396 from rebroad/NoShrinkOptionJeff Garzik
Make truncating the debug.log file an option.
2012-07-27update HelpMessage()Philip Kaufmann
- 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
2012-07-26When creating new blocks, sort 'paid' area by fee-per-kbGavin Andresen
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.
2012-07-17Give threads a recognisable name to aid in debuggingGiel van Schijndel
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 <me@mortis.eu>
2012-07-04write used OpenSSL library version to debug.logPhilip Kaufmann
2012-07-01Change default send buffer to 1Mb.Matt Corallo
2012-06-28Revert "*Always* send a shutdown signal to enable custom shutdown actions"Matt Corallo
This reverts commit 896899e0d66e25f6549a92749d237c8a87b12f08.
2012-06-27Make truncating the debug.log file an option.R E Broadley
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.
2012-06-27Merge pull request #973 from TheBlueMatt/diffsendbufferPieter Wuille
Stop processing messages on full send buffer and dont disconnect.
2012-06-27Merge pull request #457 from muggenhor/async-ipv6-rpcPieter Wuille
IPv6 RPC using asynchronously accepted connections
2012-06-27Stop processing messages on full send buffer and dont disconnect.Matt Corallo
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.
2012-06-24fix a comment to correctly use -upgradewalletPhilip Kaufmann
2012-06-24Document -debugnet option in command line help.Jeff Garzik
Fixes #1507
2012-06-24Merge branch 'master' into async-ipv6-rpcGiel van Schijndel
2012-06-23Merge pull request #1174 from sipa/torhsGregory Maxwell
Tor hidden service support
2012-06-23Add -tor and related configurationPieter Wuille
2012-06-22Merge pull request #1458 from jgarzik/tracenetJeff Garzik
Introduce -tracenet option, thereby quieting some redundant debug messages
2012-06-22Introduce -debugnet option, thereby quieting some redundant debug messagesJeff Garzik
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.
2012-06-17*Always* send a shutdown signal to enable custom shutdown actionsGiel van Schijndel
NOTE: This is required to be sure that we can properly shut down the RPC thread. Signed-off-by: Giel van Schijndel <me@mortis.eu>
2012-06-17Fix inverted logic for !Discover/!UPNP when !Listen.Gregory Maxwell
2012-06-12introduce a new StartShutdown() function, which starts a thread with ↵Philip Kaufmann
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)
2012-06-05add used datadir to debug.logPhilip Kaufmann
2012-05-31Rework network config settingsPieter Wuille
2012-05-26Merge pull request #1357 from sipa/keyidPieter Wuille
Refactor: split CKeyID/CScriptID/CTxDestination from CBitcoinAddress
2012-05-24Refactor: split CKeyID/CScriptID/CTxDestination from CBitcoinAddressPieter Wuille
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.
2012-05-24Encapsulate public keys in CPubKeyPieter Wuille
2012-05-23add client startup time as an entry to debug.log (note: logged time in ↵Philip Kaufmann
debug.log differs by a few seconds from the one displayed in the Debug window) / make ClientModel::formatClientStartupTime() return a QString
2012-05-22Merge branch 'dbenv' into tmpJeff Garzik
Conflicts: src/db.cpp