Branch: refs/heads/master Home: https://github.com/btcsuite/btcd Commit: 49cbaf23dd94d2eb6a44eac3cc24e98f9a582aa5 https://github.com/btcsuite/btcd/commit/49cbaf23dd94d2eb6a44eac3cc24e98f9a582aa5 Author: Dave Collins <da...@conformal.com> Date: 2016-10-20 (Thu, 20 Oct 2016)
Changed paths: M blockchain/validate.go Log Message: ----------- blockchain: Support small coinbase block size This modifies the ExtractCoinbaseHeight function to recognize small canonically serialized block heights in coinbase scripts of blocks higher than version 2. This allows regression test chains in which blocks encode the serialized height in the coinbase starting from block 1.