code: func (s *Store) GetNodeID(id types.NodeID) (uint64, *structs.Node, error) {
  	tx := s.db.Txn(false)
  	defer tx.Abort()
  
  	// Get the table index.
  	idx := maxIndexTxn(tx, "nodes")
  
  	// Retrieve the node from the state store
  	node, err := getNodeIDTxn(tx, id)
  	return idx, node, err
  }
docs: // GetNodeID is used to retrieve a node registration by node ID.