Skip to content
Experimental mining project to combat inequality and climate change. Optimised CPU miner utilising KDB+.
q C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BTC-miner-opt2.q
BTC-miner-opt3.q
BTC-miner-testhash-opt.q
BTC-miner-testhash-opt2.q
BTC-miner-testhash.q
BTC-miner-testmerkle.q
BTC-miner-updates.q
BTC-miner-updates3.q
BTC-miner.q
LICENSE
README.md
bitcoind.q
c.o
cryptoq.q
cryptoq_binary.q
k.h
q-64.lib
q.lib
sha2.c
sha2.def
sha2.dll
sha2.so
sha2btc.c
sha2btc.def
sha2btc.so

README.md

QMiner

Optimised CPU miner for efficient deployment on every device.

  • KDB+ is lightweight, cross-platform, independent and the most powerful CPU parallel processing database for mass real-time co-ordinaton.

Why CPU ? - CPU miners are more energy efficient and mass accessible.

Why co-ordinate ? - Instead of an exponentially increasing hash power competition, we can have an energy efficient co-ordinated effort. i.e. less waste.

What is the incentive ? - Positive incentive feedback structures are important for sustainability and popularity. Here is my proposed structure:

1 % - Who-ever finds the solution for the current block first.

39 % - Split proportionally to the resources dedicated to mining the current block.

30 % - Universal income, claimable daily by low income families accross the planet.

30 % - Earth care trust, claimable by environmental revival projects.

How it works

1 low latency server. Multiple CPU clients.

Prerequisites:

Server:

Bitcoin full node

Server and clients:

KDB+ (https://kx.com/connect-with-us/download/)

C compiler - compatible with your KDB version

(q.lib for 64 bit if your KDB version is 64 bit)

Setup:

Compile C sha2 libraries

  • Windows dll compilation using VS: cl /LD /DKXVER=3 sha2.c sha2.def q.lib
  • Linux so compilation using gcc: gcc -m32 -D KXVER=3 -Wall -fno-strict-aliasing -Wno-parentheses -g -O2 -shared -fPIC -o sha2btc.so sha2btc.c

Edit rpc-username, rpc-password (and your-public-key-hash) in BTC-miner-updates3.q

Edit your-server-ip in BTC-miner-opt3.q

Server:

Start bitcoin node and wait for sync.

Load a q instance with some slaves e.g. q -s 4

Start the q server interface

\l BTC-miner-updates3.q

Clients:

Load a q instance with some slaves e.g. q -s 8

Start the q miner

\l BTC-miner-opt3.q

Roadmap

Include all sensible crypto currencies. My order preference:

Security:

  1. Bitcoin
  2. Litecoin

Scalability:

  1. Nano
  2. Stellar

Privacy:

  1. ZCash
  2. Monero

Karma jar

BTC - 112eMCQJUkUz7kvxDSFCGf1nnFJZ61CE4W

LTC - LR3BfiS77dZcp3KrEkfbXJS7U2vBoMFS7A

ZEC - t1bQpcWAuSg3CkBs29kegBPXvSRSaHqhy2b

XLM - GAHK7EEG2WWHVKDNT4CEQFZGKF2LGDSW2IVM4S5DP42RBW3K6BTODB4A Memo: 1015040538

Nano - nano_1ca5fxd7uk3t61ghjnfd59icxg4ohmbusjthb7supxh3ufef1sykmq77awzh

XRP - rEb8TK3gBgk5auZkwc6sHnwrGVJH8DuaLh Tag: 103535357

EOS - binancecleos Memo: 103117718

Recommended links

Getting started - Coinbase - https://www.coinbase.com/join/bradle_6r

Portfolio balance - Binance - www.binance.com/en/register?ref=LTUMGDDC

Futures trading - Deribit - https://www.deribit.com/reg-8106.6912

Cold wallet - https://atomicWallet.io?kid=12GR52 (promo 12GR52) - https://hodler.tech/

Learn to earn - Stellar courses for coinbase users - https://coinbase.com/earn/xlm/invite/vps5dfzt - EOS - https://coinbase.com/earn/eos/invite/xdbgswqk

You can’t perform that action at this time.