Skip to content

feat(service): exit when params init failed #6233

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

Merged

Conversation

halibobo1205
Copy link
Contributor

What does this PR do?
Exit when params init failed:

  1. The node is witness, but no private key is configured
  2. The configured rate limiter is not working as expected.
  3. Configured auto-stop block time parsing error

Why are these changes required?

To ensure a healthy node startup, exit in time when the user input parameters are not as expected.

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

@halibobo1205 halibobo1205 force-pushed the feat/services_init_opt branch from da88522 to 3d1eb7b Compare March 11, 2025 07:03
 1. The node is witness, but no private key is configured
 2. The configured rate limiter is not working as expected.
 3. Configured auto-stop block time parsing error
@CodeNinjaEvan CodeNinjaEvan merged commit 8ca7085 into tronprotocol:release_v4.8.0 Mar 12, 2025
6 checks passed
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.

4 participants