Git Product home page Git Product logo

fairpool-simple-logger's Introduction

Fairpool-simple-logger

Simple python script for pulling information from fairpool mining pool.

Description

This is a very simple script for tracking the network as well as miner stats on the fairpool pool. I've only used this with their Sumo pool but its possible it would work for their other coins. I just haven't checked out their other coins API.

Usage

This script can output in two formats. CSV and a sqlite database. To change what you would prefer simple change the sqlite/CSV boolean from True to false to disable. Or vice versa to enable it. The csv should work for just about everyone so I disabled the sqlite db output by default.

I run this on a linux machine in AWS that is initiated hourly via a cron job. For reference my cron job is "0 */1 * * * /usr/bin/python3 /home/ubuntu/logger.py"

It can be run at your own schedule. A faster timeframe would give you a better picture of your hashing speeds but I'm more concerned with coin growth and total network performance than hash rates.

Sumokoin donations are not expected but welcome at: SuboK3RBj8BU4bVTQBwE1pXhszkfrRGn53CFfE7Usf2YbdNhrAGqDcDHTBGWbFvzjzRkFs7bVLFf5cmRFhrsJy25ALsYhVxemo

Future plans

I'm open to suggestions if anybody has any opinions or requests that they think would make it better or more powerful. I asked the fairpool admin's for permission to release this and they were fine with it with the information that they may need to change the API at some point. They didn't see that happenning but I would likely update this as well if I'm still using it.

Going forward I'd like to build a web UI possibly with graphs to show current and projected growth as well as seperate miners actions. This is low priority unless someone really wanted this.

The way I've built this I don't think it would handle multiple miners on one address very well. I only have one currently on the same address so I can't confirm its behavior. Its a dam simple script so take it with a grain of salt. I plan to fix this later.

License

Released under the Apache license with no implied guarantee.

fairpool-simple-logger's People

Contributors

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