jtgrassie / monero-pool

A Monero mining pool server written in C
BSD 3-Clause "New" or "Revised" License
344 stars 125 forks source link

Solo Mining / Private pool configuration #117

Closed ethnh closed 2 years ago

ethnh commented 2 years ago

In pool.conf, do any of these options have any effect if I just don't change them? I want to just payout to my address, and only connect my miners to the pool anyway

wallet-rpc-host = 127.0.0.1
wallet-rpc-port = 28084
#...
pool-fee-wallet =
pool-start-diff = 1000
pool-fixed-diff = 0
pool-nicehash-diff = 280000
pool-fee = 0.01
payment-threshold = 0.33
share-mul = 2.0
#...
disable-self-select = 0
disable-hash-check = 0
disable-payouts = 1
#...
cull-shares = -1

I don't have a monero-wallet-rpc setup, and I'm not 100% sure what the disable-hash-check and disable-self-select do

From what I understand, all I need to do is set the rpc-host / port to my monerod and set pool-wallet=[my address] Also, Documentation on what the configuration options do would be great 👍

jtgrassie commented 2 years ago

This is a bug tracker not a general support channel.

I don't have a monero-wallet-rpc setup, and I'm not 100% sure what the disable-hash-check and disable-self-select do

If you're not going to perform miner payouts (so disable-payouts = 1) you don't need to run monero-wallet-rpc. If you trust your miners, disable-hash-check to disable checking submitted work (not required if you trust your miners), and disable-self-select to disable mode self-select (though this has no effect anyway if your miners aren't trying to use mode self-select). A private/solo pool one would expect you trust your miners and you'd firewall access to only allow your own miners to connect. Thus the following would make sense:

disable-self-select = 1
disable-hash-check = 1
disable-payouts = 1

And in every miner just set the wallet address to the pool wallet address.

From what I understand, all I need to do is set the rpc-host / port to my monerod and set pool-wallet=[my address]

And secure your server.

Also, Documentation on what the configuration options do would be great

All the options are self explanatory.