The goals of the pool are:
- Lower variance for independent miners, even when large miners join the pool.
- Miners build their own blocks, just like in p2pool.
- Payouts require a constant size blockspace, independent of the number of miners on the pool.
- Provide building blocks for enabling a futures market of hash rates.
To run tests for the braidpool node, use the usual cargo
test utility.
cd node
cargo test
We are using codecov in the CI workflow. To set codecov locally, you will need to install llvm-codecov and then you'll be able to run it.
Installation cargo +stable install cargo-llvm-cov --locked
or follow
instructions here: https://github.com/taiki-e/cargo-llvm-cov.
Running test with coverage reports cargo llvm-code
.
For the moment, the node runs a simple p2p broadcast. To run it you need to do the usual cargo things
cd node
cargo build
# run the first seed node on port 6680
RUST_LOG=info cargo run
# run other nodes pointing to the seed node and specify their own port as 6681
RUST_LOG=info cargo run -- --config-file=config.1.toml
# run other nodes pointing to the seed node and specify their own port as 6682
RUST_LOG=info cargo run -- --config-file=config.2.toml
The project on github tracks the main components to build. Here's a list to keep us focused:
- P2P gossip based broadcast of miner blocks and shares.
- Use FROST rust implementation for providing threshold schnorr signatures. Use mock clock for identifying rounds.
- A DAG of shares to track contributions for miners.
- Validate received blocks and shares.
- Single script installer (limited to Linux variants, potentially using docker).
Matrix chat: https://matrix.to/#/#braidpool:matrix.org
Mailing list: https://sourceforge.net/p/braidpool/mailman/braidpool-discuss/
Development blog: https://blog.opdup.com/