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

Adjust COINBASE, TIMESTAMP, DIFFICULTY, BLOCKHASH instructions calculation #752

Open
cheezus1 opened this issue Nov 7, 2018 · 1 comment

Comments

@cheezus1
Copy link
Contributor

cheezus1 commented Nov 7, 2018

  • Make the TIMESTAMP instruction deterministic by using the timestamp of the current micro block
  • Make the DIFFICULTY instruction deterministic by using the difficulty at previous key block.
  • Use beneficiary from key block as COINBASE
  • Make the BLOCKHASH instruction returns the hash of the key block at the specified height
@cheezus1 cheezus1 changed the title Adjust COINBASE, TIMESTAMP, DIFFICULTY instructions calculation Adjust COINBASE, TIMESTAMP, DIFFICULTY, BLOCKHASH instructions calculation Nov 8, 2018
@cheezus1 cheezus1 added the 5 label Nov 8, 2018
@thepiwo
Copy link
Collaborator

thepiwo commented Nov 26, 2018

What is this blocked by?

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

No branches or pull requests

2 participants