Giter Club home page Giter Club logo

ashwanirajan / bitcoin-mining-pool-detection-and-identifying-anomalies Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.44 MB

Bitcoin provides an extra level of anonymity for the identities of the users, since the user addresses are hashed. A Mining pool is the pooling of resources by miners, who share their processing power over a network, to split the reward equally, according to the amount of work they contributed to the probability of finding a block. I attempt to create a classifier model which identifies the mining pools from other users and then detects anomalies in these mining pools.

Python 100.00%

bitcoin-mining-pool-detection-and-identifying-anomalies's Introduction

Bitcoin-Mining-Pool-Detection-and-Identifying-Anomalies

Bitcoin provides an extra level of anonymity for the identities of the users, since the user addresses are hashed. A Mining pool is the pooling of resources by miners, who share their processing power over a network, to split the reward equally, according to the amount of work they contributed to the probability of finding a block. I attempt to create a classifier model which identifies the mining pools from other users and then detects anomalies in these mining pools.

Please run the Script.py file.

Script.py file takes "miningdata.csv" as input and performs analysis on the data. "miningdata.csv" is bitcoin historic data made available online by Google Cloud Platform through Big Query API.

I used the following SQL query to select a few numeric attributes with miner/non-miner labels and addresses and then downloaded the data in csv format.(https://gist.github.com/allenday/16cf63fb6b3ed59b78903b2d414fe75b) Please select the attributes as required.

Read "Report.pdf" for a detailed explanation of the code and the results.

The code returns two image files after running "feature_imp.png" and "anomaly.png". They are shown in the report as well.

bitcoin-mining-pool-detection-and-identifying-anomalies's People

Contributors

ashwanirajan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.