Afaik - JS is not very accurate with rounding so I would still suggest to try using rpc data instead.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?
ah okay.. that's interesting.. i checked the block of your pool..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.
I have the latest version, 11.1.25.i guess you still have an old version of the darkcoin daemon? i think the new one would reject those blocks...
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
Well.. What I see in that log: you are not creating blocks - your wallet just verifies old blocks it downloaded from another peers.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-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
}
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.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..
# 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
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.Hey Udjin, do you think there is some problem in my pool configuration too regarding masternodes as buechling suspected?
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#L45what 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?
hmm but i want to listen! i use the linux daemon..8 connections is fine if you have listen=0 because number of outbound connections is limited
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.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"
:what: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..
i doubt it!:what:
So changes I suggested here and similar unomp changes didn't help you?
I doubt Dezvail gets accepted blocks now... Not a single block with wrong payments for the last 24h here https://drk.mn/blocks.html#blocksdetaili 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 would appreciate a lot if you could let me know how to fix this. I know you already tried but I'm not that familiar with the code so it would help a lot if you would tell me exactly what to change and where.I doubt Dezvail gets accepted blocks now...
This line https://github.com/zone117x/node-stratum-pool/blob/master/lib/transactions.js#L136 should sayI would appreciate a lot if you could let me know how to fix this. I know you already tried but I'm not that familiar with the code so it would help a lot if you would tell me exactly what to change and where.
var payeeReward = rpcData.payee_amount;