remove nodes not pingable

This commit is contained in:
2023-07-15 00:07:14 +01:00
parent 9caf6cde07
commit 263275d80c
4 changed files with 25 additions and 6 deletions

View File

@@ -150,6 +150,15 @@ func UpdateIpTableListClient() error {
return nil
}
func RemoveOfflineNodes() error {
// Ensure that the IP Table has Node pingable
err := p2p.LocalSpeedTestIpTable()
if err != nil {
return err
}
return nil
}
// SendPostRequest Sends a file as a
//POST request.
// Reference (https://stackoverflow.com/questions/51234464/upload-a-file-with-post-request-golang)