ah OK. Things are different in eMule and KAD. I think I got this point now
But now you made me curious. What is the reason why I have to publish the note with a non reversed fileId
publisher.publishNote(new Int128(new FileHash(hashString)),
new PublishItem(new FileHash(hashString), tagList));
but search it with a reversed one? Is it because of the distance calculation in the LookupTask (ClientID is non reversed)?
this.targetDistance = Utils.XOR(targetID, _jkad_manager.getClientID());
and in the Search class in the searchNotes() method you reverse again?
Sorry for my silly questions. It is a little bit confusing if you don't know the code a goog as you do. But I think I understand it now