i got paid 2 days in a row when it's usually 4-5 days between payments.
One of my nodes was payed ahead of time to the MN address instead of the donation address.
He/she found a way to bypass the reference node.
Fortunately there will be no more reference node in the next version
Ah okay. We have the same problem.
The problem is with the fake one payment. He can fake the whole tx-out.
Edit....
The problem is variable "payee". The string is compared incorrect. (main.cpp)
Received 14,675.34953991 DASH
https://chainz.cryptoid.info/dash/address.dws?XxDotRpSDzgyAkx3jHkLZD8YYZRwbcjmmA.htm
The Dev Team is aware of the situation and i also mentioned to them the problem you found with variable "payee" (the string is compared incorrect. (main.cpp) )
Thanks for your post, its appreciated.
Thanks..
I've add this...main.cpp 2763
{
bool foundPaymentAmount = false;
bool foundPayee = false;
bool foundPaymentAndPayee = false;
CScript payee;
if(!masternodePayments.GetBlockPayee(chainActive.Tip()->nHeight+1, payee) || payee == CScript()){
////////////////////// Limxdev 02.06.2015
AssertLockHeld(cs_main);
// Check for duplicate
uint256 hash = block.GetHash();
//if (mapBlockIndex.count(hash))
//return state.Invalid(error("AcceptBlock() : block already in mapBlockIndex"), 0, "duplicate");
// Get prev block index
CBlockIndex* pindexPrev = NULL;
int nHeight = 0;
if (hash != Params().HashGenesisBlock()) {
map
//if (mi == mapBlockIndex.end())
//return state.DoS(10, error("AcceptBlock() : prev block not found"), 0, "bad-prevblk");
pindexPrev = (*mi).second;
nHeight = pindexPrev->nHeight+1;
////////////////////////// nheight Funktion Ende
foundPayee = true; //doesn't require a specific payee
foundPaymentAmount = true;
if (nHeight >= 99000){
//Limxdev 31-05-2015 Limx proof of payment
int64_t sollreward = 1000000000;
int64_t blockpowreward = 4900000000;// + nFees; later
int64_t maxsumm = 5900000000;// + nFees; later
int64_t maxsumm2 = hardblockpowreward + masternodePaymentAmount;
if(hardblockpowreward >= 4000000000 && masternodePaymentAmount >= sollreward && blockpowreward > hardblockpowreward && maxsumm > maxsumm2) //write by Limxdev 02-06-2015
foundPaymentAndPayee = true;
LogPrintf("## Limx proof of payment ## CheckBlock() : Using non-specific masternode payments %d\n", chainActive.Tip()->nHeight+1);
} else
{
if (nHeight < 97250) LogPrintf("Disable## Limx proof of payment activate 97250 ## nHeight = %d\n", nHeight);
foundPaymentAndPayee = true;
}
}
He broke it in 5 days. He has shared his payments and set the masternodepayment in the right tx out array.
Regards