nosyos / bloomfilter_example

bloomfilter exampne

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bloomfilter example

Bloomfilter example is a Python implementation that generates and verifies Bloomfilter used in Ethereum.
NOTE: This is just a example and is not intended for use in a production environment.

Setup

git clone https://github.com/nosyos/bloomfilter_example.git
cd bloomfilter_example

Usage

$ docker-compose up -d
$ docker-compose exec bloomfilter_example /bin/ash
/app # python main.py
input number:
help

        --- help ---
        input number:
        1: add text into bloomfilter
        2: verify text
        3: exit
        help: display this text

Issues

If you have any issue, please report here or PR.

References

https://medium.com/coinmonks/ethereum-under-the-hood-part-8-blocks-2-5fba93293213

About

bloomfilter exampne

License:GNU General Public License v3.0


Languages

Language:Python 80.4%Language:Dockerfile 19.6%