AppInitSanityChecks

Initialization sanity checks.

Synopsis

Declared in <init.h>

bool
AppInitSanityChecks(kernel::Context const& kernel);

Description

NOTE

This can be done before daemonization. Do not call Shutdown() if this function fails.

Return Value

true if all sanity checks passed.

Parameters

NameDescription
kernelThe consensus kernel context to sanity-check against.

Preconditions

  • Parameters should be parsed and config file should be read, AppInitParameterInteraction should have been called.