code: func (bi *blockIndex) NodeStatus(node *blockNode) blockStatus {
  	bi.RLock()
  	status := node.status
  	bi.RUnlock()
  	return status
  }
docs: // NodeStatus provides concurrent-safe access to the status field of a node.
  //
  // This function is safe for concurrent access.