<commit_before>// (c) 2019-2020, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package genesis

import (
	"github.com/ava-labs/avalanchego/utils/constants"
	"github.com/ava-labs/avalanchego/utils/sampler"
)

// getIPs returns the beacon IPs for each network
func getIPs(networkID uint32) []string {
	switch networkID {
	case constants.MainnetID:
		return []string{
			"172.16.17.32:9651",
			"172.16.17.32:9651",
			"192.168.127.12:9651",
			"172.16.58.3:9651",
			"172.16.31.10:9651",
			"172.16.58.3:9651",
			"192.168.3.11:9651",
			"172.16.17.32:9651",
			"192.168.127.12:9651",
			"192.168.127.12:9651",
			"172.16.58.3:9651",
			"172.16.17.32:9651",
			"192.168.3.11:9651",
			"192.168.127.12:9651",
			"192.168.127.12:9651",
			"172.16.58.3:9651",
			"192.168.127.12:9651",
			"172.16.17.32:9651",
			"192.168.3.11:9651",
			"192.168.3.11:9651",
			"172.16.17.32:9651",
			"192.168.127.12:9651",
			"172.16.17.32:9651",
			"172.16.58.3:9651",
		}
	case constants.FujiID:
		return []string{
			// TODO: change ports to 9651
			"172.16.17.32:21001",
			"192.168.3.11:21001",
			"172.16.17.32:21001",
			"172.16.17.32:21001",
			"192.168.127.12:21001",
			"172.16.58.3:21001",
			"172.16.17.32:21001",
			"192.168.3.11:21001",
			"172.16.31.10:21001",
			"172.16.58.3:21001",
			"172.16.17.32:21001",
			"172.16.17.32:21001",
			"172.16.58.3:21001",
			"172.16.17.32:21001",
			"192.168.127.12:21001",
			"192.168.127.12:21001",
			"192.168.3.11:21001",
			"192.168.127.12:21001",
			"192.168.127.12:21001",
			"192.168.3.11:21001",
			// TODO: add "192.168.3.11:21001",
		}
	default:
		return nil
	}
}

// getNodeIDs returns the beacon node IDs for each network
func getNodeIDs(networkID uint32) []string {
	switch networkID {
	case constants.MainnetID:
		return []string{
			"NodeID-A6onFGyJjA37EZ7kYHANMR1PFRT8NmXrF",
			"NodeID-6SwnPJLH8cWfrJ162JjZekbmzaFpjPcf",
			"NodeID-GSgaA47umS1px2ohVjodW9621Ks63xDxD",
			"NodeID-BQEo5Fy1FRKLbX51ejqDd14cuSXJKArH2",
			"NodeID-Drv1Qh7iJvW3zGBBeRnYfCzk56VCRM2GQ",
			"NodeID-DAtCoXfLT6Y83dgJ7FmQg8eR53hz37J79",
			"NodeID-FGRoKnyYKFWYFMb6Xbocf4hKuyCBENgWM",
			"NodeID-Dw7tuwxpAmcpvVGp9JzaHAR3REPoJ8f2R",
			"NodeID-4kCLS16Wy73nt1Zm54jFZsL7Msrv3UCeJ",
			"NodeID-9T7NXBFpp8LWCyc58YdKNoowDipdVKAWz",
			"NodeID-6ghBh6yof5ouMCya2n9fHzhpWouiZFVVj",
			"NodeID-HiFv1DpKXkAAfJ1NHWVqQoojjznibZXHP",
			"NodeID-Fv3t2shrpkmvLnvNzcv1rqRKbDAYFnUor",
			"NodeID-AaxT2P4uuPAHb7vAD8mNvjQ3jgyaV7tu9",
			"NodeID-kZNuQMHhydefgnwjYX1fhHMpRNAs9my1",<commit_msg>updated ports<commit_after>// (c) 2019-2020, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package genesis

import (
	"github.com/ava-labs/avalanchego/utils/constants"
	"github.com/ava-labs/avalanchego/utils/sampler"
)

// getIPs returns the beacon IPs for each network
func getIPs(networkID uint32) []string {
	switch networkID {
	case constants.MainnetID:
		return []string{
			"172.16.17.32:9651",
			"172.16.17.32:9651",
			"192.168.127.12:9651",
			"172.16.58.3:9651",
			"172.16.31.10:9651",
			"172.16.58.3:9651",
			"192.168.3.11:9651",
			"172.16.17.32:9651",
			"192.168.127.12:9651",
			"192.168.127.12:9651",
			"172.16.58.3:9651",
			"172.16.17.32:9651",
			"192.168.3.11:9651",
			"192.168.127.12:9651",
			"192.168.127.12:9651",
			"172.16.58.3:9651",
			"192.168.127.12:9651",
			"172.16.17.32:9651",
			"192.168.3.11:9651",
			"192.168.3.11:9651",
			"172.16.17.32:9651",
			"192.168.127.12:9651",
			"172.16.17.32:9651",
			"172.16.58.3:9651",
		}
	case constants.FujiID:
		return []string{
			"172.16.17.32:9651",
			"192.168.3.11:9651",
			"172.16.17.32:9651",
			"172.16.17.32:9651",
			"192.168.127.12:9651",
			"172.16.58.3:9651",
			"172.16.17.32:9651",
			"192.168.3.11:9651",
			"172.16.31.10:9651",
			"172.16.58.3:9651",
			"172.16.17.32:9651",
			"172.16.17.32:9651",
			"172.16.58.3:9651",
			"172.16.17.32:9651",
			"192.168.127.12:9651",
			"192.168.127.12:9651",
			"192.168.3.11:9651",
			"192.168.127.12:9651",
			"192.168.127.12:9651",
			"192.168.3.11:9651",
			// TODO: add "192.168.3.11:9651",
		}
	default:
		return nil
	}
}

// getNodeIDs returns the beacon node IDs for each network
func getNodeIDs(networkID uint32) []string {
	switch networkID {
	case constants.MainnetID:
		return []string{
			"NodeID-A6onFGyJjA37EZ7kYHANMR1PFRT8NmXrF",
			"NodeID-6SwnPJLH8cWfrJ162JjZekbmzaFpjPcf",
			"NodeID-GSgaA47umS1px2ohVjodW9621Ks63xDxD",
			"NodeID-BQEo5Fy1FRKLbX51ejqDd14cuSXJKArH2",
			"NodeID-Drv1Qh7iJvW3zGBBeRnYfCzk56VCRM2GQ",
			"NodeID-DAtCoXfLT6Y83dgJ7FmQg8eR53hz37J79",
			"NodeID-FGRoKnyYKFWYFMb6Xbocf4hKuyCBENgWM",
			"NodeID-Dw7tuwxpAmcpvVG<KEY>",
			"<KEY>",
			"<KEY>",
			"<KEY>",
			"<KEY>",
			"<KEY>",
			"<KEY>",
			"<KEY>",
{'fraction_non_alphanumeric': 0.19093782929399367, 'fraction_numerical': 0.29209694415173865, 'mean_word_length': 3.5028462998102468, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 90, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '611821', 'n_tokens_mistral': 3490, 'n_tokens_neox': 2466, 'n_words': 259}