Skip to content

0xf0xx0/pogolo

Repository files navigation

/pogolo - decentralize or die/

solo db-less bitcoin-only mining pool
meant for lan swarms, not the internet
think of this as public-pool but minimal and for self-sovereign nerds
infinite thanks to btcd for bitcoin tooling and public-pool for reference
start it, point your miners to it, and watch the logs roll by

features

  • colorful logs (respects NO_COLOR)
  • api (see api.go, swagger spec eventually in 1.0.0)
  • set a default address to mine to, no more ctrl+c ctrl+v ctrl+v ctrl+v ctrl+v ctrl+v
  • btcd websocket support
  • longpolling (i think) borked
  • 9-12ms share processing time, up to 4.3-5.2k shares/sec/client

supported BIPs

  • 34
  • 41 (probably)
  • 310 (minus info and subscribe-extranonce)
  • 320

supported miners

  • *axe family (bitaxe, nerd*axe)
  • cpuminer

supported backends

  • bitcoin core (http POST)
  • btcd (http and ws, no tls support)

unsupported

  • miners requiring extranonce.subscribe
  • luckyminers
  • stratum v2

setup

install

git clone https://git.0xf0xx0.eth.limo/0xf0xx0/pogolo.git
cd pogolo
go build
go install
# config
mkdir $XDG_CONFIG_HOME/pogolo
pogolo --writedefaultconf $XDG_CONFIG_HOME/pogolo/pogolo.toml # or copy pogolo.example.toml to `$XDG_CONFIG_HOME/pogolo/pogolo.toml`
# then configure the interface, backend, and auth

run

pogolo

miner config

host: stratum+tcp://<your lan ip>:5661
username: <your onchain address>[.<worker name>]
password: [required if set in pogolo.toml]
suggested diff: [optional]

the onchain address is also optional if the pool has a default configured.

benchmarking

to reproduce shares/s result:

  1. set benchmark = true in your config
  2. connect with cpuminer (preferably from a different machine) and watch the shares fly

TODO

About

solo db-less bitcoin-only mining pool, meant for lan swarms

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published