Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcd
  Commit: c065733c3198ec69a114ef85f45f83ff66205dad
      
https://github.com/btcsuite/btcd/commit/c065733c3198ec69a114ef85f45f83ff66205dad
  Author: Dave Collins <da...@conformal.com>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    M blockchain/chain.go
    M blockchain/chain_test.go
    M blockchain/checkpoints.go
    M blockchain/reorganization_test.go
    M blockmanager.go
    M config.go
    M doc.go

  Log Message:
  -----------
  multi: Improvements to configurable checkpoints.

This contains a bit of cleanup and additional logic to improve the
recently-added ability to specify additional checkpoints via the
--addcheckpoint option.

In particular:
- Improve error messages in the checkpoint parsing
- Correct the mergeCheckpoints function to weed out duplicate height
  checkpoints while using the most-recently provided one as described by
  its comment
- Add an assertion to blockchain.New that the provided checkpoints are
  sorted as required
- Keep comments to 80 columns and use two spaces after periods in them to
  be consistent with the rest of the code base
- Make the entry in doc.go match the actual btcd -h output


Reply via email to