silkrpc icon indicating copy to clipboard operation
silkrpc copied to clipboard

Refactor core package to improve testability

Open canepat opened this issue 4 years ago • 0 comments

Refactor content of core package to improve testability:

  • merge content of rawdb subpackage into core
  • move accessors.hpp to database_reader.hpp
  • refactor chain.hpp content introducing interface Chain and subclass DatabaseChain using DatabaseReader
  • merge blocks functions into Chain interface and implement them in DatabaseChain

canepat avatar Jul 28 '21 21:07 canepat