skycoin / teller

Skycoin exchange service
15 stars 30 forks source link

Add -initial-height option to fake btcd #230

Open gz-c opened 6 years ago

gz-c commented 6 years ago

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.