func NewBlockchainView() *BlockchainView {
	return &BlockchainView{
		Chain: NewChain(),
		Index: NewBlockIndex(),
		lock:  new(sync.Mutex),
	}
}
// NewBlockchainView creates a new blockchain view.
NewBlockchainView creates a new blockchain view.
// NewBlockchainView creates a new blockchain view .
func NewBlockchainView() *BlockchainView {
	return &BlockchainView{
		Chain: NewChain(),
		Index: NewBlockIndex(),
		lock:  new(sync.Mutex),
	}
}
func NewBlockchainView ( ) * BlockchainView { return & BlockchainView { Chain : NewChain ( ) , Index : NewBlockIndex ( ) , lock : new ( sync . Mutex ) , } }
NewBlockchainView creates a new blockchain view.
NewBlockchainView creates a new blockchain view .