Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node: start and stop block service by notification from lifecycle #158

Merged

Conversation

vgonkivs
Copy link
Member

I have added both OnStart and OnStop hooks from block service and now it could not start/stop manually.

Closes #134

service/block/service.go Outdated Show resolved Hide resolved
node/services/service.go Outdated Show resolved Hide resolved
node/services/service.go Outdated Show resolved Hide resolved
node/services/service.go Outdated Show resolved Hide resolved
node/services/service.go Outdated Show resolved Hide resolved
node/services/service.go Outdated Show resolved Hide resolved
@Wondertan
Copy link
Member

Wondertan commented Nov 2, 2021

@vgonkivs, last thing: pls squash your commits here into one(and force push it) and the PR is done 👍🏻

@vgonkivs vgonkivs force-pushed the pass_lifecycle_to_block_service branch from f82c315 to 20fa816 Compare November 2, 2021 21:06
@Wondertan
Copy link
Member

@renaynay, pls take a look

Copy link
Member

@renaynay renaynay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @vgonkivs

@Wondertan Wondertan merged commit 227cd99 into celestiaorg:main Nov 3, 2021
@vgonkivs vgonkivs deleted the pass_lifecycle_to_block_service branch June 6, 2022 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

service/block, node: Make services added to the node take a Lifecycle so they can be started via fx
3 participants