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

Misc improvements in node gui. #1869

Open
wants to merge 2 commits into
base: refactor/upgrade-iced-version
Choose a base branch
from

Conversation

ImplOfAnImpl
Copy link
Contributor

A bunch of minor improvements in node-gui:

  • When the network type is passed from the command line, the app will actually use it, without asking the user.
  • Some expects were replaced with errors to avoid crashes, e.g. when a second node is started with a separate data directory but the same p2p listening port.
    I also tried improving the error messages a bit, though they're still not very specific (e.g. if the port is busy, it'll say "Error subscribing to P2P events: Callee subsystem did not respond").
  • Logging is now initialized in the cold mode too (only the console logging is enabled though). The app will also print a warning to the log when the log-to-file or clean-data options are specified in the cold mode.
  • The message "Data directory is now clean ... Please restart the node" is no longer shown as an error.
  • The log-to-file option was moved from RunOptions to the top-level options, as we discussed. (The clean-data option is still in RunOptions)
  • I also prettified MintlayerNodeGUI a bit and renamed it to GuiState.

OBorce and others added 2 commits January 20, 2025 14:25
* When the network type is passed from the command line, the app will actually use it, without asking the user.
* Some `expect`s were replaced by errors to avoid crashes.
* Logging is now initialized in the cold mode too (only the console logging is enabled). The app will also print a warning to the log when the log-to-file or clean-data options are specified in the cold mode.
* The message "Data directory is now clean ... Please restart the node" is no longer shown as an error.
* The log-to-file option was moved from RunOptions to the top-level options.
@OBorce OBorce force-pushed the refactor/upgrade-iced-version branch from 3c6c9da to eff8579 Compare January 22, 2025 19:57
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.

3 participants