terminate

abstract fun terminate(drainPendingFlows: Boolean = false)

Shuts the node down. Returns immediately.

Parameters

drainPendingFlows

whether the node will wait for pending flows to be completed before exiting. While draining, new flows from RPC will be rejected.