Giter VIP home page Giter VIP logo

Comments (2)

rjl493456442 avatar rjl493456442 commented on June 19, 2024

Your Geth node is still syncing.

However, when calling eth_blockNumber RPC
{
"jsonrpc": "2.0",
"id": "1",
"result": "0x0"
}
You will receive the results.

Yes Geth will respond you a chain head even during the state sync stage, although the head is 0.

You can use eth_syncing RPC to determine the sync progress.

from go-ethereum.

junghyun0783 avatar junghyun0783 commented on June 19, 2024

@rjl493456442
Thank you for your kind reply.
This is the result of eth_syncing.
Is there anything wrong?
If all goes well, when will “eth_blockNumber” be called?
For reference, syncmode is snap.

{
    "jsonrpc": "2.0",
    "id": "1",
    "result": {
        "currentBlock": "0x172633",
        "healedBytecodeBytes": "0x0",
        "healedBytecodes": "0x0",
        "healedTrienodeBytes": "0x0",
        "healedTrienodes": "0x0",
        "healingBytecode": "0x0",
        "healingTrienodes": "0x0",
        "highestBlock": "0x172674",
        "startingBlock": "0x0",
        "syncedAccountBytes": "0x0",
        "syncedAccounts": "0x0",
        "syncedBytecodeBytes": "0x0",
        "syncedBytecodes": "0x0",
        "syncedStorage": "0x0",
        "syncedStorageBytes": "0x0",
        "txIndexFinishedBlocks": "0x0",
        "txIndexRemainingBlocks": "0x1"
    }
}

from go-ethereum.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.