do not try to get the height of a block that might be orphaned.  maintain the starting block number to fetch
do not try to get the height of a block that might be orphaned.  maintain the starting block number to fetch

vaporry/btcrelay,ethereum/btcrelay,ethereum/btcrelay,ethers/btcrelay