Implementation will be done based on bitcoin Headers-First method: https://bitcoin.org/en/developer-guide#headers-first. Right now there is no way to figure out what the block height is without iterating the whole blockchain. Also blocks can't be referenced by their block height.
[ ] Add store which keeps track of the block height so blocks can be referenced by their block height
Implementation will be done based on bitcoin Headers-First method: https://bitcoin.org/en/developer-guide#headers-first. Right now there is no way to figure out what the block height is without iterating the whole blockchain. Also blocks can't be referenced by their block height.
fixes #9