

Extract top peers
source link: https://gist.github.com/bogatyy/d4cafa354e0c2e04809ce527f616a476
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

hello,
i have a problem to get a result in trusted.json.
only this is in the trusted.json after runing with "python3 extract_top_peers"
my geth-log.txt give me these lines:
...
INFO [01-20|10:02:03.848] Peers:
INFO [01-20|10:02:03.848] Peer: id=139b1d5faf2339bbfe1280a105c42c639f5e6e826e20268d0428fe0ab32d10ce enode=enode://68814e6a27fad242efdbcb5cf9c74609d0db391feafe7135d6aa88f01490377b521582370d3d49e74a729ef2bb5dcdd641036257f767a5ec6efbc5b4ebeb6830@84.17.42.218:30303 importedBlocksFrom=0 totalBroadcastsTo=4 broadcastsToWithoutBlock=4
,,,
for an example.
so where is the bug oder error?
i use ubuntu 18 with python or python 3.6
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK