aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-05-15Merge pull request #5968Wladimir J. van der Laan
51aa249 Chainparams: Refactor: Decouple IsSuperMajority from Params() (Jorge Timón)
2015-05-15Merge pull request #6102Wladimir J. van der Laan
86a5f4b Relocate calls to CheckDiskSpace (Alex Morcos) 67708ac Write block index more frequently than cache flushes (Pieter Wuille) b3ed423 Cache tweak and logging improvements (Pieter Wuille) fc684ad Use accurate memory for flushing decisions (Pieter Wuille) 046392d Keep track of memory usage in CCoinsViewCache (Pieter Wuille) 540629c Add memusage.h (Pieter Wuille)
2015-05-15Merge pull request #6140Wladimir J. van der Laan
8f0947b Increase timeouts in pruning.py and modify warning language. (Alex Morcos) b89f307 Fix incorrect variable name in FindFilesToPrune (Suhas Daftuar)
2015-05-15Remove assertion from ~LockedPageManagerWladimir J. van der Laan
This assertion will occur any time that the client quits without shutting down properly due to an error condition. As the user will report this error instead of the error that was the root cause, it is better to remove it.
2015-05-14Alert if it is very likely we are getting a bad chainGavin Andresen
Create a monitoring task that counts how many blocks have been found in the last four hours. If very few or too many have been found, an alert is triggered. "Very few" and "too many" are set based on a false positive rate of once every fifty years of constant running with constant hashing power, which works out to getting 5 or fewer or 48 or more blocks in four hours (instead of the average of 24). Only one alert per day is triggered, so if you get disconnected from the network (or are being Sybil'ed) -alertnotify will be triggered after 3.5 hours but you won't get another -alertnotify for 24 hours. Tested with a new unit test and by running on the main network with -debug=partitioncheck Run test/test_bitcoin --log_level=message to see the alert messages: WARNING: check your network connection, 3 blocks received in the last 4 hours (24 expected) WARNING: abnormally high number of blocks generated, 60 blocks received in the last 4 hours (24 expected) The -debug=partitioncheck debug.log messages look like: ThreadPartitionCheck : Found 22 blocks in the last 4 hours ThreadPartitionCheck : likelihood: 0.0777702
2015-05-14Merge pull request #5964Gavin Andresen
9a1dcea Use CScheduler for net's DumpAddresses (Gavin Andresen) ddd0acd Create a scheduler thread for lightweight tasks (Gavin Andresen) 68d370b CScheduler unit test (Gavin Andresen) cfefe5b scheduler: fix with boost <= 1.50 (Cory Fields) ca66717 build: make libboost_chrono mandatory (Cory Fields) 928b950 CScheduler class for lightweight task scheduling (Gavin Andresen) e656560 [Qt] add defaultConfirmTarget constant to sendcoinsdialog (Philip Kaufmann)
2015-05-14Use CScheduler for net's DumpAddressesGavin Andresen
Instead of starting Yet Another Thread to dump addresses, use CScheduler to do it.
2015-05-14Create a scheduler thread for lightweight tasksGavin Andresen
2015-05-14CScheduler unit testGavin Andresen
2015-05-14scheduler: fix with boost <= 1.50Cory Fields
2015-05-14CScheduler class for lightweight task schedulingGavin Andresen
Simple class to manage a task queue that is serviced by one or more threads.
2015-05-14[Qt] add defaultConfirmTarget constant to sendcoinsdialogPhilip Kaufmann
- replaces some hard-coded values for the default confirmation target - also simplify code that is using the new constant
2015-05-14minor: remove unneeded bool in CWalletDB::RecoverPhilip Kaufmann
2015-05-14Merge pull request #6110Wladimir J. van der Laan
ca5f688 [QT] don't colorize icons on win and mac (Jonas Schnelli) 7247d10 [QT] use alert icon with tooltip insted of "(out of sync)" text (Jonas Schnelli) 51c7c70 [QT] remove frame to avoid double-frame situation in sendcoinsentry.ui (Jonas Schnelli) 2a6b844 [QT] change transaction amount and height in overview page (Jonas Schnelli)
2015-05-14Comment edits and cleanupBitcoinPRReadingGroup
Original PR here: https://github.com/bitcoin/bitcoin/pull/6044
2015-05-14Alphabetic order in makefileJorge Timón
2015-05-14fix header include groupsPhilip Kaufmann
2015-05-14remove unneeded incude of wallet/db.h from rpcmining.cppPhilip Kaufmann
2015-05-14remove unused classes from db.hPhilip Kaufmann
2015-05-14fix IDE/compiler warning "extra ';'" in validationinterface.hPhilip Kaufmann
2015-05-14Trivial: Corrected owner of DNS seederayeowch
2015-05-14[init] better message when no wallet support is compiled inPhilip Kaufmann
2015-05-14Typo in GetRawMemPool RPC method help: "]" --> "}"Chris Arnesen
2015-05-14addrman: update commentsPavel Vasin
nUnkBias was removed in https://github.com/bitcoin/bitcoin/pull/5941
2015-05-13Merge pull request #6125Gavin Andresen
472b4c5 Clean up parsing of bool command line args (Alex Morcos)
2015-05-13Fix incorrect variable name in FindFilesToPruneSuhas Daftuar
2015-05-13[QT] don't colorize icons on win and macJonas Schnelli
2015-05-13Merge pull request #5159Wladimir J. van der Laan
b649e03 Create new BlockPolicyEstimator for fee estimates (Alex Morcos)
2015-05-13Create new BlockPolicyEstimator for fee estimatesAlex Morcos
This class groups transactions that have been confirmed in blocks into buckets, based on either their fee or their priority. Then for each bucket, the class calculates what percentage of the transactions were confirmed within various numbers of blocks. It does this by keeping an exponentially decaying moving history for each bucket and confirm block count of the percentage of transactions in that bucket that were confirmed within that number of blocks. -Eliminate txs which didn't have all inputs available at entry from fee/pri calcs -Add dynamic breakpoints and tracking of confirmation delays in mempool transactions -Remove old CMinerPolicyEstimator and CBlockAverage code -New smartfees.py -Pass a flag to the estimation code, using IsInitialBlockDownload as a proxy for when we are still catching up and we shouldn't be counting how many blocks it takes for transactions to be included. -Add a policyestimator unit test
2015-05-12Clean up parsing of bool command line argsAlex Morcos
2015-05-12Relocate calls to CheckDiskSpaceAlex Morcos
Make sure we're checking disk space for block index writes and allow for pruning to happen before chainstate writes.
2015-05-12[QT] use alert icon with tooltip insted of "(out of sync)" textJonas Schnelli
# Conflicts: # src/qt/forms/overviewpage.ui # src/qt/overviewpage.cpp
2015-05-12[QT] remove frame to avoid double-frame situation in sendcoinsentry.uiJonas Schnelli
2015-05-12Merge pull request #6123Wladimir J. van der Laan
bba7c24 Avoid crash on start in TestBlockValidity with gen=1. (Gregory Maxwell)
2015-05-12Merge pull request #5932Wladimir J. van der Laan
107d35b [Qt] add defaultConfirmTarget constant to sendcoinsdialog (Philip Kaufmann)
2015-05-12Avoid crash on start in TestBlockValidity with gen=1.Gregory Maxwell
When the internal miner is enabled at the start of a new node, there is an near instant assert in TestBlockValidity because its attempting to mine a block before the top checkpoint. Also avoids a data race around vNodes.
2015-05-11Write block index more frequently than cache flushesPieter Wuille
2015-05-11Cache tweak and logging improvementsPieter Wuille
2015-05-11Use accurate memory for flushing decisionsPieter Wuille
2015-05-11Keep track of memory usage in CCoinsViewCachePieter Wuille
2015-05-11Add memusage.hPieter Wuille
2015-05-11Merge pull request #6058Wladimir J. van der Laan
03c5687 appropriate response when trying to get a block in pruned mode (Jonas Schnelli) 1b2e555 add autoprune information to RPC "getblockchaininfo" (Jonas Schnelli)
2015-05-11appropriate response when trying to get a block in pruned modeJonas Schnelli
2015-05-10Merge pull request #6093Wladimir J. van der Laan
3da7849 [squashme] simplify SetupEnvironment() (by dexX7) (Jonas Schnelli) b3ffcdf don't imbue boost::filesystem::path with locale "C" on windows (Jonas Schnelli)
2015-05-10[squashme] simplify SetupEnvironment() (by dexX7)Jonas Schnelli
2015-05-08re-add -reindex help messageJonas Schnelli
was suddenly removed with fc44231cb72afae2fffe0fac64e236a1d33b90e6 (probably not by purpose)
2015-05-07Merge pull request #6112Wladimir J. van der Laan
1c54757 Add more script edge condition tests. (Dave Collins)
2015-05-06Merge pull request #6034Wladimir J. van der Laan
a574899 chaincodes: abstract away more chaincode behavior [squashme] replace struct CCainCode with a typedef uint256 ChainCode (Cory Fields) 8cf1485 Abstract chaincodes into CChainCode (Pieter Wuille)
2015-05-06chaincodes: abstract away more chaincode behaviorCory Fields
[squashme] replace struct CCainCode with a typedef uint256 ChainCode
2015-05-06Add more script edge condition tests.Dave Collins
This commit adds some tests to the script_valid.json and tx_invalid.json data which exercise more edge conditions that are not currently being tested.