A Proving pool server for the Aleo network.
This is explaining why this project was created during Testnet2 period.
- I want to separate the mining pool part from the network node as ledger syncing sometimes interferes with the mining pool operations.
- I want to use a more efficient network protocol for pool - miner communication.
- Making too many changes to the snarkOS code could be a bad idea as I still need to sync with upstream code.
- It's easier to test the mining pool with a standalone server.
- It's also easier to add more features to a smaller codebase.
- A stratum protocol. Specs.
- A good enough automatic difficulty targeting system. (Needs more test under high load)
- Stats for pool and provers.
Undergoing a lot of rewrite:
Use RDBMS instead of RocksDB for most of the data storageUse a real stratum protocol for pool - miner communicationRework the difficulty targeting system- Decide if more API endpoints are needed -- many of the work should be offloaded to frontends
Payout system step 1 - allocate rewards to provers after confirmation- Payout system step 2 - send rewards to provers (indefinitely delayed until the network is ready)
If new blocks can be properly generated- If the payout system works
- If the difficulty retargeting system works under high load - Works under light load
- If there is no deadlock under high load - Works under light load
Don't use unless you know what you're doing for now.
- Rust 1.77+ (Not sure what's strictly required)
Optional:
- PostgreSQL 11+ (Still not sure what's strictly required)
- PL/Python 3.6+
AGPL-3.0-or-later