Pure ruby bitcoin block parser