vechain / thor-devkit.js

Typescript library to aid DApp development on VeChain Thor
MIT License
39 stars 30 forks source link

Support for variable lenght Bloom filters #36

Open daithihearn opened 3 years ago

daithihearn commented 3 years ago

The current version appears to only support the older fixed length bloom filters. Are there plans to support the variable length bloom filters that were release in https://github.com/vechain/thor/releases/tag/v1.4.0 ?

qianbin commented 3 years ago

the current bloom filter implementation in thor-devkit is kept just for backward compatibility. almost all cases(actually I just saw in Connex), we just consume the bloom filter, which is simple like so: https://github.com/vechain/connex/blob/master/packages/driver/src/bloom.ts