code: func newBlockNode(blockHeader *wire.BlockHeader, parent *blockNode) *blockNode {
  	var node blockNode
  	initBlockNode(&node, blockHeader, parent)
  	return &node
  }
docs: // newBlockNode returns a new block node for the given block header and parent
  // node, calculating the height and workSum from the respective fields on the
  // parent. This function is NOT safe for concurrent access.