Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oldest_block_identifier's index is returned as 0 and hash is empty #50

Open
Arslan2 opened this issue Jan 19, 2022 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@Arslan2
Copy link

Arslan2 commented Jan 19, 2022

In network/status response, oldest_block_identifier's index is returned as 0 and hash is empty.
Here is the response of network/status.

{
    "current_block_identifier": {
        "index": 1166658,
        "hash": "NY3cxPTi9g4IaL2Y456zHe5nM8Hw8kDsZp-iuh9TtLk"
    },
    "current_block_timestamp": 1641366488000,
    "genesis_block_identifier": {
        "index": 1,
        "hash": "La6PuV80Ps9qTP0339Pwm64q3_deMTkv6JOo1251EJI"
    },
    "oldest_block_identifier": {
        "index": 0,
        "hash": ""
    },
    "sync_status": {
        "current_index": 1166658,
        "target_index": 1180999,
        "synced": false
    },
    "peers": [
        {
            "peer_id": "/p2p/1124yb49BKQ67d4HohNaJe1MeVfSAgd9qsa3oZ6j5vw6mx2y4bXD"
        },
        {
            "peer_id": "/p2p/1128MYeBdsHt5Y9wFTWNc2mdqEw9FwzaqeRQKxTWpuz9Yax1raMC"
        },
        {
            "peer_id": "/p2p/1128k7YK3UfSh5qaAp37qe2jw3LaG6ycQUAAqD33L9v9DoRHdrkK"
        },
        {
            "peer_id": "/p2p/112hNspUUPrnW7UZapfMtrVSuSbAfErGsS6akEhQYYDMh3RT2zie"
        },
        {
            "peer_id": "/p2p/11LiGvAJf2Fd9tWMU3KPPAxHm9fwDejd9w9T9745RUS16AY1RQH"
        },
        {
            "peer_id": "/p2p/11RxgDXwQTQkVoeF5CwvD93dbFG4Ddgmoda4kXycrJszg3nJjC9"
        },
        {
            "peer_id": "/p2p/11hSTRyG8UzZfJKgTa9B6J6BCqMCaidnweRWW4gsFiK5czizHX2"
        },
        {
            "peer_id": "/p2p/147ywXZTzadiS6dMe4bLbuyJZpQF5EvQum7VsQZWZeVLXYwMuFL"
        }
    ]
}
@syuan100 syuan100 self-assigned this Jan 19, 2022
@syuan100 syuan100 added the bug Something isn't working label Jan 19, 2022
@syuan100
Copy link
Collaborator

@Arslan2 please test the latest optimizations branch. If that branch works then we will close this issue when the branch is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants