shutter-network / rolling-shutter

Rolling Shutter is an MEV protection system to be plugged into rollups.
https://twitter.com/project_shutter/
26 stars 7 forks source link

Add shutdown endpoint to internal Keyper API #426

Open ezdac opened 5 months ago

ezdac commented 5 months ago

This PR adds an endpoint to the internal Keyper API that shuts down the service:

A POST <keyper-api-address>/v1/shutdown will shut down the keyper gracefully and let the program exit with signal 0. The Keyper API is not meant to be exposed externally.