aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-20Merge pull request #5095Wladimir J. van der Laan
d4746d5 Add a SECURE style flag for ThreadSafeMessageBox, which indicates that the message contains sensitive information. This keeps the message from being output to the debug log by bitcoind. Fixes a possible security risk when starting bitcoind in server mode without the 'rpcpassword' option configured, resulting in the "suggested" password being output to the debug log. (Mark Friedenbach)
2014-10-17Merge pull request #4468Wladimir J. van der Laan
e11b2ce Fix large reorgs (Pieter Wuille) afc32c5 Fix rebuild-chainstate feature and improve its performance (Pieter Wuille) 16d5194 Skip reindexed blocks individually (Pieter Wuille) ad96e7c Make -reindex cope with out-of-order blocks (Wladimir J. van der Laan) e17bd58 Rename setBlockIndexValid to setBlockIndexCandidates (Pieter Wuille) 1af838b Add height to "Requesting block" debug (R E Broadley) 1bcee67 Better logging of stalling (R E Broadley) 4c93322 Improve getheaders (sending) logging (R E Broadley) f244c99 Remove CheckMinWork, as we always know all parent headers (Pieter Wuille) ad6e601 RPC additions after headers-first (Pieter Wuille) 341735e Headers-first synchronization (Pieter Wuille)
2014-10-17doc: Add historical release notes for 0.9.3Wladimir J. van der Laan
2014-10-17Merge pull request #5092Wladimir J. van der Laan
6f155bd Add LIBTOOLFLAGS CXX tag to qt makefile include (Michael Ford)
2014-10-17Add a SECURE style flag for ThreadSafeMessageBox, which indicates that the ↵Mark Friedenbach
message contains sensitive information. This keeps the message from being output to the debug log by bitcoind. Fixes a possible security risk when starting bitcoind in server mode without the 'rpcpassword' option configured, resulting in the "suggested" password being output to the debug log.
2014-10-17Merge pull request #4804 from jtimon/chainparams3Wladimir J. van der Laan
Remove CBaseChainParams::NetworkID()
2014-10-16Merge pull request #5096Pieter Wuille
e8ea0fd MOVEONLY: CInPoint from core to txmempool (jtimon)
2014-10-17MOVEONLY: CInPoint from core to txmempooljtimon
2014-10-16squashme on 3fdb9e8c (Bluematt's bikeshedding)jtimon
2014-10-16Add LIBTOOLFLAGS CXX tag to qt makefile includeMichael Ford
Related #4993
2014-10-15Merge pull request #5082Pieter Wuille
5f4bcf6 boost: drop boost dependency in version.cpp. (Cory Fields) 352058e boost: drop boost dependency in utilstrencodings.cpp (Cory Fields) e1c9467 boost: drop boost dependency in core.cpp (Cory Fields) e405aa4 boost: remove CPrivKey dependency from CECKey (Cory Fields) 5295506 boost: drop dependency on tuple in serialization (Cory Fields) 1d9b86d boost: drop dependency on is_fundamental in serialization (Cory Fields)
2014-10-15boost: drop boost dependency in version.cpp.Cory Fields
Also add a test to verify.
2014-10-15boost: drop boost dependency in utilstrencodings.cppCory Fields
2014-10-15boost: drop boost dependency in core.cppCory Fields
2014-10-15boost: remove CPrivKey dependency from CECKeyCory Fields
This allows CECKey to be used without directly depending on the secure allocators
2014-10-15boost: drop dependency on tuple in serializationCory Fields
There's only one user of this form of serialization, so it can be easily dropped. It could be re-added if desired when we switch to c++11.
2014-10-15boost: drop dependency on is_fundamental in serializationCory Fields
There's only one case where a vector containing a fundamental type is serialized all-at-once, unsigned char. Anything else would lead to strange results. Use a dummy argument to overload in that case.
2014-10-14Fix large reorgsPieter Wuille
2014-10-14Fix rebuild-chainstate feature and improve its performancePieter Wuille
Previous refactorings broke the ability to rebuild the chainstate by deleting the chainstate directory, resulting in an incorrect "Incorrect or no genesis block found" error message. Fix that. Also, improve the performance of ActivateBestBlockStep by using the skiplist to only discover a few potential blocks to connect at a time, instead of all blocks forever - as we likely bail out after connecting a single one anyway.
2014-10-14Skip reindexed blocks individuallyPieter Wuille
Instead of skipping to the last reindexed block in each file (which could jump over processed out-of-order blocks), just skip each already processed block individually.
2014-10-14Make -reindex cope with out-of-order blocksWladimir J. van der Laan
Remember out-of-order block headers along with disk positions. This is likely the simplest and least-impact way to make -reindex work with headers first. Based on top of #4468.
2014-10-14Rename setBlockIndexValid to setBlockIndexCandidatesPieter Wuille
2014-10-14Add height to "Requesting block" debugR E Broadley
2014-10-14Better logging of stallingR E Broadley
2014-10-14Improve getheaders (sending) loggingR E Broadley
2014-10-14Remove CheckMinWork, as we always know all parent headersPieter Wuille
2014-10-14RPC additions after headers-firstPieter Wuille
2014-10-14Headers-first synchronizationPieter Wuille
Many changes: * Do not use 'getblocks', but 'getheaders', and use it to build a headers tree. * Blocks are fetched in parallel from all available outbound peers, using a limited moving window. When one peer stalls the movement of the window, it is disconnected. * No more orphan blocks. At all. We only ever request a block for which we have verified the headers, and store it to disk immediately. This means that a disk-fill attack would require PoW. * Require protocol version 31800 for every peer (released in december 2010). * No more syncnode (we sync from everyone we can, though limited to 1 during initial *headers* sync). * Introduce some extra named constants, comments and asserts.
2014-10-14Merge pull request #4942Wladimir J. van der Laan
9406471 Write fee estimate and peers files only when initialized (Wladimir J. van der Laan)
2014-10-14Merge pull request #5074Wladimir J. van der Laan
005b5af rpc-tests: don't spew non-errors to stdout (Cory Fields)
2014-10-13Merge pull request #5080Pieter Wuille
e21b2e0 Typo in test (Luke)
2014-10-13Typo in testLuke
2014-10-13Merge pull request #4937Wladimir J. van der Laan
ccca27a [Wallet] Watch-only fixes (Cozz Lovan)
2014-10-11SQUASHME: fix "Reserve only one network specific cached path per session"jtimon
2014-10-11Merge pull request #5073Wladimir J. van der Laan
d5fd094 build: fix qt test build when libprotobuf is in a non-standard path (Cory Fields) a7d1f03 build: fix dynamic boost check when --with-boost= is used (Cory Fields)
2014-10-10rpc-tests: don't spew non-errors to stdoutCory Fields
There's a brief race here, the process might've already exited and cleaned up after itself. If that's the case, reading from the pidfile will harmlessly fail. Keep those quiet.
2014-10-10build: fix qt test build when libprotobuf is in a non-standard pathCory Fields
2014-10-10build: fix dynamic boost check when --with-boost= is usedCory Fields
2014-10-10SQUASHME: NetworkIdFromCommandLine() function instead of methodjtimon
2014-10-10Merge pull request #4802Wladimir J. van der Laan
6fd546d Remove CChainParams::NetworkID() (jtimon) cc97210 Add fTestnetToBeDeprecatedFieldRPC to CChainParams (jtimon) e11712d Move checkpoint data selection to chainparams (jtimon) 6de50c3 qt: add network-specific style object (Wladimir J. van der Laan)
2014-10-10Remove CChainParams::NetworkID()jtimon
2014-10-10Add fTestnetToBeDeprecatedFieldRPC to CChainParamsjtimon
2014-10-10Move checkpoint data selection to chainparamsjtimon
2014-10-10qt: add network-specific style objectWladimir J. van der Laan
Mainly cleanups: Gets rid of isTestNet everywhere, by keeping track of network-specific theming in a central place. Also makes GUI no longer dependent on the network ID enumeration, which alleviates concerns about #4802.
2014-10-10Merge pull request #5072Wladimir J. van der Laan
caecb42 Travis: Descriptive build names (Luke Dashjr)
2014-10-10Travis: Descriptive build namesLuke Dashjr
2014-10-09Merge pull request #5032Wladimir J. van der Laan
4bd1185 Qt: allow "emergency" shutdown during startup (Philip Kaufmann)
2014-10-09Merge pull request #5059Gavin Andresen
dbca89b Trigger -alertnotify if network is upgrading without you (Gavin Andresen) e01a793 Refactor -alertnotify code (Gavin Andresen) Signed-off-by: Gavin Andresen <gavinandresen@gmail.com>
2014-10-09Trigger -alertnotify if network is upgrading without youGavin Andresen
This adds a -regetest-only undocumented (for regression testing only) command-line option -blockversion=N to set block.nVersion. Adds to the "has the rest of the network upgraded to a block.nVersion we don't understand" code so it calls -alertnotify when 51 of the last 100 blocks are up-version. But it only alerts once, not with every subsequent new, upversion block. And adds a forknotify.py regression test to make sure it works. Tested using forknotify.py: Before adding CAlert::Notify, get: Assertion failed: -alertnotify did not warn of up-version blocks Before adding code to only alert once: Assertion failed: -alertnotify excessive warning of up-version blocks After final code in this pull: Tests successful
2014-10-09Refactor -alertnotify codeGavin Andresen
Refactor common -alertnotify code into static CAlert::Notify method.