skycoin/teller

Add -initial-height option to fake btcd

Opened this issue · 0 comments

gz-c commented

In cmd/btcd/btcd.go add a CLI option -initial-height, -h to set the initial block's height. This initial height needs to match the initial height in teller's config.toml file when the user runs it (in order to bootstrap), so the option is needed in case the user adjust's the initial height in their config.toml.