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 jsonrpc api engine agnostic. #95

Closed
debris opened this issue Apr 25, 2016 · 3 comments
Closed

Make jsonrpc api engine agnostic. #95

debris opened this issue Apr 25, 2016 · 3 comments
Labels

Comments

@debris
Copy link

debris commented Apr 25, 2016

cc @frozeman @obscuren

Goal

Make jsonrpc api engine agnostic.

Issue.

Currently jsonrpc methods eth_getBlockByHash and eth_getBlockByNumber return block objects with field nonce. Oddly, the other pow specific param mixHash does not exist.

nonce: DATA, 8 Bytes - hash of the generated proof-of-work. null when its pending block.

PoA blocks does not have nonce property.

Proposed solution

Replace nonce field with seal_fields. An array containing all engine specific fields.

"seal_fields": ["0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa", "0x0000000000000042"]
@frozeman
Copy link
Contributor

Makes sense. Any opinion @vbuterin

@github-actions
Copy link

There has been no activity on this issue for two months. It will be closed in a week if no further activity occurs. If you would like to move this EIP forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review.

@github-actions github-actions bot added the stale label Jan 16, 2022
@github-actions
Copy link

This issue was closed due to inactivity. If you are still pursuing it, feel free to reopen it and respond to any feedback or request a review in a comment.

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

No branches or pull requests

4 participants