https://github.com/dreams-money/merged-mining-pool
High-performance Merged Mining Pool Software centered around Doge/Litecoin
https://github.com/dreams-money/merged-mining-pool
blockchain dogecoin litecoin merge-mining mining mining-pool mining-pools pool scrypt
Last synced: 2 months ago
JSON representation
High-performance Merged Mining Pool Software centered around Doge/Litecoin
- Host: GitHub
- URL: https://github.com/dreams-money/merged-mining-pool
- Owner: dreams-money
- License: mit
- Created: 2023-07-19T18:57:42.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-17T21:28:13.000Z (5 months ago)
- Last Synced: 2025-03-28T15:47:05.805Z (3 months ago)
- Topics: blockchain, dogecoin, litecoin, merge-mining, mining, mining-pool, mining-pools, pool, scrypt
- Language: Go
- Homepage:
- Size: 784 KB
- Stars: 14
- Watchers: 1
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Merged Mining Pool
==================A high-performance Merged Mining Pool Software centered around Doge/Litecoin

Features
--------
- Stratum Networking. Tested for 1000+ concurrent clients.
- ZMQ subscriptions for real-time communication with the blockchain
- Unique extranonce generation for a parallel client workload
- Merged mining for resource efficiency
- API service for a front-end website
- RPC failover for high availability
- Multiple payout schemes for client rewards
- Single coin mining for testingTodo
----
- Variable difficultyGetting Started
---------------Open config.example.json to get started.
You'll need access to a [blockchain RPC](https://dogecoin.com/dogepedia/how-tos/operating-a-node/) and a [ZMQ block notification URL](https://github.com/bitcoin/bitcoin/blob/master/doc/zmq.md).
For ZMQ notifications you have to start your nodes with block notification on:
// Assuming your node is on the same machine as this pool
-zmqpubhashblock="tcp://127.0.0.1:"//Remote nodes need additional configuration if they're on WAN or LAN (firewalls, port forwarding, etc.)
-zmqpubhashblock="tcp://0.0.0.0:"Setting up the Postgres database
--------------------------------The pools have been tested with Postgres 16. Once installed, you can log into the Postgres server w/
sudo -u postgres psql # Unix
psql -U postgres # WindowsOpen the directory below to find scripts that will set up your databases.
persistence/schemas
You can skip 3-multi-pool-partition.sql if you're still testing.
Connecting to the pool
----------------------Once you have it running, your client can connect with the following login:
- username: yourPrimaryCoinMinerAddress-yourAux1CoinMinerAddress.rigID
- password: noneContributing
------------I hope to have created a system in which multiple chains can be supported from one project. As such, most coins can be merged mined from this same project.
Centered around type Generator interface{} (and a future type RPC interface{}) any coin, in any coin family, can be supported as a go module or a microservice.
Feel free to contact me via [Github Discussions](https://github.com/dreams-money/merged-mining-pool/discussions) to discuss how you can implement your chain.
New features may be discussed, but are generally based around Stratum and chain updates.