Skip to content

Visualizing Bitcoin Peers using ipython, pandas, and data from bitnode.io

Notifications You must be signed in to change notification settings

jnaulty/bitcoin-peers-discovery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Investigating Bitcoin Peer Data with bitnode.io and Ipython Notebooks

Author: John Naulty Jr.

Info

bitnode.io collects information on bitcoin peers and offers their API for free.

The creator has the source code for this project hosted on github at ayeowch/bitnodes.

Before I started running this code, I wanted to play around with the API.

These are the preliminary results.

Looking at the Data

World Statistics

Most popular country is the US Most popular network is Tor

png


           Country code Organization name
    count          9234              9234
    unique           96              1034
    top              US       Tor network
    freq           1854              1544
    
    Tor network                          0.167208
    Hetzner Online GmbH                  0.110461
    Amazon.com, Inc.                     0.076998
    DigitalOcean, LLC                    0.052415
    OVH SAS                              0.051115
    Comcast Cable Communications, LLC    0.021009
    Contabo GmbH                         0.019710
    Google LLC                           0.018302
    Alibaba (US) Technology Co., Ltd.    0.014620
    Charter Communications Inc           0.013537
    Name: Organization name, dtype: float64

Top ISP Provider / Network for World

png

Worldwide Distribution of Peers

png

US Statistics

US Distribution of Peers

png

US Distribution of Peers of Comcast Users

png

US ISP Distribution

png

ISP Distribution by State

Comcast Distribution

png

png

Amazon Distribution

png

Charter ISP Distribution

png

State Distribution by ISP

California ISP Distribution

png

Virginia ISP Distribution

png

New Jersey ISP Distribution

png

Texas ISP Distribution

png

Kansas ISP Distribution

png

Washington ISP Distribution

png

US State/ISP Comparison

us_intersection["NAME"].value_counts(normalize=True).nlargest(10)
California    0.199674
Virginia      0.105550
New Jersey    0.088139
Kansas        0.080522
Ohio          0.065832
Oregon        0.057671
Texas         0.054407
New York      0.044614
Washington    0.026115
Florida       0.024483
Name: NAME, dtype: float64

US State Distribution Graph

us_intersection[["NAME", "Organization name"]].groupby('NAME').describe()
<style scoped> .dataframe tbody tr th:only-of-type { vertical-align: middle; }
.dataframe tbody tr th {
    vertical-align: top;
}

.dataframe thead tr th {
    text-align: left;
}

.dataframe thead tr:last-of-type th {
    text-align: right;
}
</style>
Organization name
count unique top freq
NAME
Alabama 11 5 WideOpenWest Finance LLC 4
Arizona 27 12 Cox Communications Inc. 9
Arkansas 1 1 Comcast Cable Communications, LLC 1
California 367 43 Google LLC 71
Colorado 25 7 Comcast Cable Communications, LLC 13
Connecticut 10 5 Cablevision Systems Corp. 3
District of Columbia 5 4 MCI Communications Services, Inc. d/b/a Verizo... 2
Florida 45 14 Charter Communications, Inc 11
Georgia 32 8 AT&T Services, Inc. 13
Idaho 5 3 Cable One 2
Illinois 30 11 Comcast Cable Communications, LLC 15
Indiana 4 3 Comcast Cable Communications, LLC 2
Iowa 6 5 Mediacom Communications Corp 2
Kansas 148 50 Hurricane Electric LLC 22
Kentucky 2 2 Charter Communications Inc 1
Louisiana 1 1 AT&T Services, Inc. 1
Maine 5 2 Charter Communications Inc 4
Maryland 31 5 MCI Communications Services, Inc. d/b/a Verizo... 17
Massachusetts 37 8 Boston University 13
Michigan 23 6 Comcast Cable Communications, LLC 12
Minnesota 13 7 Comcast Cable Communications, LLC 4
Mississippi 1 1 BCI Mississippi Broadband,LLC 1
Missouri 35 10 Charter Communications 8
Montana 2 2 Charter Communications 1
Nebraska 2 2 Cox Communications Inc. 1
Nevada 21 10 Cox Communications Inc. 8
New Hampshire 10 3 Comcast Cable Communications, LLC 8
New Jersey 162 8 DigitalOcean, LLC 128
New Mexico 2 2 TULAROSA COMMUNICATIONS, INC. 1
New York 82 19 Charter Communications Inc 20
North Carolina 26 5 Charter Communications Inc 11
North Dakota 1 1 Cable One 1
Ohio 121 8 Amazon.com, Inc. 96
Oklahoma 6 3 Cox Communications Inc. 3
Oregon 106 10 Amazon.com, Inc. 86
Pennsylvania 38 12 MCI Communications Services, Inc. d/b/a Verizo... 15
Rhode Island 4 2 Cox Communications Inc. 3
South Carolina 14 9 Charter Communications Inc 3
Tennessee 7 5 Charter Communications 2
Texas 100 22 Charter Communications Inc 24
Utah 10 4 Unified Layer 5
Vermont 3 3 Comcast Cable Communications, LLC 1
Virginia 194 12 Amazon.com, Inc. 104
Washington 48 13 Comcast Cable Communications, LLC 21
West Virginia 1 1 Reliable Hosting Services 1
Wisconsin 11 5 Charter Communications Inc 6
Wyoming 3 2 Charter Communications 2

About

Visualizing Bitcoin Peers using ipython, pandas, and data from bitnode.io

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published