neo-project / neo-node

MIT License
229 stars 224 forks source link

state height #845

Closed versionCollector closed 2 years ago

versionCollector commented 2 years ago

Hello! When I'm asking getstateheight method and in response i get

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "blockheight": 8496437,
        "stateheight": 6362340
    }
}

Is it a normal behavior that stateheight is lower than blockheight? If its not how can I fix it?

Jim8y commented 2 years ago

Yes, it is normal. Just give it a few minutes, stateheight will catch up with blockheight.

versionCollector commented 2 years ago

It's have been 17 days since I created this issue, but still stateheight value is lower then blockheight. What could be the problem? e.g.

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "blockheight": 8586776,
        "stateheight": 6380940
    }
}