tronprotocol-scala / scala-tron

Scala implementation of the Tron whitepaper
http://tronprotocol-scala.github.io/scala-tron/
GNU Lesser General Public License v3.0
15 stars 2 forks source link

[WIP] Initial Block Download Implementation #10

Closed Rovak closed 6 years ago

Rovak commented 6 years ago

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