I wanted to try re-writing in Ruby to warm up today. Can someone confirm this is correct? https://gist.github.com/chrisallick/cb196b13555c86f9193f3ec4...
Looks good to me. You might want to keep track of the blocks as you create them, or you will find it hard to verify the integrity of a block. (Do I know the hash of the previous block? Do I know about the next block, if it is not the last block?)
the thing i really want to try making is take a sinatra/redis/crud app and rebuild the database as a distributed database on a blockchain. or at least i think thats what i want to do.