gavinandresen
commented at 5:16 PM on January 22, 2013:
contributor
This is a tweaked version of pull request #2106 that will cross-compile on Lucid, so it is (I hope!) compatible with the pull-tester and our old gitian-building environment.
Upgrade to LevelDB 1.7
Switch to a native Windows LevelDB port (not anymore via Boost)
I've been testing this versus the boost-based, old-leveldb code in git HEAD.
Diapolo
commented at 5:34 PM on January 22, 2013:
none
So this doesn't include the switch to Boost 1.52 and even doesn't rely on the static switches?
gavinandresen
commented at 2:11 PM on January 23, 2013:
contributor
Test results, on a Windows XP SP3 virtual machine:
Memory usage:
570MB peak during initial block download
~300MB typical usage during IBD
~200MB peak usage restarting fully synced
Replace leveldb/ with vanilla 1.7.04786302fb9
Remove Snappy support00abfccc5d
Native Windows LevelDB port
Import native Windows LevelDB port by Hiram Chirino.
Extracted from from https://github.com/chirino/leveldb.git using
git diff dd0d562..aea83b7
Several changes to make the native windows leveldb code compile
with mingw32 and run on 32-bit Windows:
* Remove -std=c++0x dependency (modified code to use NULL instead of
nullptr)
* Link with -lshlwapi
* Only #define snprintf/etc if compiling with Visual Studio
* Do not link against DbgHelp.lib (wrote a CreateDir instead of using
DbgHelp's MakeSureDirectoryPathExists
* Define WINVER=0x0500 so MinGW32 can use the 64-bit-filesystem Windows
api calls
* Define __USE_MINGW_ANSI_STDIO=1 to use MinGW's printf (which supports
%ll)
I also cleaned up makefile.mingw, assuming that dependencies would be in
the standard /usr/local/{include,lib} by default but allowing overriding
with make DEPSDIR=... etc
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:16 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me