abstract fun terminate(drainPendingFlows: Boolean = false): Unit
Shuts the node down. Returns immediately.
drainPendingFlows
- whether the node will wait for pending flows to be completed before exiting. While draining, new flows from RPC will be rejected.