• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

CoiniumServ Pool for Darkcoin

Ah. Sorry, I'm not familiar with the source code (didn't touch it) or how the master nodes work.

To my undestanding MPOS needs separate stratum mining server. I cannot check the version right now but I got all the sources mid January from master branches.
 
Thank you UdjinM6...

i have no other log than

will log debug soon..

Line 136 should indeed be the problem.. i will try it, but i already fixed it manually to
Code:
var payeeReward = Math.ceil(reward * 0.375);

so there supposedly is another problem beside the reward?
Afaik - JS is not very accurate with rounding so I would still suggest to try using rpc data instead.
 
Ah. Sorry, I'm not familiar with the source code (didn't touch it) or how the master nodes work.

To my undestanding MPOS needs separate stratum mining server. I cannot check the version right now but I got all the sources mid January from master branches.
ah okay.. that's interesting.. i checked the block of your pool..
you solved block 220597 .. as we can see in the explorer, you donated 0.92861143 of the 4.64285715 .
that's pretty close to 20%

so we learn three things:
- you have the buggy nomp version and should upgrade soon.. maybe someday blocks with 20% will be orphaned by the network?
- i guess you still have an old version of the darkcoin daemon? i think the new one would reject those blocks...
- blocks with 20% are still accepted .. so my nomp should work too!?
 
ah okay cool.. so it works in principle.. and fortune is just against me ^^

as another test i joined the testnet.. i could create 34 blocks without problems.. but this does not tell much, as the masternode tests are skipped..
2015-02-16 19:28:54 ProcessBlock: ACCEPTED
2015-02-16 19:28:54 CheckBlock() : skipping transaction locking checks
2015-02-16 19:28:54 CheckBlock() : skipping masternode payment checks
2015-02-16 19:28:54 CheckBlock() : skipping transaction locking checks
2015-02-16 19:28:54 CheckBlock() : skipping masternode payment checks
2015-02-16 19:28:54 UpdateTip: new best=000000001db37a14a7044651cb47e8955147318$
2015-02-16 19:28:54 ProcessBlock: ACCEPTED
2015-02-16 19:28:54 CheckBlock() : skipping transaction locking checks
2015-02-16 19:28:54 CheckBlock() : skipping masternode payment checks
2015-02-16 19:28:54 CheckBlock() : skipping transaction locking checks
2015-02-16 19:28:54 CheckBlock() : skipping masternode payment checks
2015-02-16 19:28:54 UpdateTip: new best=0000000027f3b24c28fef0d8724354e9ae0d4f1$
2015-02-16 19:28:54 ProcessBlock: ACCEPTED
2015-02-16 19:28:54 CheckBlock() : skipping transaction locking checks
2015-02-16 19:28:54 CheckBlock() : skipping masternode payment checks
2015-02-16 19:28:54 dumpaddr thread stop
 
ah okay cool.. so it works in principle.. and fortune is just against me ^^

as another test i joined the testnet.. i could create 34 blocks without problems.. but this does not tell much, as the masternode tests are skipped..
Well.. What I see in that log: you are not creating blocks - your wallet just verifies old blocks it downloaded from another peers.
 
