aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-06-02Merge pull request #6203Wladimir J. van der Laan
d449772 Remove P2SH coinbase flag, no longer interesting (Luke Dashjr)
2015-06-02Merge pull request #6172Wladimir J. van der Laan
a1ba077 Ignore getheaders requests when not synced. (Suhas Daftuar)
2015-06-01Merge pull request #6183Wladimir J. van der Laan
28bf062 Fix off-by-one error w/ nLockTime in the wallet (Peter Todd)
2015-06-01Merge pull request #6164Wladimir J. van der Laan
aa41bc8 Update help message to match the #4219 change (lpescher) f60bb5e Update documentation to match the #4219 change (lpescher) cb87386 Make command line option to show all debugging consistent with similar options (lpescher)
2015-06-01Merge pull request #6198Wladimir J. van der Laan
0bb4385 Improve comment explaining purpose of MAX_MONEY constant (Peter Todd)
2015-06-01Merge pull request #6208Wladimir J. van der Laan
d6922aa [net, trivial] remove using namespace std pollution in netbase.cpp (Philip Kaufmann) 49b2292 [net, trivial] explicitly use std::string for FindNode (Philip Kaufmann)
2015-06-01Merge pull request #6193Wladimir J. van der Laan
6e71efa [REST] remove json input for getutxos, limit to query max. 15 outpoints (Jonas Schnelli) 64b8027 rest.cpp: strip whitespace (Jonas Schnelli)
2015-06-01Merge pull request #6195Wladimir J. van der Laan
8273793 Eliminate compiler warning due to unused variable (Suhas Daftuar)
2015-05-31[net, trivial] remove using namespace std pollution in netbase.cppPhilip Kaufmann
2015-05-31[net, trivial] explicitly use std::string for FindNodePhilip Kaufmann
- in OpenNetworkConnection we have a FindNode call, which gets a const char*, wheras we only have defined a FindNode for std::string
2015-05-31Remove P2SH coinbase flag, no longer interestingLuke Dashjr
2015-05-27Improve comment explaining purpose of MAX_MONEY constantPeter Todd
2015-05-27[REST] remove json input for getutxos, limit to query max. 15 outpointsJonas Schnelli
Remove possibility to send json encoded parameters to `/rest/getutxos/` to avoid possible DoS scenarios. The JSON output option is untouched.
2015-05-27Eliminate compiler warning due to unused variableSuhas Daftuar
2015-05-27Ignore getheaders requests when not synced.Suhas Daftuar
2015-05-27Chainparams: Explicit CMessageHeader::MessageStartChars to functions in main:Jorge Timón
-UndoWriteToDisk -WriteBlockToDisk
2015-05-27Merge pull request #5669Wladimir J. van der Laan
da29ecb Consensus: MOVEONLY: Move CValidationState from main consensus/validation (jtimon) 27afcd8 Consensus: Refactor: Decouple CValidationState from main::AbortNode() (Cory Fields)
2015-05-27Fix off-by-one error w/ nLockTime in the walletPeter Todd
Previously due to an off-by-one error the wallet ignored nLockTime-by-height transactions that would be valid in the next block even though they are accepted into the mempool. The transactions wouldn't show up until confirmed, nor would they be included in the unconfirmed balance. Similar to the mempool behavior fix in 665bdd3b, the wallet code was calling IsFinalTx() directly without taking into account the fact that doing so tells you if the transaction could have been mined in the *current* block, rather than the next block. To fix this we strip IsFinalTx() of non-consensus-critical functionality, removing the default arguments, and add CheckFinalTx() to check if a transaction will be final in the next block.
2015-05-27rest.cpp: strip whitespaceJonas Schnelli
2015-05-27Merge pull request #6153Wladimir J. van der Laan
8c35b6f Parameter interaction: disable upnp if -proxy set (Wladimir J. van der Laan)
2015-05-27Merge pull request #6186Wladimir J. van der Laan
b45c50c Fix two problems in CSubNet parsing (Wladimir J. van der Laan) 19e8d7b Simplify code for CSubnet (Wladimir J. van der Laan)
2015-05-26qt: Periodic translation updateWladimir J. van der Laan
2015-05-26Merge pull request #5976Wladimir J. van der Laan
8ba7f84 Reduce download timeouts as blocks arrive (Suhas Daftuar)
2015-05-26Remove duplicate chainparams.h include from alert_testsMichael Ford
2015-05-26Merge pull request #5947Wladimir J. van der Laan
36cba8f Alert if it is very likely we are getting a bad chain (Gavin Andresen)
2015-05-26Fix two problems in CSubNet parsingWladimir J. van der Laan
Fix two CSubNet constructor problems: - The use of `/x` where 8 does not divide x was broken, due to a bit-order issue - The use of e.g. `1.2.3.4/24` where the netmasked bits in the network are not 0 was broken. Fix this by explicitly normalizing the netwok according to the bitmask. Also add tests for these cases. Fixes #6179. Thanks to @jonasschnelli for reporting and initial fix.
2015-05-26Simplify code for CSubnetWladimir J. van der Laan
Simplify the code by using CAddress.ip directly, instead of the reversed GetByte() semantics.
2015-05-24Merge pull request #6159Wladimir J. van der Laan
ffdda4e Catch errors on datadir lock and pidfile delete (Adam Weiss)
2015-05-22Catch errors on datadir lock and pidfile deleteAdam Weiss
Prevents bad permissions (or other fs related problems) from resulting in hard crashes with cryptic messages on startup and shutdown.
2015-05-22Merge pull request #6098Wladimir J. van der Laan
cc24610 Update Windows resource files (and add one for bitcoin-tx) (Luke Dashjr)
2015-05-22Update Windows resource files (and add one for bitcoin-tx)Luke Dashjr
2015-05-21Fix intermittent hang issue in scheduler_testsWladimir J. van der Laan
Don't clear `stopRequested` and `stopWhenEmpty` at the top of `serviceQueue`, as this results in a race condition: on systems under heavy load, some of the threads only get scheduled on the CPU when the other threads have already finished their work. This causes the flags to be cleared post-hoc and thus those threads to wait forever. The potential drawback of this change is that the scheduler cannot be restarted after being stopped (an explicit reset would be needed), but we don't use this functionality anyway.
2015-05-20Merge pull request #6160Wladimir J. van der Laan
16d9cb7 [QT] overviewpage: make sure warning icons gets colored (Jonas Schnelli)
2015-05-19Update help message to match the #4219 changelpescher
2015-05-19Make command line option to show all debugging consistent with similar optionslpescher
Most people expect a value of 1 to enable all for command line arguments. However to do this for the -debug option you must type "-debug=". This has been changed to allow "-debug=1" as well as "-debug=" to enable all debug logging
2015-05-19[QT] mainwindow toolbar must not be movableJonas Schnelli
2015-05-19[QT] overviewpage: make sure warning icons gets coloredJonas Schnelli
2015-05-19Merge pull request #5996Wladimir J. van der Laan
935bd0a Chainparams: Refactor: Decouple main::GetBlockValue() from Params() [renamed GetBlockSubsidy] (Jorge Timón)
2015-05-19qt: fix unused function warning in scicon.cppWladimir J. van der Laan
Enclose MakeSingleColorImage in an anonymous namespace to avoid a unused function warning on Windows and MacOSX. Github-Pull: #6143
2015-05-18Parameter interaction: disable upnp if -proxy setWladimir J. van der Laan
To protect privacy, do not use UPNP when a proxy is set. The user may still specify -listen=1 to listen locally (for a hidden service), so don't rely on this happening through -listen. Fixes #2927.
2015-05-18Change default nTxConfirmTarget to 2Alex Morcos
2015-05-18wallet: Introduce constant for `-txconfirmtarget` defaultWladimir J. van der Laan
2015-05-18Merge pull request #6144Wladimir J. van der Laan
881027a Remove assertion from ~LockedPageManager (Wladimir J. van der Laan)
2015-05-16Merge pull request #6146Gavin Andresen
f501054 More robust CScheduler unit test (Gavin Andresen)
2015-05-16More robust CScheduler unit testGavin Andresen
On a busy or slow system, the CScheduler unit test could fail because it assumed all threads would be done after a couple of milliseconds. Replace the hard-coded sleep with CScheduler stop() method that will cleanly exit the servicing threads when all tasks are completely finished.
2015-05-16Merge pull request #6062Wladimir J. van der Laan
ff7fe8b Fix for correctly including climits on certain platforms {DragonFlyBSD}. (sinetek)
2015-05-16Merge pull request #6137Wladimir J. van der Laan
a5baba5 minor: remove unneeded bool in CWalletDB::Recover (Philip Kaufmann)
2015-05-15Merge pull request #6129Wladimir J. van der Laan
c208040 Fix for clearing fCheckForPruning (Alex Morcos)
2015-05-15Chainparams: Refactor: Decouple main::GetBlockValue() from Params() [renamed ↵Jorge Timón
GetBlockSubsidy] Remove redundant getter CChainParams::SubsidyHalvingInterval()
2015-05-15Consensus: MOVEONLY: Move CValidationState from main consensus/validationjtimon