# README

Description

Deployer is an application that simplifies the procedure of (re)starting a dusk-blockchain node (both dusk-blockchain and rusk services). It should also facilitate automatic diagnostic of runtime issues.

Rules

NetworkConditionActions
DevNetUnresponsive serviceSend SIGABRT signal | Collect core dump| Restart with CPU profile
DevNetMemory allocated > SoftLimit_1Enable memstats profile| Enable Trace log level
DevNetMemory allocated > SoftLimit_2Enable memprofile profile
DevNetMemory allocated > HardLimitSend SIGABRT signal | Collect core dump | Restart process

How to run

DUSK_BLOCKCHAIN_PATH=
RUSK_PATH=

deployer --config /home/.dusk/dusk.toml

# Functions

PingDusk ensures the DUSK service is responsive.
PingRusk ensures the RUSK service is responsive.

# Structs

Deployer is an application that simplifies the procedure of (re)starting a dusk-blockchain node (both dusk-blockchain and rusk services).
Service wraps up service process data and methods.