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

Masternode - getblocks repeating in debug log

zuperdoge

New member
Has anyone seen this behavior in the debug.log on the masternode? I got an alert from AWS about space issues and when I checked, the debug.log was full of these repeating lines:

upload_2014-4-15_1-11-19.png



Notice how it starts at block 43186 and stops at 44685, then loops back around to 43186?

I am running DarkCoin version v0.10.3.4-18-g0f787e5-beta. The darkcoind getblockcount is accurate.

This is the darkcoind getinfo results:
Code:
{
    "version" : 100305,
    "protocolversion" : 70012,
    "walletversion" : 60000,
    "balance" : 1000.00000000,
    "blocks" : 51594,
    "timeoffset" : 0,
    "connections" : 11,
    "proxy" : "",
    "difficulty" : 503.84287345,
    "testnet" : false,
    "keypoololdest" : 1397520093,
    "keypoolsize" : 99,
    "paytxfee" : 0.00000000,
    "mininput" : 0.00001000,
    "unlocked_until" : 0,
    "errors" : ""
}

Any help is greatly appreciated!
 
Your darkcoind works well.
"blocks" : 51594 up to current.

The log "getblocks" appear when connected peer try to download blocks.
Repeated getblocks with same block height log indicates peer(or peers) get stucked.
Peer need client update.

https://github.com/evan82/darkcoin/blob/master/src/main.cpp#L3728-L3745

How to find out stucked peer ?

1) stop darkcoind
darkcoind stop

2) run darkcoind
darkcoind

3) check peerinfo
darkcoind getpeerinfo

carefully check "startingheight"
 
There are two nodes that are acting up. Both are running subver: Satoshi:0.9.0. I blocked both IP addresses and the log looks clean now. Thanks for your help!

Code:
    {"addr" : "192.95.29.176:9999",
        "services" : "00000003",
        "lastsend" : 1397615063,
        "lastrecv" : 1397615063,
        "bytessent" : 25133421,
        "bytesrecv" : 1364163,
        "blocksrequested" : 2,
        "conntime" : 1397614532,
        "version" : 70002,
        "subver" : "/Satoshi:0.9.0/",
        "inbound" : false,
        "startingheight" : 47497,
        "banscore" : 0    }
&
    {   "addr" : "62.210.151.66:9999",
        "services" : "00000003",
        "lastsend" : 1397615064,
        "lastrecv" : 1397615064,
        "bytessent" : 28647537,
        "bytesrecv" : 1545841,
        "blocksrequested" : 2,
        "conntime" : 1397614534,
        "version" : 70002,
        "subver" : "/Satoshi:0.9.0/",
        "inbound" : false,
        "startingheight" : 47497,
        "banscore" : 0    }
 
Back
Top