aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-07-17prevent SOCKET leak in BindListenPort()Philip Kaufmann
- the call to CloseSocket() is placed after the WSAGetLastError(), because a CloseSocket() can trigger an error also, which we don't want for the logging in this two cases
2014-07-17Merge pull request #4504Wladimir J. van der Laan
43f510d Convert closesocket 'compat wrapper' to function in netbase (Wladimir J. van der Laan)
2014-07-17Merge pull request #4508Pieter Wuille
b069750 Break up CAddrMan's IMPLEMENT_SERIALIZE (Pieter Wuille)
2014-07-17Convert closesocket 'compat wrapper' to function in netbaseWladimir J. van der Laan
Simpler alternative to #4348. The current setup with closesocket() is strange. It poses as a compatibility wrapper but adds functionality. Rename it and make it a documented utility function in netbase. Code movement only, zero effect on the functionality.
2014-07-17Merge pull request #4549Wladimir J. van der Laan
7de3f1c fix help message for RPC getpeerinfo (Philip Kaufmann)
2014-07-17fix help message for RPC getpeerinfoPhilip Kaufmann
2014-07-17Merge pull request #4533Wladimir J. van der Laan
43005cf Fix semantic typo in state.CorruptionPossible check (kazcw)
2014-07-17Merge pull request #4534Wladimir J. van der Laan
33357b2 qt: Start core thread only when needed (Wladimir J. van der Laan) c715ff5 ui: Replace some LogPrintfs with qDebug() (Wladimir J. van der Laan) 96ff9d6 Can't log to debug log before chain params initialized (Wladimir J. van der Laan)
2014-07-17Merge pull request #4546Wladimir J. van der Laan
09c744c Make sure CAutoFile for fees estimate goes out of scope (Pieter Wuille)
2014-07-16Make sure CAutoFile for fees estimate goes out of scopePieter Wuille
2014-07-16Break up CAddrMan's IMPLEMENT_SERIALIZEPieter Wuille
2014-07-15Merge pull request #4535Wladimir J. van der Laan
c4a321f Add peerid to getpeerinfo to allow correlation with the logs. (Gregory Maxwell)
2014-07-15Merge pull request #4522 from dgenr8/set_discover_0Gavin Andresen
Set -discover=0 in regtest framework
2014-07-15qt: Start core thread only when neededWladimir J. van der Laan
Start the core thread only when needed for initialization or shutdown. Avoids a bit of overhead, and also avoids spamming two log messages before logging is properly initialized.
2014-07-15Add peerid to getpeerinfo to allow correlation with the logs.Gregory Maxwell
This seems to have been missed in 3764.
2014-07-15ui: Replace some LogPrintfs with qDebug()Wladimir J. van der Laan
These are relatively unimportant messages, so don't need to be logged without -debug=ui.
2014-07-15Can't log to debug log before chain params initializedWladimir J. van der Laan
Add a function `AreBaseParamsConfigured` and use this to check before writing to the debug log. This avoids assertions when the application happens to log too early, which happens in the GUI. Messages logged before the base parameters are configured can be shown using `-printtoconsole`.
2014-07-15Merge pull request #4505Wladimir J. van der Laan
d4d3fbd Do not flush the cache after every block outside of IBD (Pieter Wuille)
2014-07-15Merge pull request #4494Wladimir J. van der Laan
bc42503 Use unordered_map for CCoinsViewCache with salted hash (Pieter Wuille)
2014-07-14Fix semantic typo in state.CorruptionPossible checkkazcw
state.Invalid() is always false, check should be IsInvalid() Broken since 942b33a
2014-07-14Use unordered_map for CCoinsViewCache with salted hashPieter Wuille
2014-07-14Add option to disable 077 umask (create new files with system default umask)Rune K. Svendsen
The option is only effective for either wallet-less builds or if -disablewallet is specified as well. Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 34d5fc0 4e1a196 bd4307b d53a33b 7e09b36 Github-Pull: #4286
2014-07-14Merge pull request #4525Wladimir J. van der Laan
d512534 Fixed error in 'getbalance' when using watchonly addresses. (JaSK)
2014-07-14Fixed error in 'getbalance' when using watchonly addresses.JaSK
2014-07-14Merge pull request #4400Wladimir J. van der Laan
4eedf4f make RandAddSeed() use OPENSSL_cleanse() (Philip Kaufmann) 6354935 move rand functions from util to new random.h/.cpp (Philip Kaufmann) 001a53d add GetRandBytes() as wrapper for RAND_bytes() (Philip Kaufmann)
2014-07-14Merge pull request #4524Wladimir J. van der Laan
49d5712 qt: Ignore showNormalIfMinimized in initialization or shutdown (Wladimir J. van der Laan)
2014-07-14Merge pull request #4513Wladimir J. van der Laan
6265ecc Clarify that redeemScript is often optional (Zak Wilcox)
2014-07-14Merge pull request #4518Wladimir J. van der Laan
76fd7b8 [Qt] Fix segfault when launched with -disablewallet (Cozz Lovan)
2014-07-14qt: Ignore showNormalIfMinimized in initialization or shutdownWladimir J. van der Laan
Also get rid of ui_interface flag NOSHOWGUI. It's up to the GUI to decide this. Fixes #4360.
2014-07-14Merge pull request #4378Wladimir J. van der Laan
dc942e6 Introduce whitelisted peers. (Pieter Wuille)
2014-07-14Merge pull request #4520Wladimir J. van der Laan
39cc492 Fix Watchonly: cs_main lock not held (Cozz Lovan)
2014-07-14Merge pull request #4503Wladimir J. van der Laan
b45a6e8 Add test for getblocktemplate longpolling (Wladimir J. van der Laan) ff6a7af getblocktemplate: longpolling support (Luke Dashjr)
2014-07-14Merge pull request #4510Wladimir J. van der Laan
6b407e4 -datadir is now allowed in config files (Zak Wilcox)
2014-07-14Merge pull request #4519Wladimir J. van der Laan
e3496da [Qt] Fix No such slot UnitDisplayStatusBarControl::onDisplayUnitsClicked (Cozz Lovan)
2014-07-13Set -discover=0 in regtest frameworkTom Harding
The regtest framework is local, so often there is no need to discover our external IP. Setting -discover=0 in util.py works around shutdown hang caused by GetExternalIP waiting in recv().
2014-07-13Fix Watchonly: cs_main lock not heldCozz Lovan
2014-07-13[Qt] Fix No such slot UnitDisplayStatusBarControl::onDisplayUnitsClickedCozz Lovan
2014-07-13[Qt] Fix segfault when launched with -disablewalletCozz Lovan
2014-07-13Merge pull request #4511Pieter Wuille
a7e1d50 In -? output: -keypool, -gen, -genproclimit depend on ENABLE_WALLET (Zak Wilcox)
2014-07-12Merge pull request #4177Pieter Wuille
cd01a5e Enable paranoid corruption checks in LevelDB >= 1.16 (Pieter Wuille)
2014-07-12Clarify that redeemScript is often optionalZak Wilcox
2014-07-12In -? output: -keypool, -gen, -genproclimit depend on ENABLE_WALLETZak Wilcox
2014-07-12-datadir is now allowed in config filesZak Wilcox
2014-07-11Do not flush the cache after every block outside of IBDPieter Wuille
2014-07-11Merge pull request #4347Wladimir J. van der Laan
6c37f7f `getrawchangeaddress` should fail when keypool exhausted (Wladimir J. van der Laan)
2014-07-11`getrawchangeaddress` should fail when keypool exhaustedWladimir J. van der Laan
An user on IRC reported an issue where `getrawchangeaddress` keeps returning a single address when the keypool is exhausted. In my opinion this is strange behaviour. - Change CReserveKey to fail when running out of keys in the keypool. - Make `getrawchangeaddress` return RPC_WALLET_KEYPOOL_RAN_OUT when unable to create an address. - Add a Python RPC test for checking the keypool behaviour in combination with encrypted wallets.
2014-07-11Merge pull request #4507Wladimir J. van der Laan
b60be6b Clean up RPCs that are disabled in safe-mode. (Gregory Maxwell)
2014-07-11Add test for getblocktemplate longpollingWladimir J. van der Laan
2014-07-11getblocktemplate: longpolling supportLuke Dashjr
2014-07-11Merge pull request #4501Wladimir J. van der Laan
954d2e7 Avoid a segfault on getblock if it can't read a block from disk. (Ruben Dario Ponticelli)