Leveldb 1.7 #2198

pull gavinandresen wants to merge 6 commits into bitcoin:master from gavinandresen:leveldb17 changing 40 files +1669 −988
  1. 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.

  2. 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?

  3. 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

  4. Replace leveldb/ with vanilla 1.7.0 4786302fb9
  5. Remove Snappy support 00abfccc5d
  6. 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
    21f2ae7563
  7. Pre-Vista leveldb::port::InitOnce implementation 960797a0de
  8. Mingw support for Windows LevelDB port 8aef119f43
  9. Port leveldb to MinGW32
    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
    b1024662ea
  10. BitcoinPullTester commented at 2:16 AM on January 24, 2013: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/b1024662eafddd5560fbfbac29333e5e967ca0f8 for binaries and test log.

  11. gavinandresen merged this on Jan 24, 2013
  12. gavinandresen closed this on Jan 24, 2013

  13. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

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