Register service lifecycles #20

Open
opened 2023-10-06 07:23:47 +00:00 by roysc · 0 comments
Owner

Plugeth doesn't expose a way to register Geth service lifecycles. We just Start the service when the plugin loads, but shutdown will potentially not be handled cleanly.

It should be easy enough to patch Plugeth to register this alongside API registration.

Plugeth doesn't expose a way to register Geth [service lifecycles](https://github.com/ethereum/go-ethereum/blob/052355f5e2b1726552fdb38a94cf6ea1506caf95/node/lifecycle.go#L23). We just `Start` the service when the plugin loads, but shutdown will potentially not be handled cleanly. It should be easy enough to patch Plugeth to register this alongside API registration.
roysc added the Kind/Enhancement
Priority
Low
labels 2023-10-06 07:23:47 +00:00
Sign in to join this conversation.