Help me to help you support Grin!

@davidtavarez

Hi.
I see that there were about 10 nodes deployed in Amsterdam, yet Grinnode.live currently only shows 3. what could cause this? is that a network issue or a host issue ?

It is not the same code. What you see in Grinnode.live is a count of total inbound and outbound Grin-Nodes connections.

If you want to see a count of all of the nodes you should go here https://nodes.grincc.mw/

3 Likes

I was going to ask the same question :smiley:

Thanks for the info David!

If you are using Grin++ and want to use the nodes, please, find server_config.json file and replace the content with this:

{
	"P2P" : 
	{
		"MAX_PEERS" : 60,
		"MIN_PEERS" : 8,
		"PREFERRED_PEERS" : 
		[
			"188.68.36.183",
			"188.68.49.23",
			"192.3.153.60",
			"217.160.242.228",
			"217.160.66.118",
			"212.227.210.43",
			"93.90.194.26",
			"82.165.107.169",
			"45.156.22.227",
			"45.156.21.8",
			"194.116.216.213",
			"89.58.0.69",
			"23.94.220.240",
			"107.175.221.215",
			"23.94.105.34",
			"107.174.93.181",
			"23.94.120.32",
			"75.127.9.248",
			"107.174.93.165",
			"107.174.172.157",
			"23.94.220.239",
			"75.127.9.247",
			"107.174.176.161",
			"23.94.216.223",
			"23.94.220.238",
			"107.174.93.160",
			"192.3.153.163",
			"66.42.124.255",
			"192.3.62.235",
			"192.3.254.163",
			"23.94.120.31",
			"23.94.101.24",
			"23.94.107.192",
			"23.94.105.33",
			"23.94.120.30",
			"107.174.63.210",
			"149.28.160.219"
		]
	},
	"WALLET" : 
	{
		"DATABASE" : "SQLITE",
		"MIN_CONFIRMATIONS" : 8
	}
}
4 Likes

If you are using grin and want to use the nodes, please, find grin-server.toml file, uncomment peers_preferred and replace the content with this:

peers_preferred = ["188.68.36.183", "188.68.49.23", "192.3.153.60", "217.160.242.228", "217.160.66.118", "212.227.210.43", "93.90.194.26", "82.165.107.169", "45.156.22.227", "45.156.21.8", "194.116.216.213", "89.58.0.69", "23.94.220.240", "107.175.221.215", "23.94.105.34", "107.174.93.181", "23.94.120.32", "75.127.9.248", "107.174.93.165", "107.174.172.157", "23.94.220.239", "75.127.9.247", "107.174.176.161", "23.94.216.223", "23.94.220.238", "107.174.93.160", "192.3.153.163", "66.42.124.255", "192.3.62.235", "192.3.254.163", "23.94.120.31", "23.94.101.24", "23.94.107.192", "23.94.105.33", "23.94.120.30", "107.174.63.210", "149.28.160.219"]
2 Likes

Opening Grin++ after 8 days, port is open, 12 :arrow_up: / 2 :arrow_down:, list of nodes added , 12K blocks behind, took an hour of syncing.
Not great.

Nice I’m syncing my grin “core” node now, And it is going super slow with low peers. I am going to try this now

If you are in Europe, use this list for Grin++:

{
   "P2P":{
      "MAX_PEERS":60,
      "MIN_PEERS":8,
      "PREFERRED_PEERS":[
         "188.68.36.183",
         "188.68.49.23",
         "217.160.242.228",
         "217.160.66.118",
         "212.227.210.43",
         "93.90.194.26",
         "82.165.107.169",
         "89.58.0.69",
         "23.94.220.240",
         "23.94.105.34",
         "23.94.120.32",
         "23.94.220.239",
         "23.94.216.223",
         "23.94.220.238",
         "23.94.120.31",
         "23.94.101.24",
         "23.94.107.192",
         "23.94.105.33",
         "23.94.120.30"
      ]
   },
   "WALLET":{
      "DATABASE":"SQLITE",
      "MIN_CONFIRMATIONS":8
   }
}

and for grin-wallet in Europe:

peers_preferred = ["188.68.36.183","188.68.49.23","217.160.242.228","217.160.66.118","212.227.210.43","93.90.194.26","82.165.107.169","89.58.0.69","23.94.220.240","23.94.105.34","23.94.120.32","23.94.220.239","23.94.216.223","23.94.220.238","23.94.120.31","23.94.101.24","23.94.107.192","23.94.105.33","23.94.120.30"]
1 Like

If you are in America, for Grin++ use this list:

{
   "P2P":{
      "MAX_PEERS":60,
      "MIN_PEERS":8,
      "PREFERRED_PEERS":[
         "192.3.153.60",
         "107.175.221.215",
         "192.3.153.163",
         "75.127.9.248",
         "75.127.9.247",
         "107.174.63.210",
         "192.3.254.163",
         "192.3.62.235",
         "66.42.124.255",
         "107.174.93.160",
         "75.127.9.247",
         "107.174.172.157",
         "107.174.93.165"
      ]
   },
   "WALLET":{
      "DATABASE":"SQLITE",
      "MIN_CONFIRMATIONS":8
   }
}

For grin-wallet in America:

peers_preferred = ["192.3.153.60","107.175.221.215","192.3.153.163","75.127.9.248","75.127.9.247","107.174.63.210","192.3.254.163","192.3.62.235","66.42.124.255","107.174.93.160","75.127.9.247","107.174.172.157","107.174.93.165"]
1 Like

For those Grin++ users in Russia and Ukraine:

{
   "P2P":{
      "MAX_PEERS":60,
      "MIN_PEERS":8,
      "PREFERRED_PEERS":[
         "45.156.22.227",
         "45.156.21.8",
         "194.116.216.213"
      ]
   },
   "WALLET":{
      "DATABASE":"SQLITE",
      "MIN_CONFIRMATIONS":8
   }
}

And for grin-wallet in Russia and Ukraine:

peers_preferred = ["45.156.22.227","45.156.21.8","194.116.216.213"]

Yeah… so why is it still so slow?

I do not know, maybe peers were banned for some reason. What you can do is this:

  1. Close Grin++
  2. Delete the content of the peers folder (~/.GrinPP/MAINNET/NODE/DB/PEERS)
  3. Make sure you are using the Europe list if you are in Europe.
  4. Open Grin++

Preferred peers means that the node will use that list to try to connect to them initially. You can also change the field name to ALLOWED_PEERS so your node will only connected to the peers in the list, but I do not recommend that.

2 Likes

Big help for my most recent sync. Cut the initial download time in half, if not more (due to otherwise slow or unreliable peers.)

I will say for the grin-wallet/node you have to add “:3414” at the end of any preferred IP address, otherwise you will get an error on startup from the toml “cannot parse DNS” (or something like that.)

3 Likes

I’ve mostly been helping by mining but would like to setup a node too.

1 Like