[EMAIL PROTECTED] a écrit :
> Author: xor
> Date: 2008-11-11 09:26:12 +0000 (Tue, 11 Nov 2008)
> New Revision: 23480
> 
> Modified:
>    trunk/plugins/WoT/Identity.java
> Log:
> Add FIXME.
> 
> Modified: trunk/plugins/WoT/Identity.java
> +     /* 
> +      * FIXME:
> +      * I suggest before releasing we should write a getRealScore() function 
> which recalculates the score from all Trust objects which are stored
> +      * in the database. We could then assert(getScore() == getRealScore()) 
> for verifying that the database is consistent and watch for some time
> +      * whether it stays consistent, just to make sure that there are no 
> flaws in the code.
> +      */

Caution, this calculation is very expensive and difficult to do
backwards. To calculate an identity's score, you need to know its
trusters capacity and so on...

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Devl mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to