jtgrassie / monero-pool

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

What do i put as the monero pool address #103

Closed S1700 closed 3 years ago

S1700 commented 3 years ago

So in the release folder there is a pool.conf and you have to put a monero address in there which one should I put. Should I make a new one for the pool and put that there or use my personal one. Thanks

ghost commented 3 years ago

You should put there wallet address which is used by monero-wallet-rpc if payments are enabled, if payments are disabled you can put there any address you want

jtgrassie commented 3 years ago

You put the wallet address you want to receive the block reward to. It does not have to be the wallet RPC address.

S1700 commented 3 years ago

after I put any monero wallet address I am basically done right? Or is there anything else i have to do

ghost commented 3 years ago

You need also run a full node (or connect to remote node?) and setup these configurations based on full node/remote node address and port

rpc-host = 127.0.0.1
rpc-port = 18081

also if you have payments enabled you need to setup this configuration to your monero-wallet-rpc address and port

wallet-rpc-host = 127.0.0.1
wallet-rpc-port = 18082
S1700 commented 3 years ago

what do you mean by payments enabled like the users get paid monero when mining on the pool? also can I just leave the rpc-host as default if I want to run a full node

ghost commented 3 years ago

In monero-pool.conf there is disable-payouts = 0 not sure what values represents which behavior, but 0 mean payments are enabled, probably value 1 disable payouts. If you want run pool for yourself you can set disable-payouts = 1 and then all mined blocks will stay on your address defined in pool-wallet = 43iVatd7eJvY....S97V3g19tBdL4ikz, if you want run and allow other miners connect probably they may want get payment for their work so you need then stay with disable-payouts = 0 and configure wallet-rpc-wallet with specific address and port.

By default monerod run at mainnet: 127.0.0.1:18081, stagenet: 127.0.0.1:28081

S1700 commented 3 years ago

how do i setup wallet-rpc-wallet

ghost commented 3 years ago

my monero-wallet-rpc.conf file with configurations:

daemon-address=127.0.0.1:18081
rpc-bind-port=18082
rpc-bind-ip=127.0.0.1
wallet-file={path for you wallet file, this file without extension} 
password={password for file}
log-level=0 # not necessary
log-file={absoulte path for log file} #this is not necessary 
disable-rpc-login=1 # use this only with rpc-bind-ip=127.0.0.1

and my command for execute monero-wallet-rpc monero-wallet-rpc --config-file {absolute path to monero-wallet-rpc.conf}

S1700 commented 3 years ago

inside of what directory is monero-wallet-rpc.conf I cant find it in the build folder. also what is the password for the file

Thanks

ghost commented 3 years ago

monero-wallet-rpc.conf is just a regular text file, so can you create it by hand and even change name and extension it doesn't metter, only content matter, of course you need use changed name elsewhere you want use it. You need create regular wallet using GUI or CLI Monero, Monero is storing wallets under ~/Monero/wallets

trasherdk commented 3 years ago

Port 18082 is used by monerod Port for ZMQ RPC server to listen on

Port number starting with 1 is mainnet like 18080 Port number starting with 2 is testnet like 28080 Port number starting with 3 is stagenet like 38080

ghost commented 3 years ago

@trasherdk yep, you are right, I forget noticed that I also add --no-zmq to monerod

S1700 commented 3 years ago

is there a full tutorial for this pool I'm kinda getting lost. sry

Jaska8 commented 3 years ago

is there a full tutorial for this pool I'm kinda getting lost. sry

I'm more interested in what you are trying to achieve and why. Just so you don't waste your time with this.

Do you have the basic understanding of pool mining and solo mining? Do you understand the basics of crypto?

S1700 commented 3 years ago

Yh the basics. But I've never made a pool before