gochain / netstats

GNU General Public License v3.0
4 stars 4 forks source link

trusted locations #32

Closed jmank88 closed 6 years ago

jmank88 commented 6 years ago

This PR let's us define the trusted list with a configuration file (instead of being hard coded), and expands it to include location data as well, so that we can correct the current misinformation from the automated lookup.

Example trusted.json:

{
  "::ffff:127.0.0.1": {
    "country": "USA",
    "ll": [-10,15.1],
    "city": "Chicago"
  }
}

The interface was also rearranged, map enlarged, and the gas limit chart swapped out for difficulty, which is interesting again since the clique protocol change. screenshot from 2018-08-20 17-50-16

Towards #29

r-gochain commented 6 years ago

LGTM

jmank88 commented 6 years ago

Min width lowered from 1200px to 1000px (any lower and the table breaks down): screenshot from 2018-08-21 10-55-23 @1200px: screenshot from 2018-08-21 10-55-41 @1600px: screenshot from 2018-08-21 10-55-53