Coder Social home page Coder Social logo

bitcoin-phpminer's Introduction

Bitcoin phpMiner

phpMiner uses CPU and it is slower than normal CPU miner. I didn't know it untill I made it, but that wasn't the goal. The goal was to be able to mine on server without much trouble and to run this on for example a webhost.

Run test.php for testcase.

Look in work.php for example how to use.

The proxy.php should have URI "/"

I am open for improvements and feedback.

Usage

Via CLI:

Edit settings in work.php and run

php work.php

or Via Browser:

Visit work.php-page

Donate

Feel free to donate. 1NibBDZPvJCm568CZMnJUBJoPyUhW7aSag This will keep me continue improving and updating, Thanks!

Change log

2013-08-04 - v1.0.1

  • Fix warning notices in PHP 5.5

2011-06-18 - v1.0

  • First commit

bitcoin-phpminer's People

Contributors

codler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bitcoin-phpminer's Issues

cURL only gets Empty Replies from Server. Wrong configs?

First, I wanted to say, that I really like your (codler) work and it is impressive, that you managed to write a whole Bitcoin Miner in PhP.

So, my issue is, that since the old pool (http://pit.deepbit.net/) is dead it cant be mined on anymore. I tried to use a new pool (btc.f2pool.com:3333) but I cant seem to get the miner to work.
My Configs are:
$host = 'btc.f2pool.com';
$port = 3333;
$user = 'fortbruh1';
$pass = 'password here';

The Pool I tried to mine from suggests, that you should use "stratum+tcp://btc.f2pool.com:3333" as the Pool URL. This wont work since stratum+tcp:// cant be at the front and the Port 3333 already has its own Variable in the PhP Code.
I tried a lot of combinations, but cant seem get rid of the "Fatal error: Uncaught Exception: curl:CURL error : Empty reply from server in" Exception.

Maybe it wont work at all because the Bitcoin-phpMiner is too outdated, but I hope there is someone who understands the configurations for this Miner better than I do and can help me out.

Thanks! :)

make it work

I noticed the original pool this was built for is down. Will this work with other pools, such as slushpool?

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.