right.. debug.log is funny.. i had to delete it, then it was written again to disk with actual logs.. so here we can see that i can create blocks in testnet..
2015-02-17 06:21:21 Masternode payment to XigCbQGw82RdcjK5Tsa3VxrHvE4qC4EFGE
2015-02-17 06:21:21 CreateNewBlock(): total size 3551
2015-02-17 06:21:21 CheckBlock() : skipping transaction locking checks
2015-02-17 06:21:21 CheckBlock() : Found masternode payment 221500
2015-02-17 06:21:21 CheckBlock() : skipping transaction locking checks
2015-02-17 06:21:21 CheckBlock() : Found masternode payment 221500
2015-02-17 06:21:21 CheckBlock() : skipping transaction locking checks
2015-02-17 06:21:21 CheckBlock() : Found masternode payment 221500
2015-02-17 06:21:21 UpdateTip: new best=0000000000031c27bcadeb198df9f575e3af118$
2015-02-17 06:21:21 ProcessBlock: ACCEPTED
2015-02-17 06:21:21 Masternode payment to XiXFua1JDWFsbfEg736a2AMdWuaSkzwoYn
2015-02-17 06:21:21 CreateNewBlock(): total size 3551
2015-02-17 06:21:21 CheckBlock() : skipping transaction locking checks
2015-02-17 06:21:21 CheckBlock() : Found masternode payment 221501
2015-02-17 06:21:22 mnw - winning vote CTxIn(COutPoint(974bf71c365092cd180eeaf$
2015-02-17 06:21:31 keypool reserve 3
2015-02-17 06:21:31 keypool return 3
2015-02-17 06:22:03 Masternode payment to XiXFua1JDWFsbfEg736a2AMdWuaSkzwoYn
2015-02-17 06:22:03 CreateNewBlock(): total size 4490
2015-02-17 06:22:03 CheckBlock() : skipping transaction locking checks
2015-02-17 06:22:03 CheckBlock() : Found masternode payment 221501
2015-02-17 06:22:23 Masternode payment to XiXFua1JDWFsbfEg736a2AMdWuaSkzwoYn
2015-02-17 06:22:23 CreateNewBlock(): total size 4715
2015-02-17 06:22:23 CheckBlock() : skipping transaction locking checks
2015-02-17 06:22:23 CheckBlock() : Found masternode payment 221501
2015-02-17 06:22:29 Masternode payment to XiXFua1JDWFsbfEg736a2AMdWuaSkzwoYn
2015-02-17 06:22:29 CreateNewBlock(): total size 4941
2015-02-17 06:22:29 CheckBlock() : skipping transaction locking checks
2015-02-17 06:22:29 CheckBlock() : Found masternode payment 221501
2015-02-17 06:22:31 keypool reserve 3
{
"version" : 110125,
"protocolversion" : 70066,
"walletversion" : 61000,
"balance" : 4158.40000000,
"darksend_balance" : 0.00000000,
"blocks" : 6357,
"timeoffset" : 1,
"connections" : 7,
"proxy" : "",
"difficulty" : 0.01444579,
"testnet" : true,
"keypoololdest" : 1424114941,
"keypoolsize" : 1001,
"paytxfee" : 0.00000000,
"relayfee" : 0.00001000,
"errors" : ""
}
{
"account" : "",
"address" : "yHA7y57qZdpcFwG25wwMSSyHGsn83YtcaW",
"category" : "generate",
"amount" : 121.60000000,
"confirmations" : 198,
"generated" : true,
"blockhash" : "000000048c52fccb2e4275084d4085bda46a3231fc246557ab240c5fa28a3c6d",
"blockindex" : 0,
"blocktime" : 1424115777,
"txid" : "51cb0f557166e77a9bd34e6388d8ec5b30e9dc07604e5c9a27ebd07eb70ea4ae",
"walletconflicts" : [
],
"time" : 1424115777,
"timereceived" : 1424115790
}
 
right.. debug.log is funny.. i had to delete it, then it was written again to disk with actual logs.. so here we can see that i can create blocks in testnet..
From console output - yes, as you have "generated" but not from log as it's from mainnet. You need to grab testnet3/debug.log instead.

EDIT: and btw masternode payments enforcement is off on testnet right now
Code:
# darkcoind spork show
{
    "SPORK_1_MASTERNODE_PAYMENTS_ENFORCEMENT" : 1523519981,
    "SPORK_3_INSTANTX_BLOCK_FILTERING" : 1523519981,
    "Unknown" : 1523519981
}
# date -d @1523519981 -u
Thu Apr 12 07:59:41 UTC 2018
 
Last edited by a moderator:
Hey Udjin, do you think there is some problem in my pool configuration too regarding masternodes as buechling suspected?
 
what also looks strange for me: i am not having more than 8 connections on mainnet.. other coins have around 25 connections.. is it possible that i am in a "bad neighbourhood" with nodes that send me wrong packages?
where do i find good addnodes? i have very old ones from the bitcointalk thread..

and another thougt: what will the flag
-litemode=<n> Disable all Masternode and Darksend related functionality (0-1, default: 0)
do? could it help me?
 
Hey Udjin, do you think there is some problem in my pool configuration too regarding masternodes as buechling suspected?
I never ran a nomp+mpos but I guess this also applies as it's for stratum part and not for portal (which could be replaced by mpos if I understand it correctly). I just suggested to use rpc data. Found this also https://github.com/UNOMP/node-merge...4f1#diff-f93a07160f04dcdcbc518aa0f4eab9fdR139 and looks like unomp have done this a long time ago.

what also looks strange for me: i am not having more than 8 connections on mainnet.. other coins have around 25 connections.. is it possible that i am in a "bad neighbourhood" with nodes that send me wrong packages?
where do i find good addnodes? i have very old ones from the bitcointalk thread..

and another thougt: what will the flag
-litemode=<n> Disable all Masternode and Darksend related functionality (0-1, default: 0)
do? could it help me?
8 connections is fine if you have listen=0 because number of outbound connections is limited https://github.com/darkcoin/darkcoin/blob/master/src/net.cpp#L45
 
8 connections is fine if you have listen=0 because number of outbound connections is limited
hmm but i want to listen! i use the linux daemon..

so maybe let's go one step backwards.. is anything wrong with my darkcoin installation? this is how i start it:
Code:
git clone **darkcoin ( no links allowed )
cd darkcoin
git pull
git checkout master
cd src
mkdir obj
cd ..
./autogen.sh
./configure --with-incompatible-bdb
make
cd src
sudo cp darkcoind /usr/bin
sudo cp darkcoin-cli /usr/bin
cd ../..

/usr/bin/darkcoind -rpcuser=123 -rpcpassword=234 -rpcport=9998 -port=9999 -daemon -dns -dnsseed -irc -onlynet=IPv4 -disablesafemode -reindex -upgradewallet -blocknotify="node cli.js blocknotify darkcoin \%s"
 
hmm but i want to listen! i use the linux daemon..

so maybe let's go one step backwards.. is anything wrong with my darkcoin installation? this is how i start it:
Code:
git clone **darkcoin ( no links allowed )
cd darkcoin
git pull
git checkout master
cd src
mkdir obj
cd ..
./autogen.sh
./configure --with-incompatible-bdb
make
cd src
sudo cp darkcoind /usr/bin
sudo cp darkcoin-cli /usr/bin
cd ../..

/usr/bin/darkcoind -rpcuser=123 -rpcpassword=234 -rpcport=9998 -port=9999 -daemon -dns -dnsseed -irc -onlynet=IPv4 -disablesafemode -reindex -upgradewallet -blocknotify="node cli.js blocknotify darkcoin \%s"
Can't see nothing wrong here.
I guess you have 8 connections only (which match outbound limit) because there are 2000+ nodes thanks to MN network and new clients hit their outbound pretty fast. So they don't want to find more peers and you have no inbound which is fine again. Your results actually mean that MNs take this part of network work (seeding known blocks) on themselves giving you (pools) more air. That's a nice side effect btw :cool:
 
okay thank you very much for your good hints so far!

i will try another pool software or wait until someone tells me how to use nomp successfully..
 
:what:
So changes I suggested here and similar unomp changes didn't help you?
i doubt it!
i already pay 37.5% and get rejected..
Dezvail pays 20% and gets accepted..
the other parameters should be the same for the two of us.. so i have ne idea what's wrong for me!

every further experiment costs me 2.9 DRK, so i will leave it for a while now..
 
i doubt it!
i already pay 37.5% and get rejected..
Dezvail pays 20% and gets accepted..
the other parameters should be the same for the two of us.. so i have ne idea what's wrong for me!

every further experiment costs me 2.9 DRK, so i will leave it for a while now..
I doubt Dezvail gets accepted blocks now... Not a single block with wrong payments for the last 24h here https://drk.mn/blocks.html#blocksdetail
And as I said, you are paying 37.5% calculated by JS which could be not exactly the same as payee_amount.

EDIT: did a quick test
#darkcoind getblocktemplate
{...
"coinbasevalue" : 469225715,
....
"payee_amount" : 175959640,
...}
# node
> Math.ceil(469225715*0.375)
175959644
 
Last edited by a moderator:
Back
Top