HomePhabricator

BDB: restore DB_PRIVATE flag to environment
9c137aaccf89Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

BDB: restore DB_PRIVATE flag to environment

Satoshi's commits fdbf76d and c8ad9b8 (SVN import) removed the
DB_PRIVATE flag from the environment. In part, this enables processes
other than bitcoind to examine the active database environment.

However, this incurs a slight performance penalty versus working
entirely within application memory (DB_PRIVATE). Because bitcointools
and other direct-BDB-accessing tools are not used by the vast
majority of users, prefer to default with DB_PRIVATE with the option
of disabling it if needed via -privdb=0.

Details

Provenance
Jeff Garzik <jgarzik@exmulti.com>Authored on May 21 2012, 16:38
Jeff Garzik <jgarzik@redhat.com>Committed on May 21 2012, 16:38
deadalnixPushed on May 14 2017, 22:04
Parents
rABC46784d0826df: Merge pull request #1354 from fanquake/master
Branches
Unknown
Tags
Unknown

Event Timeline

Jeff Garzik <jgarzik@redhat.com> committed rABC9c137aaccf89: BDB: restore DB_PRIVATE flag to environment (authored by Jeff Garzik <jgarzik@exmulti.com>).May 21 2012, 16:38