I hope it will help you and your next found block will be a huge one :grin:That I understood, thank you Udjin! I will donate from the next found block
I hope it will help you and your next found block will be a huge one :grin:That I understood, thank you Udjin! I will donate from the next found block
Check "rewardRecipients" in your pool settingsHmm, the pool just found block #221724 but didn't receive any coins. What I'm missing here... But at least the MN payment seems to be correct lol
var generateOutputTransactions = function(poolRecipient, recipients, rpcData){
var reward = rpcData.coinbasevalue;
var rewardToPool = reward;
var txOutputBuffers = [];
if (rpcData.payee) {
var payeeReward = 0;
if (rpcData.payee_amount) {
payeeReward = rpcData.payee_amount;
} else {
payeeReward = Math.ceil(reward / 2);
}
reward -= payeeReward;
rewardToPool -= payeeReward;
...
}
LOL I completely missed the fact that there is darkcoin/node-stratum-pool actually :grin:UdjinM6 .. you really motivated me to give it a last try..
it took me 9000 shares each diff=1 to find a block with diff 5314.. ( really bad luck ^^ )
but i solved block 221864!
donation is 37.5% , so your method works!
here is the code i used in
/node_modules/nomp/node_modules/stratum-pool/lib/transactions.js
case reward/2 did not happen, so the variable rpcData.payee_amount works!Code:var generateOutputTransactions = function(poolRecipient, recipients, rpcData){ var reward = rpcData.coinbasevalue; var rewardToPool = reward; var txOutputBuffers = []; if (rpcData.payee) { var payeeReward = 0; if (rpcData.payee_amount) { payeeReward = rpcData.payee_amount; } else { payeeReward = Math.ceil(reward / 2); } reward -= payeeReward; rewardToPool -= payeeReward; ... }
uh i now saw that github /darkcoin/node-stratum-pool/blob/master/lib/transactions.js is already correct.. so using this version would have helped..
thank you for all your efforts!
edit:
100 shares later, block 221866 was also solved.. so luck is on my side again
Check "rewardRecipients" in your pool settings
"address": "XvUHCpU5ZG9x4AEF9Wfjd6EAbur2Aq9C2e",
"rewardRecipients": {
"XjQu7nQTNxQFiNmBsx44obrP4xgdn9Kiz3": 0
},
"address": "XvUHCpU5ZG9x4AEF9Wfjd6EAbur2Aq9C2e",
"rewardRecipients": {
},
Ahh.. I thought you complain that your pool didn't get a fee, now I see what you meant. Reward is actually on XvUHCpU5ZG9x4AEF9Wfjd6EAbur2Aq9C2e ("address" settings) so if you pay by MPOS it should be configured to recognize it or address should be changed to the one MPOS configured too or smth like that (I never used MPOS).Code:"address": "XvUHCpU5ZG9x4AEF9Wfjd6EAbur2Aq9C2e", "rewardRecipients": { "XjQu7nQTNxQFiNmBsx44obrP4xgdn9Kiz3": 0 },
I had the value set to "1" during the first block where everything seemed to work as I did not realize this will be applied even payment processing is disabled in NOMP (I don't want to force a fee). This, the payeeReward code change and deleting peers.dat are the only changes I did after the first successful block. Since then the pool has found two blocks which MPOS does not notice.
I now changed this to
Code:"address": "XvUHCpU5ZG9x4AEF9Wfjd6EAbur2Aq9C2e", "rewardRecipients": { },
But I don't understand how this could affect it...
I don't see how the problem could be on MPOS side as I did not change anything there.Ahh.. I thought you complain that your pool didn't get a fee, now I see what you meant. Reward is actually on XvUHCpU5ZG9x4AEF9Wfjd6EAbur2Aq9C2e ("address" settings) so if you pay by MPOS it should be configured to recognize it or address should be changed to the one MPOS configured too or smth like that (I never used MPOS).
Well... reward went to XvUHCpU5ZG9x4AEF9Wfjd6EAbur2Aq9C2e, just like you set it in your settings so nomp part is working imo. No idea why MPOS ignores it...I don't see how the problem could be on MPOS side as I did not change anything there.
I am using MPOS + NOMP (for DASH, obviously). I am able to connect the workers to NOMP but it does not update on MPOS (The UI), i.e., workers always show as inactive. What could I have been doing wrong?There was a lot of trial and error configuration but I don't remember doing any Darkcoin-specific stuff, other than setting standard things like coin name, symbol, algorithm etc. I followed these instructions:
https://github.com/zone117x/node-open-mining-portal/#usage
https://github.com/zone117x/node-open-mining-portal/wiki/Setting-up-NOMP-for-MPOS-usage
When I said everything seems to be working, I meant all logs are clear form errors and I'm able to submit shares successfully. However, I have not yet got any coins as my hash rate isn't that great. Would be great if someone here could help me a bit with mining. The portal is located at: miners.fi (0% fee).