1. 18 May, 2012 2 commits
  2. 17 May, 2012 3 commits
  3. 14 May, 2012 3 commits
  4. 13 May, 2012 3 commits
  5. 12 May, 2012 3 commits
  6. 11 May, 2012 3 commits
  7. 04 May, 2012 4 commits
  8. 30 Apr, 2012 1 commit
  9. 25 Apr, 2012 1 commit
    • Pieter Wuille's avatar
      Make lsn_reset ("detach databases") optional and off by default. · 0548a2bb
      Pieter Wuille authored
      Add an option -detachdb (and entry in OptionDialog), without which no
      lsn_reset is called on addr.dat and blkindex.dat. That means these
      files cannot be moved to a new environment, but shutdown can be
      significantly faster. The wallet file is always lsn_reset'ed.
      
      -detachdb corresponds to the old behaviour, though it is off by
      default now to speed up shutdowns.
      0548a2bb
  10. 22 Apr, 2012 2 commits
  11. 18 Apr, 2012 1 commit
  12. 17 Apr, 2012 3 commits
  13. 11 Apr, 2012 1 commit
    • Pieter Wuille's avatar
      Use filesystem::path instead of manual string tinkering · 5a59c052
      Pieter Wuille authored
      Where possible, use boost::filesystem::path instead of std::string or
      char* for filenames. This avoids a lot of manual string tinkering, in
      favor of path::operator/.
      
      GetDataDir is also reworked significantly, it now only keeps two cached
      directory names (the network-specific data dir, and the root data dir),
      which are decided through a parameter instead of pre-initialized global
      variables.
      
      Finally, remove the "upgrade from 0.1.5" case where a debug.log in the
      current directory has to be removed.
      5a59c052
  14. 10 Apr, 2012 1 commit
    • Pieter Wuille's avatar
      Build identification strings · 8b1f2f2b
      Pieter Wuille authored
      All client version information is moved to version.cpp, which optionally
      (-DHAVE_BUILD_INFO) includes build.h. build.h is automatically generated
      on supporting platforms via contrib/genbuild.sh, using git describe.
      
      The git export-subst attribute is used to put the commit id statically
      in version.cpp inside generated archives, and this value is used if no
      build.h is present.
      
      The gitian descriptors are modified to use git archive instead of a
      copy, to create the src/ directory in the output. This way,
      src/src/version.cpp will contain the static commit id. To prevent
      gitian builds from getting the "-dirty" marker in their git-describe
      generated identifiers, no touching of files or running sed on the
      makefile is performed anymore. This does not seem to influence
      determinism.
      8b1f2f2b
  15. 08 Apr, 2012 1 commit
  16. 05 Apr, 2012 2 commits
  17. 04 Apr, 2012 2 commits
  18. 03 Apr, 2012 1 commit
  19. 22 Mar, 2012 2 commits
    • Pieter Wuille's avatar
      Introduce explicit -walletupgrade option · ff9a814a
      Pieter Wuille authored
      Do not automatically change the wallet format unless the user takes an
      explicit action that implies an upgrade (encrypting, for now), or uses
      -walletupgrade.
      
      -walletupgrade optionally takes an integer argument: the client version
      up to which upgrading is allowed. Without an argument, it is upgraded
      to latest supported version. If an argument to -walletupgrade is
      provided at the time the wallet is created, the new wallet will initially
      not use features beyond that version.
      
      Third, the current wallet version number is reported in getinfo.
      ff9a814a
    • Pieter Wuille's avatar
      Add -checklevel and improve -checkblocks · 62954efe
      Pieter Wuille authored
      -checkblocks now takes a numeric argument: the number of blocks that must
      be verified at the end of the chain. Default is 2500, and 0 means all
      blocks.
      
      -checklevel specifies how thorough the verification must be:
      0: only check whether the block exists on disk
      1: verify block validity (default)
      2: verify transaction index validity
      3: check transaction hashes
      4: check whether spent txouts were spent within the main chain
      5: check whether all prevouts are marked spent
      6: check whether spent txouts were spent by a valid transaction that consumes them
      62954efe
  20. 21 Mar, 2012 1 commit