track block height instead of querying