aeternity / elixir-node

Elixir full node implementation of the aeternity specification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adjust COINBASE, TIMESTAMP, DIFFICULTY, BLOCKHASH instructions calculation

cheezus1 opened this issue · 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

What is this blocked by?