API

Subpackages

FeatureInitializationState

class FeatureInitializationState(value)

Enum representing current state of feature initialization.

Uninitialized = 'Uninitialized'
Initializing = 'Initializing'
Initialized = 'Initialized'
Disposing = 'Disposing'
Disposed = 'Disposed'

FullNodeState

class FullNodeState(value)

Enum representing current state of Full Node.

Created = 'Created'
Initializing = 'Initializing'
Initialized = 'Initialized'
Starting = 'Starting'
Started = 'Started'
Disposing = 'Disposing'
Disposed = 'Disposed'
Failed = 'Failed'

LogRule

class LogRule(*, ruleName: str, logLevel: str, filename: str)

A log rule model.

Note

More information about logging in Stratis Full Node can be found here.

rule_name: str

The name of the log rule.

log_level: str

The log level.

filename: str

The log file name.

APIError

exception APIError(code: int, message: str)

Represents an API error message response.

code

The API error code.

Type

int

message

The error message.

Type

str

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.