code: func (bi *blockIndex) addNode(node *blockNode) {
  	bi.index[node.hash] = node
  }
docs: // addNode adds the provided node to the block index, but does not mark it as
  // dirty. This can be used while initializing the block index.
  //
  // This function is NOT safe for concurrent access.