Initial Implementation
This is a minimal implementation that leaves out a few important things.
Summary:
- Add all dot files to .gitignore. Maybe should have added .swp or something instead.
- Add fmt, Install, all to Makefile
- Add EncUint64 in integers.go, following function from other repo
- Add a State struct, containing structures for storing a list of blocks and all possible forks. Also stores transactions that have not yet made an appearance in a block.
- A ConsensusState object, which contains a list of unspent outputs and spent outputs, as well as a list of contracts that are currently active.
- Added and renamed a few types
- Added logic for accepting a new block, and integrating the changes to the ConsensusState if the block is valid.
Also made a few tweaks to the whitepaper.