← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 411484] Re: Bloom filter does not match spec

 

added a testing tool in rev 3053: <http://bazaar.launchpad.net
/~dcplusplus-team/dcplusplus/trunk/view/head:/test/testbloom.cpp>

the only test that doesn't pass is the last one:
  Actual: "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
Expected: "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"

if you feel like fixing it, the implementation is in the HashBloom
class: <http://bazaar.launchpad.net/~dcplusplus-
team/dcplusplus/trunk/view/head:/dcpp/HashBloom.cpp>

-- 
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/411484

Title:
  Bloom filter does not match spec

Status in DC++:
  New

Bug description:
  It seems like the Bloomfilter in DC++ does not match the spec of the
  extension given.

  I added a Test Vector section in the wiki
  http://www.adcportal.com/wiki/index.php/BLOM  where I tried to give a
  reference of what I understood by the description of the Bloomfilter
  in the spec.

  Would be nice if DC++ could implement the described bloomfilter and
  not just "some" bloomfilter.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dcplusplus/+bug/411484/+subscriptions