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

Expanded kernel CLI #949

Merged
merged 4 commits into from
Aug 12, 2019
Merged

Conversation

dev-dennis-guye
Copy link

@dev-dennis-guye dev-dennis-guye commented Aug 6, 2019

Description

This change adds support for command line configuration of the kernel.
Supported configuration changes:

  • enable/disable rpc api
  • enable/disable java api
  • enable/disable mining
  • enable/disable sync statistics
  • set state storage type
  • set database vendor
  • enable/disable database compression
  • set levels for logging information

This change required five additonal CLI options to be implemented:

  1. --edit consensus / -e consensus
  2. --edit log/ -e log
  3. --edit sync /-e sync
  4. --edit api / -e api
  5. --edit db/ -e db

Type of change

  • Bug fix.
  • New feature.
  • Enhancement.
  • Unit test.
  • Breaking change (a fix or feature that causes existing functionality to not work as expected).
  • Requires documentation update.

Testing

Relevant unit tests for the CLI parser and preprocessor were added to the CliTest.java and ArgumentsTest.java files.

@dev-dennis-guye dev-dennis-guye changed the title Cli cfg Expanded kernel CLI Aug 6, 2019
@dev-dennis-guye dev-dennis-guye merged commit 19589eb into aionnetwork:master Aug 12, 2019
@AionJayT AionJayT added this to the 0.4.2 milestone Oct 7, 2019
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.

2 participants