func NewChain() *Chain {
	return &Chain{
		lock:  new(sync.Mutex),
		chain: make([]*BlockNode, 0),
	}
}
// NewChain creates a new chain.
NewChain creates a new chain.
// NewChain creates a new chain .
func NewChain() *Chain {
	return &Chain{
		lock:  new(sync.Mutex),
		chain: make([]*BlockNode, 0),
	}
}
func NewChain ( ) * Chain { return & Chain { lock : new ( sync . Mutex ) , chain : make ( [ ] * BlockNode , 0 ) , } }
NewChain creates a new chain.
NewChain creates a new chain .