Skip to content

Implementation of Connectivity and Configuration Verification Functions #2

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
merged 15 commits into from
Nov 15, 2023

Conversation

Koba42Corp
Copy link
Contributor

@Koba42Corp Koba42Corp commented Nov 10, 2023

This PR introduces new functionalities aimed at verifying network connectivity and configuration settings for systems using DataLayer via SproutCli. These utilities are essential for ensuring proper interaction with the DataLayer, facilitating file propagation checks, and verifying local configuration settings against expected parameters.

Core Functionalities:

Public IP Address Retrieval (getPublicIpv4 Function):

Retrieves the public IPv4 and IPv6 addresses of the system.
This function is crucial for establishing the system's visibility to the Chia DataLayer, ensuring that it can correctly interact with external services.

DataLayer Server Connectivity Check (checkFilePropagationServerReachable Function):

Confirms the system's ability to connect to the Chia DataLayer's API endpoint.
Conducts separate connectivity checks for both IPv4 and IPv6 addresses, enabling a thorough evaluation of network accessibility.

Local Configuration Verification (checkChiaConfigIpHost Function):

Verifies key settings within the local Chia configuration file.
This check ensures that the system's configuration aligns with the requirements for optimal interaction with the Chia DataLayer.

Expected Results:

The CLI should log all results. Errors are no blocking logs.

@Koba42Corp Koba42Corp changed the title WIP - Implementing check-requirements Handler in ChiaSproutCli for Configuration and Network Reachability Checks Implementation of Chia Node Connectivity and Configuration Verification Functions Nov 14, 2023
@Koba42Corp Koba42Corp changed the title Implementation of Chia Node Connectivity and Configuration Verification Functions Implementation of Connectivity and Configuration Verification Functions Nov 14, 2023
@MichaelTaylor3D MichaelTaylor3D merged commit 39ade2e into MichaelTaylor3D:main Nov 15, 2023
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