def block_check(): args = { "verbose": parse_bool_param(request.args.get("verbose")), "healthy_block_diff": request.args.get("healthy_block_diff", type=int), "enforce_block_diff": True } (health_results, error) = get_health(args, use_redis_cache=False) return success_response_backwards_compat( health_results, 500 if error else 200 )
def version(): return success_response_backwards_compat(disc_prov_version)