aboutsummaryrefslogtreecommitdiff
path: root/src/leveldbwrapper.cpp
Commit message (Collapse)AuthorAgeFilesLines
* leveldbwrapper file rename to dbwrapper.*Jeff Garzik2015-10-221-152/+0
|
* leveldbwrapper symbol rename: Remove "Level" from class, etc. namesJeff Garzik2015-10-221-19/+19
|
* leveldbwrapper: Remove unused .Prev(), .SeekToLast() methodsJeff Garzik2015-10-221-11/+9
| | | | Also, trim trailing whitespace.
* Handle obfuscation in CLevelDBIteratorJames O'Beirne2015-10-081-1/+1
|
* Encapsulate CLevelDB iterators cleanlyPieter Wuille2015-10-081-1/+8
| | | | | | | Conflicts: src/leveldb.cpp src/leveldb.h src/txdb.cpp
* Add chainstate obfuscation to avoid spurious antivirus detectionJames O'Beirne2015-10-061-1/+59
| | | | | | | | Adds an `obfuscate` parameter to `CLevelDBWrapper` and makes use of it for all new chainstate stores built via `CCoinsViewDB`. Also adds an `Xor` method to `CDataStream`. Thanks to @sipa @laanwj @pstratem @dexX7 @KyrosKrane @gmaxwell.
* Handle leveldb::DestroyDB() errors on wipe failureAdam Weiss2015-08-121-1/+2
| | | | | | | | | | | | Add error checking to CLevelDBWrapper for errors from leveldb::DestroyDB(). Without it, if unlink() or DeleteFileW() fail to delete files, they will fail silent. If they fail to delete any files, CLevelDBWrapper will silently open and read the existing database. Typically any permissions issues would be caught by leveldb as it churns through many files as part of its compaction process, but it is conceivable that this could cause problems on Windows with anti-virus and indexing software.
* Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* minor code style cleanup after recent mergesPhilip Kaufmann2014-11-041-1/+2
| | | | | - add a missing license header - correct some header orderings etc.
* Apply clang-format on some infrequently-updated filesPieter Wuille2014-09-191-5/+10
|
* Enable paranoid corruption checks in LevelDB >= 1.16Pieter Wuille2014-05-121-0/+5
|
* Wrap create_directory calls in try...catch blocks.Brandon Dahler2014-03-311-1/+1
| | | | | | Ignores any exceptions thrown if directory exists, otherwise re-throws exception. Rebased-By: Wladimir J. van der Laan <[email protected]>
* Copyright header updates s/2013/2014 on files whose last git commit was done ↵gubatron2014-02-091-1/+1
| | | | | | in 2014. contrib/devtools/fix-copyright-headers.py script to be able to perform this maintenance task with ease during the rest of the year, every year. Modifications to contrib/devtools/README.md to document what fix-copyright-headers.py does.
* Remove redundant .c_str()sWladimir J. van der Laan2014-01-231-3/+3
| | | | | | | After the tinyformat switch sprintf() family functions support passing actual std::string objects. Remove unnecessary c_str calls (236 of them) in logging and formatting.
* configure: Simplify common AM_CPPFLAGS and AM_LDFLAGS to a Makefile.commonLuke Dashjr2013-11-111-1/+1
|
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-3/+3
| | | | | | | | | Use misc methods of avoiding unnecesary header includes. Replace int typedefs with int##_t from stdint.h. Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h. Normalize QT_VERSION ifs where possible. Resolve some indirect dependencies as direct ones. Remove extern declarations from .cpp files.
* Rename leveldb.{h,cpp} to leveldbwrapper.{h,cpp}.Brandon Dahler2013-11-081-0/+77