Giter Club home page Giter Club logo

game-boy-ntgbtminer's Introduction

ntgbtminer - Game Boy edition

This is a version of ntgbtminer that works with the Game Boy bitcoin miner.

ntgbtminer

ntgbtminer is a no thrills getblocktemplate Bitcoin miner. It is not performant, but demonstrates basic use of the getblocktemplate protocol for a standalone Bitcoin miner. It has no dependencies outside of standard Python libraries and a JSON-HTTP connection to your local Bitcoin daemon.

Donations are welcome at 15PKyTs3jJ3Nyf3i6R7D9tfGCY1ZbtqWdv :)

Usage

  • Configure rpcuser and rpcpass in ~/.bitcoin/bitcoin.conf

  • Start bitcoind

$ bitcoind -testnet -daemon
  • Run ntgbtminer
$ RPC_USER=bitcoinrpc RPC_PASS=foobar RPC_URL="http://127.0.0.1:18332" \
    python3 ntgbtminer.py "Hello from vsergeev!" "mr9zpiUkvGukpg1uZ99NdAxwJmuSYYmNA3"

License

ntgbtminer is MIT licensed. See the provided LICENSE file.

game-boy-ntgbtminer's People

Contributors

fraccaman avatar justintarthur avatar nezza avatar vsergeev avatar zeeshanyousaf094 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

Watchers

 avatar  avatar

game-boy-ntgbtminer's Issues

error in the code

i think it is my fault but i got this error how do i fix this?

..E.......

ERROR: test_block_mine (main.TestBlock)

Traceback (most recent call last):
File "test_ntgbtminer.py", line 256, in test_block_mine
mined_block, hash_rate = ntgbtminer.block_mine(block_vector, coinbase_message, 0, address, timeout=1, debugnonce_start=2315460000)
TypeError: block_mine() missing 1 required positional argument: 'serial_port'


Ran 10 tests in 0.001s

FAILED (errors=1)

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.