/c64-ntgbtminer

The (Python-based) mining software required for the Game Boy mining project.

Primary LanguagePythonMIT LicenseMIT

ntgbtminer - C64 serial port edition

This is a version of ntgbtminer that works with C64 serial port (1200 8N1) data transmitted over TCP sockets from VICE x64 emulator.

With tiny changes it will work with real serial port devices.

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.