[Pkg-bitcoin-devel] Bug#700908: Bug#700908: DB_LOG_AUTOREMOVE makes the block database incompatible with bitcoin-qt

Scott Howard showard314 at gmail.com
Tue Feb 19 14:19:01 UTC 2013


On Tue, Feb 19, 2013 at 1:10 AM, Antoine Beaupré <anarcat at debian.org> wrote:
> Package: bitcoind
> Version: 0.7.2-3
> Severity: important
>
> The wrapper script, established around this thread here:
>
> http://lists.debian.org/debian-wnpp/2011/01/msg00205.html
>
> ... sets the DB_LOG_AUTOREMOVE flag for the bitcoin infamous BDB
> database. That's cool because it avoids extra I/O we may not need,
> especially for the first block sync. *However*, it *does* mean it is
> incompatible with the -qt interface, which *doesn't* have such a
> wrapper.

Easiest fix, I believe, is to drop the flag and upgrade to 0.8.
Upstream has dropped BDB in favor of leveldb for the blockchain and
only use BDB for the wallet (which is tiny). This can go on the TODO
list for the next upgrade.

>From the release notes: "LevelDB, a fast, open-source, non-relational
database from Google, is now used to store transaction and block
indices. LevelDB works much better on machines with slow I/O and is
faster in general. Berkeley DB is now only used for the wallet.dat
file (public and private wallet keys and transactions relevant to
you)."



More information about the Pkg-bitcoin-devel mailing list