GithubHelp home page GithubHelp logo

csxqli / newkidsontheblock Goto Github PK

View Code? Open in Web Editor NEW

This project forked from modernblockchains/newkidsontheblock

0.0 2.0 0.0 10.25 MB

Source code for IMC 2016 submission

Shell 0.21% Python 4.35% CMake 1.56% Makefile 0.19% Ruby 0.07% Go 74.52% JavaScript 1.26% C++ 2.95% C 14.61% M4 0.24% Java 0.05%

newkidsontheblock's Introduction

newkidsontheblock

This is the repository for our IMC 2016 submission. It contains the source code we used to

  • extract data for the blockchains
  • run the Ethereum crawler

Data extraction

NMC, PPC, and BTC data are extracted using the official daemons, running in Docker instances. We provide Dockerfiles.

Our extractors are intended for use with an AMQP server that couples them to a database. We provide an extractor to write to AMQP (using pika) and then, on the other machine, we provide the writer to the database (using pika and psycopg2). Note that the extraction process is not meant to run in bulk mode (unless you have a bit of time, i.e. one week in the case of BTC). We INSERT and use a SELECT to determine the transaction volume and fees on the fly.

An AMQP server is provided as a Dockerfile for rabbitmq.

The Ethereum extractor is different: it extracts from disk (rather than using JSON-RPC to query a daemon). It comes with a Dockerfile.

Ethereum crawler

The crawler is essentially a modified version of geth. It should run stand-alone.

Contact

Please contact us at [email protected] for any questions you might have in trying out the code.

newkidsontheblock's People

Contributors

modernblockchains 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.