func (c *Chain) Contains(node *BlockNode) bool {
	c.lock.Lock()
	defer c.lock.Unlock()
	return c.contains(node)
}
// Contains checks if the chain contains a BlockNode.
Contains checks if the chain contains a BlockNode.
// Contains checks if the chain contains a BlockNode .
func (c *Chain) Contains(node *BlockNode) bool {
	c.lock.Lock()
	defer c.lock.Unlock()
	return c.contains(node)
}
func ( c * Chain ) Contains ( node * BlockNode ) bool { c . lock . Lock ( ) defer c . lock . Unlock ( ) return c . contains ( node ) }
Contains checks if the chain contains a BlockNode.
Contains checks if the chain contains a BlockNode .