Now all caches of a database is disabled by default.
Need to fix all troubles and enable it.
Troubles
sqlite cache not working in memory
sqlite cache not cached all objects
objects cache save all dbobjects into cache. its wrong. The objects cache is simple storage of object, so user should be enable caching of own objects itself.
In the current time database works with only one connection in the own thread.
This is very slow because node work wtih multiple threads and each thread try read or write some data into database.
So in result all threads push into queue of the database worker.
We need to create a one db connection for each work thread.
In the current time the AbstractNode using a list of nodeinfo objects for ban invalid nodes. This is Wrong because a validation of an incoming node works slowly and list of node has large size.