policy: list performance improvements
Opened this issue · 1 comments
nkostoulas commented
For freeze list, burn list, request list there are two alternatives:
-
Move all lists to leveldb
Dedicated key-value db for each. Require significant code changes to amend the db model, create a db handler and change current list models. -
Generic list handling
Currently each list is loaded separately which is very inefficient. Should create a generic solution to handle all list Load, Update, Delete at the same time.
!!! For asset history and freeze history the best way might be (1) as they require a rescan at the moment. !!!
nkostoulas commented
unencrypted whitelist no longer requires rescan
encrypted one requires reindex #196