ethereum / beacon_chain

MIT License
211 stars 65 forks source link

add `get_indices_for_slot` and `get_block_hash` #59

Closed djrtwo closed 6 years ago

djrtwo commented 6 years ago

Issue

The v2.1 spec has two new helpers defined (get_indices_for_slot and get_block_hash). The current code was written before these were added.

Suggested implementation