thor-devkit.js icon indicating copy to clipboard operation
thor-devkit.js copied to clipboard

Support for variable lenght Bloom filters

Open daithihearn opened this issue 4 years ago • 1 comments

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 ?

daithihearn avatar Jul 22 '21 16:07 daithihearn

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

qianbin avatar Jul 22 '21 16:07 qianbin