code: func (s *Store) GetNode(id string) (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 := getNodeTxn(tx, id)
  	if err != nil {
  		return 0, nil, fmt.Errorf("node lookup failed: %s", err)
  	}
  	return idx, node, nil
  }
docs: // GetNode is used to retrieve a node registration by node name ID.