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

Make layer/block hashes clearer #262

Open
lrettig opened this issue Apr 22, 2024 · 0 comments
Open

Make layer/block hashes clearer #262

lrettig opened this issue Apr 22, 2024 · 0 comments

Comments

@lrettig
Copy link
Member

lrettig commented Apr 22, 2024

Right now the explorer includes a "Hash" field for a layer:

image

And it also lists a layer's blocks by ID:

image

Separately, the API (v1) returns the "state root" (RootStateHash) and the "layer hash/mesh hash" (Hash) as of a given layer:

https://github.com/spacemeshos/go-spacemesh/blob/a2cdfd384c418189a0443e9c647a2e201c879701/api/grpcserver/mesh_service.go#L313-L329

Can we please confirm which of these values the explorer is showing for a given layer, and make this explicit? Can the explorer show both values for a layer? We should probably add tooltips explaining what these values are and how they're calculated.

Can we also allow the explorer to drill down into a block and display that block's data (transactions, in order) and metadata (including block hash)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant