aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-11-26Fix comparison tool by asking for blocks more aggressivelyMatt Corallo
Rebased-from: b33b9a6fefbe832bf45a6c7717d0537f27597bff
2013-11-26process received messages one at a time without sleeping between messagesPatrick Strateman
2013-09-12Bump version numbers for 0.8.5 releasev0.8.5Gavin Andresen
2013-09-12Fix out-of-bounds checkPieter Wuille
2013-09-10Longer term workaround for chainstate corruption from negative versions.Gregory Maxwell
This also makes negative transaction versions non-standard. This avoids an issue triggered in block 256818 where transactions with negative version numbers were incorrectly serialized into the UTXO set. On restart nodes detect the inconsistency and refuse to start so long as a block with these transactions is inside the self-consistency check window, logging "coin database inconsistencies found". The software recommends reindexing, but reindexing does not correct the problem. This should be fixed by changing the chainstate serialization, but working around it seems harmless for now because the version is not used by any network rule currently. A patch free workaround is to start with -checklevel=2 which skips the consistency checks, but the IsStandard change is important for miners in order to protect unpatched nodes.
2013-08-21Update the bloom state on the real object, not the temporary one.v0.8.4rc2v0.8.4Gregory Maxwell
This resulted in just passing all transactions to filtered wallets which worked surprisingly well, except where it didn't.
2013-08-21Fix non-standard disconnected transactions causing mempool orphansPieter Wuille
Conflicts: src/main.cpp
2013-08-21fixed: don't use thread::sleep_for where it's known to be brokentheuni
Fixes #2690.
2013-08-21fixed: include boost header as necessarytheuni
Without this include, sometimes BOOST_VERSION was defined and sometimes it was not, depending on which includes came before it. The result was a random mix of sleep or sleep_for for boost versions >= 1.50.
2013-08-21Performance optimization for bloom filters.Gregory Maxwell
This reduces a peer's ability to attack network resources by using a full bloom filter, but without reducing the usability of bloom filters. It sets a default match everything filter for peers and it generalizes a prior optimization to cover more cases.
2013-08-21Merge commit '6519339fe849bdbbff047d9eef8ab6c5fbb3e2a4'Pieter Wuille
2013-08-20Merge commit 'cb1e39f0a35cc2b36fb748c26f69cd27e0ed5332' as 'src/leveldb'Pieter Wuille
2013-08-20Remove inline LevelDB to prepare for git-subtree versionPieter Wuille
2013-08-20Checkpoint at block 250,000Gavin Andresen
2013-08-20Simplify storage of orphan transactionsGavin Andresen
Orphan transactions were stored as a CDataStream pointer; this changes the mapOrphanTransactions data structures to store orphans as a CTransaction. This also fixes CVE-2013-4627 by always re-serializing transactions before relaying them.
2013-08-20Revert "Truncate oversize 'tx' messages before relaying/storing."Gavin Andresen
This reverts commit 7cc960f8f57e7fe90ee7aa0ccd3e3c6c89ec5a25.
2013-08-20Make RPC password resistant to timing attacksGavin Andresen
Fixes issue#2838; this is a tweaked version of pull#2845 that should not leak the length of the password and is more generic, in case we run into other situations where we need timing-attack-resistant comparisons.
2013-08-20Fix multi-block reorg transaction resurrectionMatt Corallo
2013-08-20Bump version numbers to prep for 0.8.4 releaseGavin Andresen
2013-06-25Bump version numbers for 0.8.3 releasev0.8.3Gavin Andresen
2013-06-25Dump addresses every 15 minutes instead of 10 secondsPieter Wuille
2013-06-25Truncate oversize 'tx' messages before relaying/storing.Peter Todd
Fixes a memory exhaustion attack on low-memory peers.
2013-05-25Merge pull request #2696 from robbak/util_h-Add_stdarg_includev0.8.2Wladimir J. van der Laan
Explicitly #include stdarg.h, for access to va_list
2013-05-24Bump build number to 0.8.2.2 for v0.8.2rc3v0.8.2rc3Gavin Andresen
2013-05-24Merge pull request #2683 from Diapolo/translationsGavin Andresen
translations update 2013-05-23
2013-05-24Fix crash-at-shutdown if exiting before initializing walletGavin Andresen
2013-05-24Explicitly #include stdarg.h, for access to va_listRobert Backhaus
2013-05-23Clean up mining CReserveKey to prevent crash at shutdownGavin Andresen
Fixes issue#2687
2013-05-23translations update 2013-05-23Philip Kaufmann
- integrates current translations from Transifex
2013-05-22Merge pull request #2682 from sipa/morewalletbbGregory Maxwell
More bestblock records in wallets
2013-05-22Merge pull request #2652 from gavinandresen/version_0.8.2_finalGavin Andresen
Set CLIENT_VERSION_IS_RELEASE, bump build to 0.8.2.1
2013-05-22Merge pull request #2649 from Diapolo/translationsGavin Andresen
translations update 2013-05-19 (for 0.8.2 release)
2013-05-22More bestblock records in walletsPieter Wuille
Write bestblock records in wallets: * Every 20160 blocks synced, no matter what (before: none during IBD) * Every 144 blocks after IBD (before: for every block, slow) * When creating a new wallet * At shutdown This should result in far fewer spurious rescans.
2013-05-22Merge pull request #2677 from sipa/fastcreateGavin Andresen
CreateNewBlock performance improvements
2013-05-21Add a few data-driven tests for SIGHASH_ANYONECANPAYMatt Corallo
2013-05-21CreateNewBlock performance improvementsPieter Wuille
2013-05-19translations update 2013-05-19 (for 0.8.2 release)Philip Kaufmann
- integrates current translations from Transifex - new translation: af_ZA
2013-05-13Set CLIENT_VERSION_IS_RELEASE, bump build to 0.8.2.1Gavin Andresen
2013-05-10Update version numbers for 0.8.2rc1 releasev0.8.2rc1Gavin Andresen
2013-05-10Merge pull request #2630 from Diapolo/translationsGavin Andresen
translations update 2013-05-08 (for 0.8.2 release)
2013-05-09Merge pull request #2635 from gavinandresen/boost_chrono_osxGavin Andresen
Link with boost_chrono library on OSX
2013-05-09Link with boost_chrono library on OSXGavin Andresen
Compiling on my OSX 10.6 build machine, I get: Undefined symbols: "boost::chrono::steady_clock::now()", referenced from: boost::cv_status boost::condition_variable::wait_for<long long, boost::ratio<1ll, 1000000000ll> >(boost::unique_lock<boost::mutex>&, boost::chrono::duration<long long, boost::ratio<1ll, 1000000000ll> > const&)in bitcoinrpc.o Linking against the boost_chrono fixes the issue. Windows builds already link against boost_chrono; Linux doesn't, but compiles (on pull-tester / gitian, at least).
2013-05-08translations update 2013-05-08Philip Kaufmann
- integrates current translations from Transifex
2013-05-07Specified base_uint component sizeWilliam Yager
A base_uint used to be made of an array of unsigned ints. This works fine on most platforms, but might not work on certain present or future platforms. The code breaks if an unsigned int is 16 or 64 bits, so it's important to be specific. Also changed "u" to "you".
2013-05-07Merge pull request #2410 from gmaxwell/salvageharderGavin Andresen
Make explicitly requested salvage operations keep going when there is an error.
2013-05-07translations update 2013-05-07Philip Kaufmann
- updates bitcoin_en.ts and bitcoinstrings.cpp - integrates current translations from Transifex
2013-05-04Merge pull request #2577 from gavinandresen/fee_bandaidGavin Andresen
Treat dust outputs as non-standard, un-hardcode TX_FEE constants
2013-05-04Merge pull request #2606 from gavinandresen/threadfixPieter Wuille
Exit cleanly if AppInit2 returns false
2013-05-04translations update 2013-05-04Philip Kaufmann
- updates bitcoin_en.ts and bitcoinstrings.cpp - removes bitcoin_se.ts - adds bitcoin_ar.ts - integrates current translations from Transifex
2013-05-03Merge pull request #2558 from sipa/nodbdirPieter Wuille
Some database/-related recovery improvements