code: func dbFetchBlockByNode(dbTx database.Tx, node *blockNode) (*btcutil.Block, error) {
  	// Load the raw block bytes from the database.
  	blockBytes, err := dbTx.FetchBlock(&node.hash)
  	if err != nil {
  		return nil, err
  	}
  
  	// Create the encapsulated block and set the height appropriately.
  	block, err := btcutil.NewBlockFromBytes(blockBytes)
  	if err != nil {
  		return nil, err
  	}
  	block.SetHeight(node.height)
  
  	return block, nil
  }
docs: // dbFetchBlockByNode uses an existing database transaction to retrieve the
  // raw block for the provided node, deserialize it, and return a btcutil.Block
  // with the height set.