chaeplin
Well-known member
Masternode is selected by tx hash, so less paid might not be a matter in the long run.Yes, that's realistic: 1 / 78 x 576 blocks x 0.6 = 4.4 blocks
But flag 0 masternode is paid after timeout.
Masternode is selected by tx hash, so less paid might not be a matter in the long run.Yes, that's realistic: 1 / 78 x 576 blocks x 0.6 = 4.4 blocks
Masternode is selected by tx hash, so less paid might not be a matter in the long run.
But flag 0 masternode is paid after timeout.
Mr.President, I notice that http://tdrk.poolhash.org/blocks/masterlist/moqpGCABQQefuujQ9nsAMJVEiwAXyAMw6o.txt is about -963 blocks behind block explorer. Any reason for such a bit difference?
18736.txt:54.255.159.230:19999 1 moqpGCABQQefuujQ9nsAMJVEiwAXyAMw6o 1402652895093972 1173 313438
Ah.. I wil blame cloudflare. ;DI just refreshed, last entry is
Block 18736. Explorer is at 18796.
18796 - 18736 = -60 now.. must have picked up pace since.
2014-06-13 13:05:52 ThreadRPCServer method=masternode
2014-06-13 13:05:52 CDarkSendPool::RegisterAsMasterNode() - Checking inbound con nection to '54.213.87.6:19999'
2014-06-13 13:05:52 trying connection 54.213.87.6:19999 lastseen=0.0hrs
2014-06-13 13:05:53 connected 54.213.87.6:19999
2014-06-13 13:05:53 send version message: version 70018, blocks=18801, us=67.174 .180.89:19999, them=54.213.87.6:19999, peer=54.213.87.6:19999
2014-06-13 13:05:53 Found unspent output equal to nValue
2014-06-13 13:05:53 CDarkSendPool::RegisterAsMasterNode() - Is capable master no de!
2014-06-13 13:05:53 Added time data, samples 5, offset +0 (+0 minutes)
2014-06-13 13:05:53 nTimeOffset = +0 (+0 minutes)
{
"54.76.47.232:19999" : 1,
"54.86.103.191:19999" : 1,
"84.25.161.117:19999" : 1,
"23.242.106.27:19999" : 1,
"188.226.243.116:19999" : 1,
"107.170.200.102:19999" : 1,
"108.61.199.47:19999" : 1,
"37.187.216.11:19999" : 1,
"98.165.130.67:19999" : 1,
"54.209.226.236:19999" : 1,
"37.187.47.129:19999" : 1,
"184.73.179.148:19999" : 1,
"184.73.179.187:19999" : 1,
"184.73.179.196:19999" : 1,
"54.187.111.243:19999" : 1,
"54.178.139.242:19999" : 1,
"54.255.159.230:19999" : 1
}
Hey guys - wanted to shoot a quick update regarding that issue I had a few pages back (inbound port issues). Ended up being a st00pid elastic IP issue with Amazon, once I realized that the Elastic IP hadn't been assigned to my EC2 instance I reverted to the real IP address everything started up as expected.
I did notice a slightly strange quirk - deciding to play around with things a bit, I decided to try shutting down my Masternode, assign a new Elastic IP, then restart it. For reasons that aren't entirely clear to me, this IP address won't display on the Masternode List and what I believe is the old IP remains:
Activating new MasterNode (cold local/remote):
Code:2014-06-13 13:05:52 ThreadRPCServer method=masternode 2014-06-13 13:05:52 CDarkSendPool::RegisterAsMasterNode() - Checking inbound con nection to '54.213.87.6:19999' 2014-06-13 13:05:52 trying connection 54.213.87.6:19999 lastseen=0.0hrs 2014-06-13 13:05:53 connected 54.213.87.6:19999 2014-06-13 13:05:53 send version message: version 70018, blocks=18801, us=67.174 .180.89:19999, them=54.213.87.6:19999, peer=54.213.87.6:19999 2014-06-13 13:05:53 Found unspent output equal to nValue 2014-06-13 13:05:53 CDarkSendPool::RegisterAsMasterNode() - Is capable master no de! 2014-06-13 13:05:53 Added time data, samples 5, offset +0 (+0 minutes) 2014-06-13 13:05:53 nTimeOffset = +0 (+0 minutes)
The old IP (54.187.111.243) seems to appear in the list still?
Code:{ "54.76.47.232:19999" : 1, "54.86.103.191:19999" : 1, "84.25.161.117:19999" : 1, "23.242.106.27:19999" : 1, "188.226.243.116:19999" : 1, "107.170.200.102:19999" : 1, "108.61.199.47:19999" : 1, "37.187.216.11:19999" : 1, "98.165.130.67:19999" : 1, "54.209.226.236:19999" : 1, "37.187.47.129:19999" : 1, "184.73.179.148:19999" : 1, "184.73.179.187:19999" : 1, "184.73.179.196:19999" : 1, "54.187.111.243:19999" : 1, "54.178.139.242:19999" : 1, "54.255.159.230:19999" : 1 }
Just wanted to make you guys aware of this little snag that may exist here
Did you generate a new masternode key or reuse the old one when changing the IP?
In my setup, I haven't opened local 19999 from outside.I really appreciate your help, chaeplin. I know it's some kind of connection problem. My Amazon daemons can see eachother, but my local can't see either. I've opened up port 19999 for my local on my router, and I've opened up my Amazon security group settings to 19999, as well as my iptables. I've tried it with all ports open on Amazon as well. I'm using Ubuntu 14.04 in both places and I've waited 45 minutes but my local still can't see my remote. Plus I have addnode:remote:19999 in my config file hoping it would pick it ups faster. Wow, I really am stuck. I'm suspecting my local is the problem though... gonna keep trying
So I figured out what was caused inactive masternodes to be paid, it's also causing the rest of our problems with masternodes payments. We should see payments on ~99.9% of blocks now!
https://github.com/darkcoinproject/darkcoin/commit/f9d005f79ac391f9090c8d00cca61c1d4b33da0d
--> getting list of masternodes
testnet3@ip-10-65-166-48:~/.darkcoin$ ./darkcoind masternode list
{
"54.76.47.232:19999" : 1,
"188.226.248.36:19999" : 1,
"54.86.103.191:19999" : 1,
"84.25.161.117:19999" : 1,
"23.242.106.27:19999" : 1,
"188.226.243.116:19999" : 1,
"107.170.200.102:19999" : 1,
"108.61.199.47:19999" : 1,
"37.187.216.11:19999" : 1,
"54.209.226.236:19999" : 1,
"184.73.179.148:19999" : 1,
"184.73.179.187:19999" : 1,
"184.73.179.196:19999" : 1,
"54.178.139.242:19999" : 1,
"54.187.111.243:19999" : 1,
"54.255.159.230:19999" : 1
}
--> stopping one of my other remote nodes now and asking for list again
testnet3@ip-10-65-166-48:~/.darkcoin$ ./darkcoind masternode list
{
"54.76.47.232:19999" : 1,
"188.226.248.36:19999" : 1,
"54.86.103.191:19999" : 1,
"84.25.161.117:19999" : 1,
"23.242.106.27:19999" : 1,
"188.226.243.116:19999" : 1,
"107.170.200.102:19999" : 1,
"108.61.199.47:19999" : 1,
"37.187.216.11:19999" : 1,
"54.209.226.236:19999" : 1,
"184.73.179.148:19999" : 1,
"184.73.179.187:19999" : 0, <--- correct
"184.73.179.196:19999" : 1,
"54.178.139.242:19999" : 1,
"54.187.111.243:19999" : 1,
"54.255.159.230:19999" : 1
}
--> asking for only active nodes now
testnet3@ip-10-65-166-48:~/.darkcoin$ ./darkcoind masternode list active
{
"54.76.47.232:19999" : 1,
"188.226.248.36:19999" : 1,
"54.86.103.191:19999" : 1,
"84.25.161.117:19999" : 1,
"23.242.106.27:19999" : 1,
"188.226.243.116:19999" : 1,
"107.170.200.102:19999" : 1,
"108.61.199.47:19999" : 1,
"37.187.216.11:19999" : 1,
"54.209.226.236:19999" : 1,
"184.73.179.148:19999" : 1,
"184.73.179.187:19999" : 0, <---- wrong, entry should not show up
"184.73.179.196:19999" : 1,
"54.178.139.242:19999" : 1,
"54.187.111.243:19999" : 1,
"54.255.159.230:19999" : 1
}
testnet3@ip-10-65-166-48:~/.darkcoin$ ./darkcoind getinfo
{
"version" : 101001,
"protocolversion" : 70018,
"walletversion" : 60000,
"balance" : 5662.89696663,
"blocks" : 18846,
"timeoffset" : 0,
"connections" : 11,
"proxy" : "",
"difficulty" : 0.38774206,
"testnet" : true,
"keypoololdest" : 1401692771,
"keypoolsize" : 101,
"paytxfee" : 0.00000000,
"mininput" : 0.00001000,
"errors" : ""
}
Thanks for that - sorry to bother you but i think that the fix is not sufficient. IHMO it fixes the selection routine, but not the bug in the active/inactive state.
Code:testnet3@ip-10-65-166-48:~/.darkcoin$ ./darkcoind masternode list { "54.76.47.232:19999" : 1, "188.226.248.36:19999" : 1, "54.86.103.191:19999" : 1, "84.25.161.117:19999" : 1, "23.242.106.27:19999" : 1, "188.226.243.116:19999" : 1, "107.170.200.102:19999" : 1, "108.61.199.47:19999" : 1, "37.187.216.11:19999" : 1, "54.209.226.236:19999" : 1, "184.73.179.148:19999" : 1, "184.73.179.187:19999" : 1, "184.73.179.196:19999" : 1, "54.178.139.242:19999" : 1, "54.187.111.243:19999" : 1, "54.255.159.230:19999" : 1 } --> stopping one of my other remote nodes now testnet3@ip-10-65-166-48:~/.darkcoin$ ./darkcoind masternode list { "54.76.47.232:19999" : 1, "188.226.248.36:19999" : 1, "54.86.103.191:19999" : 1, "84.25.161.117:19999" : 1, "23.242.106.27:19999" : 1, "188.226.243.116:19999" : 1, "107.170.200.102:19999" : 1, "108.61.199.47:19999" : 1, "37.187.216.11:19999" : 1, "54.209.226.236:19999" : 1, "184.73.179.148:19999" : 1, "184.73.179.187:19999" : 0, <--- correct "184.73.179.196:19999" : 1, "54.178.139.242:19999" : 1, "54.187.111.243:19999" : 1, "54.255.159.230:19999" : 1 } --> asking for just active nodes now testnet3@ip-10-65-166-48:~/.darkcoin$ ./darkcoind masternode list active { "54.76.47.232:19999" : 1, "188.226.248.36:19999" : 1, "54.86.103.191:19999" : 1, "84.25.161.117:19999" : 1, "23.242.106.27:19999" : 1, "188.226.243.116:19999" : 1, "107.170.200.102:19999" : 1, "108.61.199.47:19999" : 1, "37.187.216.11:19999" : 1, "54.209.226.236:19999" : 1, "184.73.179.148:19999" : 1, "184.73.179.187:19999" : 0, <---- wrong, entry should not show up "184.73.179.196:19999" : 1, "54.178.139.242:19999" : 1, "54.187.111.243:19999" : 1, "54.255.159.230:19999" : 1 } testnet3@ip-10-65-166-48:~/.darkcoin$ ./darkcoind getinfo { "version" : 101001, "protocolversion" : 70018, "walletversion" : 60000, "balance" : 5662.89696663, "blocks" : 18846, "timeoffset" : 0, "connections" : 11, "proxy" : "", "difficulty" : 0.38774206, "testnet" : true, "keypoololdest" : 1401692771, "keypoolsize" : 101, "paytxfee" : 0.00000000, "mininput" : 0.00001000, "errors" : "" }
if (strCommand == "list")
{
std::string strCommand = "active";
if (params.size() == 2){
strCommand = params[1].get_str().c_str();
}
~~~
if(strCommand == "active"){
obj.push_back(Pair(mn.addr.ToString().c_str(), (int)mn.IsEnabled()));
bool IsEnabled()
{
return enabled == 1;
}
masternode list == masternode list active in code.
So it just not filter out 0 flag entry, I think, cosmetic.
Thanks for that - sorry to bother you but i think that the fix is not sufficient. IHMO it fixes the selection routine, but not the bug in the active/inactive state.
Code:--> getting list of masternodes testnet3@ip-10-65-166-48:~/.darkcoin$ ./darkcoind masternode list { "54.76.47.232:19999" : 1, "188.226.248.36:19999" : 1, "54.86.103.191:19999" : 1, "84.25.161.117:19999" : 1, "23.242.106.27:19999" : 1, "188.226.243.116:19999" : 1, "107.170.200.102:19999" : 1, "108.61.199.47:19999" : 1, "37.187.216.11:19999" : 1, "54.209.226.236:19999" : 1, "184.73.179.148:19999" : 1, "184.73.179.187:19999" : 1, "184.73.179.196:19999" : 1, "54.178.139.242:19999" : 1, "54.187.111.243:19999" : 1, "54.255.159.230:19999" : 1 } --> stopping one of my other remote nodes now and asking for list again testnet3@ip-10-65-166-48:~/.darkcoin$ ./darkcoind masternode list { "54.76.47.232:19999" : 1, "188.226.248.36:19999" : 1, "54.86.103.191:19999" : 1, "84.25.161.117:19999" : 1, "23.242.106.27:19999" : 1, "188.226.243.116:19999" : 1, "107.170.200.102:19999" : 1, "108.61.199.47:19999" : 1, "37.187.216.11:19999" : 1, "54.209.226.236:19999" : 1, "184.73.179.148:19999" : 1, "184.73.179.187:19999" : 0, <--- correct "184.73.179.196:19999" : 1, "54.178.139.242:19999" : 1, "54.187.111.243:19999" : 1, "54.255.159.230:19999" : 1 } --> asking for only active nodes now testnet3@ip-10-65-166-48:~/.darkcoin$ ./darkcoind masternode list active { "54.76.47.232:19999" : 1, "188.226.248.36:19999" : 1, "54.86.103.191:19999" : 1, "84.25.161.117:19999" : 1, "23.242.106.27:19999" : 1, "188.226.243.116:19999" : 1, "107.170.200.102:19999" : 1, "108.61.199.47:19999" : 1, "37.187.216.11:19999" : 1, "54.209.226.236:19999" : 1, "184.73.179.148:19999" : 1, "184.73.179.187:19999" : 0, <---- wrong, entry should not show up "184.73.179.196:19999" : 1, "54.178.139.242:19999" : 1, "54.187.111.243:19999" : 1, "54.255.159.230:19999" : 1 } testnet3@ip-10-65-166-48:~/.darkcoin$ ./darkcoind getinfo { "version" : 101001, "protocolversion" : 70018, "walletversion" : 60000, "balance" : 5662.89696663, "blocks" : 18846, "timeoffset" : 0, "connections" : 11, "proxy" : "", "difficulty" : 0.38774206, "testnet" : true, "keypoololdest" : 1401692771, "keypoolsize" : 101, "paytxfee" : 0.00000000, "mininput" : 0.00001000, "errors" : "" }
if (strCommand != "active" && strCommand != "vin" && strCommand != "pubkey" && strCommand != "lastseen" && strCommand != "activeseconds"){
throw runtime_error(
"list supports 'active', 'vin', 'pubkey', 'lastseen', 'activeseconds'\n");
}
Object obj;
BOOST_FOREACH(CMasterNode mn, darkSendMasterNodes) {
mn.Check();
if(strCommand == "active"){
obj.push_back(Pair(mn.addr.ToString().c_str(), (int)mn.IsEnabled()));
}
}
return obj;
1 "subver" : "/nodestratum/",
5 "subver" : "/Satoshi:0.10.10/",
1 "subver" : "/Satoshi:0.10.10.1/", <------
1 "subver" : "/Satoshi:0.10.9.10/",
7 "subver" : "/Satoshi:0.10.9.13/",
1 "subver" : "/Satoshi:0.10.9.4/",
2 "subver" : "/Satoshi:0.9.4.13/",
Active shows the active status, not just active nodes.
Code:if (strCommand != "active" && strCommand != "vin" && strCommand != "pubkey" && strCommand != "lastseen" && strCommand != "activeseconds"){ throw runtime_error( "list supports 'active', 'vin', 'pubkey', 'lastseen', 'activeseconds'\n"); } Object obj; BOOST_FOREACH(CMasterNode mn, darkSendMasterNodes) { mn.Check(); if(strCommand == "active"){ obj.push_back(Pair(mn.addr.ToString().c_str(), (int)mn.IsEnabled())); } } return obj;