Register service lifecycles #20

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

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.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/plugeth-statediff#20
No description provided.