Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Don't ask for lastHashes from Blockchain after Metropolis #4084

Closed
gumb0 opened this issue May 19, 2017 · 1 comment
Closed

Don't ask for lastHashes from Blockchain after Metropolis #4084

gumb0 opened this issue May 19, 2017 · 1 comment
Assignees
Milestone

Comments

@gumb0
Copy link
Member

gumb0 commented May 19, 2017

Follow-up to #4066

Starting from block METROPOLIS_FORK_BLOCK+256 BLOCKHASH opcode relies on the call to contract instead of asking Blockchain and we could skip creating lastHashes array, saving performace.

@gumb0 gumb0 added this to the Metropolis milestone May 19, 2017
@gumb0 gumb0 self-assigned this May 19, 2017
@gumb0
Copy link
Member Author

gumb0 commented May 19, 2017

Refactoring work started in the branch https://github.com/ethereum/cpp-ethereum/tree/lasthashes-refactoring

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

No branches or pull requests

1 participant