elixir-node icon indicating copy to clipboard operation
elixir-node copied to clipboard

Adjust COINBASE, TIMESTAMP, DIFFICULTY, BLOCKHASH instructions calculation

Open cheezus1 opened this issue 7 years ago • 1 comments

  • 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 avatar Nov 07 '18 13:11 cheezus1

What is this blocked by?

thepiwo avatar Nov 26 '18 07:11 thepiwo