neo-modules icon indicating copy to clipboard operation
neo-modules copied to clipboard

RpcNep5Tracker and ApplicationLogs plugins depend on LevelDBStore instead of IStore

Open devhawk opened this issue 5 years ago • 2 comments

These plugins aren't usable on nodes running alternative storage plugins

devhawk avatar Mar 30 '20 16:03 devhawk

That is true, it is a pending upgrade that we need to address. However, perhaps it is not really a big priority right now until we conclude other pending issues.

vncoelho avatar Mar 30 '20 16:03 vncoelho

I looked closer at this - these plugins are storing their data in separate storage files. So it would be feasible to use memory or RocksDB for the main blockchain storage while using levelDB for these plugins. However, I do think it would be good for these plugins to use the same pluggable storage engine as the rest of Neo3. Maybe we can introduce a "create new store" mechanism so plugins like this can get a new backend store without conflicting w/ existing data storage

devhawk avatar Mar 31 '20 16:03 devhawk