Skip to content

p2poolv2/p2poolv2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust CI Codecov

We chat on Matrix.

We use github wiki for most design documents and tools for developers.

We are tracking progress using our Github project: Reboot P2Pool.

See detailed Developer Setup Notes on the wiki.

P2Pool V2

Rebooting P2Pool

  1. Share chain with uncles - all your work is accounted for.

  2. Pay large miners in coinbase - non custodial solution for top N miners.

  3. Support transactions - pay all miners with atomic swaps by market makers.

  4. Market makers buy shares from smaller miners - earning virgin coins.

Run with Docker

All docker commands are run from the docker directory.

Start your local p2pool node:

docker compose up -d

Shutdown your local p2pool node:

docker compose down

Run individual docker containers

During development, you may want to run individual containers.

Remember, all docker commands are run from the docker directory.

Start bitcoind signet

docker compose up bitcoind

Start p2poolv2

docker compose up p2pool

Start cpuminer to start producing shares

docker compose up cpuminer

Developer Setup

To ease development of p2pool’s rust node, there is a devcontainer setup in place. You can use it for IDEs supporting devcontainers and github codespaces.

MSRV and Edition

MSRV 1.88 with 2024 edition is required to build p2poolv2.

Masochistic Setup

Follow the guidelines below to setup your local p2pool node. Note, these are not setup instructions, and we do not support masochistic setups. You are on your own.

  1. Setup bitcoind

    1. Use docker/bitcoin-signet.conf as your bitcoin.conf

  2. Setup p2poolv2

    1. Use src/config.toml as starting point for your own config.toml

  3. Point your miners to localhost:3333

About

P2Poolv2 - Rebooting P2Pool for Bitcoin

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 5