Finalizeblockchain

Added more methods for blockchain.go