ditatompel / xmr-remote-nodes

Source code of https://xmr.ditatompel.com, a website that helps you monitor your favourite Monero remote nodes.
https://xmr.ditatompel.com
Other
11 stars 4 forks source link

Country seems wrong for my node. #85

Closed monerodice closed 2 months ago

monerodice commented 2 months ago

Country seems wrong for my node. Added a new node monerodice.pro:18089 node with public IP 147.45.79.135. https://xmr.ditatompel.com shows Russia, but https://www.iplocation.net/ip-lookup returns the United States for this IP address.

ditatompel commented 2 months ago

Hi, thanks for the report!

I use Maxmind's GeoIP databases for Geo IP lookup and the database I use is outdated.

Just updated our GeoIP databases and seems it shows the right location:

curl -sL 'https://xmr.ditatompel.com/api/v1/nodes?host=monerodice' | jq -r .data.items
[
  {
    "id": 239,
    "hostname": "monerodice.pro",
    "ip": "147.45.79.135",
    "port": 18089,
    "protocol": "https",
    "is_tor": false,
    "is_available": true,
    "nettype": "mainnet",
    "height": 3218692,
    "adjusted_time": 1724086726,
    "database_size": 85899345920,
    "difficulty": 309961606056,
    "version": "",
    "uptime": 100,
    "estimate_fee": 20000,
    "asn": 210644,
    "asn_name": "Aeza International Ltd",
    "cc": "US",
    "country_name": "United States",
    "city": "Los Angeles",
    "latitude": 0,
    "longitude": 0,
    "date_entered": 1723985242,
    "last_checked": 1724087491,
    "last_check_statuses": [
      1,
      1,
      1,
      1,
      1
    ],
    "cors": false
  },
  {
    "id": 238,
    "hostname": "monerodice.pro",
    "ip": "147.45.79.135",
    "port": 18089,
    "protocol": "http",
    "is_tor": false,
    "is_available": true,
    "nettype": "mainnet",
    "height": 3218691,
    "adjusted_time": 1724086507,
    "database_size": 85899345920,
    "difficulty": 309741627684,
    "version": "",
    "uptime": 100,
    "estimate_fee": 20000,
    "asn": 210644,
    "asn_name": "Aeza International Ltd",
    "cc": "US",
    "country_name": "United States",
    "city": "Los Angeles",
    "latitude": 0,
    "longitude": 0,
    "date_entered": 1723985211,
    "last_checked": 1724087371,
    "last_check_statuses": [
      1,
      1,
      1,
      1,
      1
    ],
    "cors": false
  }
]