bitcoin/bitcoin — pull request #3518 by Michagogo (2014-01-12 16:15:01+00:00)
Title: Tweak linearize.py to give more flexibility

Add the ability to start at a non-zero height, and allow for appending to
an existing file.

(note that I don't know much Python, this is based on a quick Google result of xrange()'s behavior, and copying the style of max_height...)