ethereum / ethereum/nodemonitor

Cloudflare oddity

Open
#8 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
56
Forks
26
PR merge metrics
No merged PRs in 30d

Description

The `cloudflare` node actually reports `d61d45` as block `11337655`, but the number for `d61d45` is `11337656` -- the block after. and indeed, looking at the _parent_, it says `0x32983129d5f396e624049b22b9af04657aa6fcd8e566c935bb1ff6ad167e5d2a` is the parent --- which is the one all other nodes report for `11337655`.

Might be that we screw something up, and somehow maps the wrong numbers to hashes. We should look into it, and basically not permit a block `N != M` to be "registered" for height `M`

![Screenshot_2020-11-27 Node monitor](https://user-images.githubusercontent.com/142290/100446156-96f4cb00-30ae-11eb-83aa-d9fbaf8ce3bb.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Cloudflare node discrepancy described in the report, comparing the block height, number, hash, and parent against the other nodes. Trace where blocks are registered and verify that a block with number N cannot be registered for height M when N differs from M; done means the mismatch is rejected or handled consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.