-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Wallet Address Reward Distribution Issue #30
Comments
What do your config files look like? Do you have the payout module enabled? The rewards always go to the pool wallet and then are distributed by the payout module . "unlocker": {
|
Thank you for your question regarding the payout module configuration. We have verified that the payout module is enabled in our mining pool's backend system. However, we are experiencing an issue where the mining rewards are not being distributed to the individual miners' wallet addresses as specified. Instead, the rewards are defaulting to the We have taken the following steps to troubleshoot the issue: • Updated our mining pool software to the latest version. We are continuing to investigate the issue and would appreciate any further assistance or guidance you can provide. If you have any suggestions or have encountered a similar issue, please let us know. |
Without more information we can not help you. What is the pool address? Post your configuration so we can see if something is wrong. Is the unlocker enabled. Are the blocks confirming? Also post your geth command line. You may not have it set correctly. |
Thank you for your guidance. Here's the geth --datadir . --networkid "xxxxxxx" --allow-insecure-unlock --http --http.addr 0.0.0.0 --http.corsdomain "" --http.port 10293 --http.api eth,txpool,debug,web3,net,personal,admin,miner --ws --ws.addr 0.0.0.0 --ws.port 43254 --ws.api eth,txpool,debug,web3,net,personal,admin,miner --syncmode full --gcmode archive --http.vhosts "" --authrpc.addr 0.0.0.0 --authrpc.port 37655 --remotedb [redacted] --ws.origins="*" --rpc.enabledeprecatedpersonal --authrpc.jwtsecret=[redacted] --nat extip:[redacted] --identity "Pool1Node" --metrics --log.debug --verbosity 4 --mine --miner.etherbase "0x[redacted]" --miner.notify.full --miner.noverify --miner.threads 2 --nodiscover --vmdebug And here's the full JSON configuration for the open-etc-pool, with sensitive details omitted: { |
you don't have the unlock wallet password set in the geth command line so the wallet is unable to make the payments. also you need to make sure at least 25 peers are connected or change the required peers amount to a lower number for the payment module to work. |
Here's the payout module but still zero balance in wallet address for miner "payouts": { } Additional MATURED 727:0x569526ff14673b16dbb181d43b223de7b8802ebb70f9ef38ac: revenue 5.00000000, miners profit 4.95000000, pool profit: 0.05000000 |
What coin are you working with? Also if a new coin payment will not process until you reach 120 blocks which is set in unlocker. "unlocker": { |
MATURED 113:0x8b3f327b968dcaca5ee5bf2adf70f22d3e9e776f787a7: revenue 5.00000000, miners profit 4.95000000, pool profit: 0.05000000 }, "unlocker": { "payouts": { } |
Still no payout in the wallet mentioned in the miner Using this command to mine ./t-rex -a ethash -o stratum+tcp://(Stratum Server host):8008 -u --coin TESTT -p x -w ankii |
Here's the correct command i am using right now ./t-rex -a ethash -o stratum+tcp://10.1.2.46:8008 -u (wallet address) --coin TESTT -p x -w ankii |
I am currently working with the configuration files and noticed that I only have the If the Also do i need to integrate sentinel or setup sentinel here in redis module ? Please let me know am i missing something? |
Do i need to mention this unlocker in Payout.json or its a reference for config.json And also there's no address mentioned here in poolfeeaddress so am i supposed to keep it empty? |
Go to https://github.com/yuriy0803/open-etc-pool-friends |
Exactly. He is constantly updating his repo and adding features
Randy Hasson
199 East Markison Avenue
Columbus, Ohio 43207
…On Sat, Apr 27, 2024 at 3:19 PM cristianvsl ***@***.***> wrote:
Go to https://github.com/yuriy0803/open-etc-pool-friends And he has all
the config files. You should always run each module separately. api,
payout,unlocker and port. He has pretty good documentation on how to run
the pool
I'm sorry I haven't seen this before posting tons of data.
He won't go wrong if he follows this
—
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIAKRWHJTYYCPZXIWW2I7TY7P24BAVCNFSM6AAAAABGUS4MG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGE2TOMRSGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Here's the payment.json Here's the api.json { Configuration Files:• • ############## Logs ################ This is the a section from API logs Here's mentioned about rewards 2024/04/30 11:11:29 Mature block 5072 with 0 tx, hash: 0x002978c4 Here's the section for unlock errror 2024/04/30 11:21:51 Mature block 5124 with 0 tx, hash: 0x6a741b99 I have used this repo https://github.com/yuriy0803/open-etc-pool-friends According to the setup i just ran a api.json Still didn't get any payout in wallet address Here's the command for T-rex miner |
geth --datadir . --networkid "956" --allow-insecure-unlock --http --http.addr 0.0.0.0 --http.corsdomain "" --http.port --http.api eth,txpool,debug,web3,net,personal,admin,miner --ws --ws.addr 0.0.0.0 --ws.port --ws.api eth,txpool,debug,web3,net,personal,admin,miner --syncmode full --gcmode archive --http.vhosts "" --authrpc.addr 0.0.0.0 --authrpc.port --remotedb postgresql://postgres:password@:5432/ --ws.origins="*" --rpc.enabledeprecatedpersonal --authrpc.jwtsecret=jwt.hex --nat extip:http://REDACTED --identity "Pool1Node" --metrics --log.debug --verbosity 4 --mine --miner.etherbase "0xb5c5184" --password secret.txt --miner.notify.full --miner.noverify --miner.threads 2 --nodiscover --vmdebug Here's the api.json { Assume the coin symbol as TEST. Here's the t-rex miner command i am using ./t-rex -a ethash -o stratum+tcp://(stratum -host):8008 -u "Coinbase wallet" --coin TEST -p "Coinbase wallet password" -w ankii for reference geth node , mining pool and miner logs attached ############# GETH NODE logs ############### DEBUG[05-02|07:18:18.798|consensus/ethash/sealer.go:489] Work submitted is acceptable number=22 sealhash=698d85..ef09b4 hash=342868..e4346e ###########Miner logs ################# #########Mining Pool Logs ############# 07:56:18 vagrant open-etc-pool-friends[109792]: 2024/05/02 07:56:18 Submitted by: 0x*************@10.1.2.XX Failed to credit rewards |
09:34:03 vagrant open-etc-pool-friends[110410]: 02024/05/02 09:34:03 IMMATURE 64:0x3c3a247a39e63ad09eaef38d73a3733e3c3ff4c3dfa28c0f87087187289d2f36: revenue 5.00000000, miners profit 5.00000000, pool profit: 0.00000000 |
Assume the coin symbol as TEST. You will not receive rewards because the code for the pool does not know what TEST coin is!!! You would have to edit the pool code and add the information needed. This code is for certain coins !! |
Body:
Description
We have encountered an issue where the mining rewards are not being distributed to the wallet addresses specified by individual miners using T-Rex Miner. Instead, the rewards are defaulting to the
miner.etherbase
address set on the Geth node. This behavior is not ideal for our mining pool, which aims to connect thousands of miners worldwide and allow them to receive rewards directly in their third-party wallets.Expected Behavior
When a miner successfully mines a block and it is validated, the reward should be sent to the wallet address they have specified when connecting to the Stratum proxy, not the default
miner.etherbase
address.Current Behavior
The mining rewards are being sent to the
miner.etherbase
address regardless of the individual miner's specified wallet address.Steps to Reproduce
miner.setEtherbase(wallet_address)
.miner.etherbase
address instead of the miner's specified wallet address.The T-Rex Miner command used (modified for public sharing):
./t-rex -a ethash -o stratum+tcp://<pool_address>: -u <wallet_address> -p x -w <worker_name>
We need to ensure that the pool's backend system recognizes and credits the correct wallet addresses for each miner's contributions when distributing rewards.
Environment
• Geth version: (1.12)
• ETC mining pool software version: (latest)
• T-Rex Miner version: (v0.26.8)
• Operating System: (Ubuntu 20.04LTS)
Any assistance or guidance on resolving this issue would be greatly appreciated.
The text was updated successfully, but these errors were encountered: