func newBlockchain() *blockchain {
	bc := &blockchain{}
	bc.createGenesisBlock()
	bc.nodes = map[string]string{}
	return bc
}
// NewBlockchain sets up a new blockchain object complete with genesis block
NewBlockchain sets up a new blockchain object complete with genesis block
// NewBlockchain sets up a new blockchain object complete with genesis block
func newBlockchain() *blockchain {
	bc := &blockchain{}
	bc.createGenesisBlock()
	bc.nodes = map[string]string{}
	return bc
}
func newBlockchain ( ) * blockchain { bc := & blockchain { } bc . createGenesisBlock ( ) bc . nodes = map [ string ] string { } return bc }
NewBlockchain sets up a new blockchain object complete with genesis block
NewBlockchain sets up a new blockchain object complete with genesis block