Age | Commit message (Collapse) | Author |
|
Rebased-from: b33b9a6fefbe832bf45a6c7717d0537f27597bff
|
|
|
|
|
|
|
|
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.
|
|
This resulted in just passing all transactions to filtered wallets
which worked surprisingly well, except where it didn't.
|
|
Conflicts:
src/main.cpp
|
|
Fixes #2690.
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
|
|
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.
|
|
This reverts commit 7cc960f8f57e7fe90ee7aa0ccd3e3c6c89ec5a25.
|
|
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.
|
|
|
|
|
|
|
|
|
|
Fixes a memory exhaustion attack on low-memory peers.
|
|
Explicitly #include stdarg.h, for access to va_list
|
|
|
|
translations update 2013-05-23
|
|
|
|
|
|
Fixes issue#2687
|
|
- integrates current translations from Transifex
|
|
More bestblock records in wallets
|
|
Set CLIENT_VERSION_IS_RELEASE, bump build to 0.8.2.1
|
|
translations update 2013-05-19 (for 0.8.2 release)
|
|
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.
|
|
CreateNewBlock performance improvements
|
|
|
|
|
|
- integrates current translations from Transifex
- new translation: af_ZA
|
|
|
|
|
|
translations update 2013-05-08 (for 0.8.2 release)
|
|
Link with boost_chrono library on OSX
|
|
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).
|
|
- integrates current translations from Transifex
|
|
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".
|
|
Make explicitly requested salvage operations keep going when there is an error.
|
|
- updates bitcoin_en.ts and bitcoinstrings.cpp
- integrates current translations from Transifex
|
|
Treat dust outputs as non-standard, un-hardcode TX_FEE constants
|
|
Exit cleanly if AppInit2 returns false
|
|
- updates bitcoin_en.ts and bitcoinstrings.cpp
- removes bitcoin_se.ts
- adds bitcoin_ar.ts
- integrates current translations from Transifex
|
|
Some database/-related recovery improvements
|