Age | Commit message (Collapse) | Author |
|
|
|
Original fix:
https://github.com/bitcoin/bitcoin/commit
/8864019f6d88b13d3442843d9e6ebeb8dd938831
|
|
|
|
As we'd previously learned, OSX's fsync is a data eating lie.
Since 0.8.4 we're still getting some reports of disk corruption on
OSX but now all of it looks like the block files have gotten out of
sync with the database. It turns out that we were still using fsync()
on the block files, so this isn't surprising.
|
|
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 959e62f
|
|
Conflicts:
src/main.cpp
Rebased-from: cb3076a3daa68eebf19c681ab48a0c0d9f0ce7a5
|
|
- could be helpful when debugging shutdown related problems
Rebased-by: Warren Togami <wtogami@gmail.com>
Rebased-from: ced3c248168941fbbd42d5a3807657a88be6a54e
|
|
After discussing with BlueMatt, this appears to be harmless in its
current state since it's always set before it's used. Initialize it
anyway for readability and future safety.
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 106f133de6bdb577c4135847fd703d08f525ba46
|
|
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.
|
|
|
|
be1b0ff On Mac OS X fsync does not guarantee write to disk. Use fcntl F_FULLFSYNC instead.
git-subtree-dir: src/leveldb
git-subtree-split: be1b0ff1fcd6ad820a7fd111ac671fb51cc68001
|
|
|
|
git-subtree-dir: src/leveldb
git-subtree-split: a02ddf9b14d145e88185ee209ab8b01d8826663a
|
|
|
|
|
|
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
|
|
|
|
|
|
Clean up mining CReserveKey to prevent crash at shutdown
|
|
|
|
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
|
|
Update links in build-osx.md
|
|
gitian deps-win32.yml needs psmisc package for killall to end the build
|