Skip to content

Cross-platform clean shutdown #726

@rvl

Description

@rvl

Provide a method which cardano-launcher can use to politely request that cardano-node exits.

If cardano-node is killed impolitely (with SIGKILL on POSIX or TerminateProcess on Windows), it will do a complete revalidation of the chain on the next startup. This can take some minutes.

See cardano-launcher/docs/windows-clean-shutdown.md for a discussion of the issue and suggested solution.

This is the implementation in cardano-wallet - withShutdownHandler. This code is enabled when the --shutdown-handler switch is provided to the cardano-wallet CLI.

Metadata

Metadata

Assignees

Labels

byronRequired for a Byron mainnet: replace the old core nodes with cardano-node.enhancementNew feature or requestpriority highissues/PRs that MUST be addressed. The release can't happen without this;

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions