kubo/blocks/bloom
Kristoffer Ström 3d8e96a22e Make bloom filters simpler
These did not work before, and had some unnecessary complexity.

Now the filters use only one hashing function, no bignum arithmetic, and gets the additional bit positions by repeatedly hashing the result of prior hash.

Since we're not concerned about crypto hashing here, this should be a win.

External interfaces unchanged.
2015-04-07 18:03:15 +02:00
..
filter_test.go Make bloom filters simpler 2015-04-07 18:03:15 +02:00
filter.go Make bloom filters simpler 2015-04-07 18:03:15 +02:00
filter.proto add blockset and bloomfilter and beginnings of pinning service 2014-10-22 00:26:11 -07:00