MarcoFalke
fa24439ff3
Bump copyright headers to 2015
9 years ago
Philip Kaufmann
ad5aae15b4
constify missing catch cases
...
- ensure all missing catch cases are constant where possible
9 years ago
Jeff Garzik
3795e8152b
leveldbwrapper file rename to dbwrapper.*
9 years ago
Jeff Garzik
8587b23038
leveldbwrapper symbol rename: Remove "Level" from class, etc. names
9 years ago
Jeff Garzik
6ec4b7eb20
leveldbwrapper: Remove unused .Prev(), .SeekToLast() methods
...
Also, trim trailing whitespace.
9 years ago
James O'Beirne
dcd8e27c65
Refer to obfuscate_key via pointer in peripheral CLevelDB classes
...
cc @sipa
9 years ago
James O'Beirne
0fdf8c80ee
Handle obfuscation in CLevelDBIterator
9 years ago
Pieter Wuille
3499ce1e1a
Encapsulate CLevelDB iterators cleanly
...
Conflicts:
src/leveldb.cpp
src/leveldb.h
src/txdb.cpp
9 years ago
James O'Beirne
42cb388167
Add chainstate obfuscation to avoid spurious antivirus detection
...
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 .
9 years ago
sandakersmann
f914f1a746
Added "Core" to copyright headers
...
Github-Pull: #5494
Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
10 years ago
Michael Ford
fa94b9d562
Convert remaining comments in /src to doxygen format
...
- Update comments in checkpoints to be doxygen compatible
- Update comments in checkqueue to be doxygen compatible
- Update coins to be doxygen compatible
- Fix comment typo in crypter.h
- Update licenses/copyright dates
Closes #5325 #5184 #5183 #5182
10 years ago
Cory Fields
71697f97d3
Separate protocol versioning from clientversion
10 years ago
Cory Fields
fa7361907a
boost: split stream classes out of serialize.h
...
serialization now has no dependencies.
10 years ago
Pieter Wuille
20e01b1a03
Apply clang-format on some infrequently-updated files
10 years ago
ENikS
ec91092df8
Fixing compiler warning C4101
...
Github-Pull: #4856
10 years ago
Philip Kaufmann
611116d4e3
header include cleanup
...
- ensures alphabetical ordering for includes etc. in source file headers
10 years ago
Daniel Kraft
ffb4c210bc
Mark LevelDB "Read" and "Exists" functions as const.
...
Mark the "Read" and "Exists" functions in CLevelDBWrapper as "const".
They do not change anything in the DB, by definition.
10 years ago
R E Broadley
79d06dc6e0
Remove redundant c_str
11 years ago
Brandon Dahler
51ed9ec971
Cleanup code using forward declarations.
...
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.
11 years ago
Brandon Dahler
b64187d05f
Rename leveldb.{h,cpp} to leveldbwrapper.{h,cpp}.
11 years ago
Gavin Andresen
881a85a22d
Replace printf with LogPrintf / LogPrint
11 years ago
Pieter Wuille
421218d304
Deal with LevelDB errors
12 years ago
Pieter Wuille
7fea484674
Add -reindex, to perform in-place reindexing of block chain files
...
Flushes the blktree/ and coins/ databases, and reindexes the
block chain files, as if their contents was loaded via -loadblock.
Based on earlier work by Jeff Garzik.
12 years ago
Pieter Wuille
1c83b0a377
Cache size optimizations
12 years ago
Pieter Wuille
e1bfbab802
Add LevelDB MemEnv support
...
Support LevelDB memory-backed environments, and use them in unit tests.
12 years ago
Pieter Wuille
43b7905e98
LevelDB glue
...
Database-independent glue for supporting LevelDB databases.
Based on code from earlier commits by Mike Hearn in his leveldb
branch.
12 years ago