Coder Social home page Coder Social logo

Bloom Filter Error Rate about plutus HOT 9 CLOSED

isaacdelly avatar isaacdelly commented on August 25, 2024
Bloom Filter Error Rate

from plutus.

Comments (9)

pimoussefrnl avatar pimoussefrnl commented on August 25, 2024 1

@MisterTeo You can't, the database provided is already serialized with 0.1% (if i'm not mistaken).
Mine was modified before the new pull requests so I have serialized myself the database from January with an error rate of 0.0000001%. (I have tested the bloomfilter before it was already integrated so my code is the original one from Fraccaman) I think @Isaacdelly need to push a new database only.

from plutus.

Finn-Sionnach avatar Finn-Sionnach commented on August 25, 2024

It's not all of them, (but it is more than I would have expected) figure something with the bloom filter and the .1 error rate?

from plutus.

budiony avatar budiony commented on August 25, 2024

I suppose this is related to the bloom filter, I have the same issue.

from plutus.

MisterTeo avatar MisterTeo commented on August 25, 2024

Same here. Hundred. All 0 balance.

from plutus.

Simkas45 avatar Simkas45 commented on August 25, 2024

all address saved to txt file from 0 balance

from plutus.

pimoussefrnl avatar pimoussefrnl commented on August 25, 2024

That is due to the bloom filter, if you look at the README in the database, the filter has been created with a 0.1% error rate which is way too much. The error rate of 0.0001% produces already about 4/5 wallets per 4 hours (empty wallet). The bloom filter should be done with 0.0000001% error rate at least (this is the one I'm using, Thanks to Fraccaman). If I remember correctly, 0.0001% the Filter was about 75 Mb, with a correction of 0.0000001%the filter was about 120 Mb.

bloom = BloomFilter(max_elements=10000, error_rate=0.1)
To:
bloom = BloomFilter(max_elements=25000000, error_rate=0.0000001)

from plutus.

MisterTeo avatar MisterTeo commented on August 25, 2024

you can help him and upload your database... :)

from plutus.

pimoussefrnl avatar pimoussefrnl commented on August 25, 2024

I can't, my file is not a .pickle and it was not created the same way he did. I don't have the file right now to compare. I will look into it when I have it.

from plutus.

Isaacdelly avatar Isaacdelly commented on August 25, 2024

It was because the bloom filter had a 0.1 error rate. If I tried to make the error rate smaller, then the serialized file would get bigger and then couldn't get uploaded to GitHub because it exceeded 50MB. And bloom filters can't be partitioned into smaller files like we do with a set, so 0.1 was the smallest value I could upload.

I went back to using a set in this update and i'll try to see if there is a way to upload a bloom filter with a smaller error rate that's under 50MB.

from plutus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.