vocdoni-node icon indicating copy to clipboard operation
vocdoni-node copied to clipboard

introduce a new package censusdb

Open p4u opened this issue 1 year ago • 0 comments

The database operations previously implemented in the API census handler, are now moved to a standalone package.

The reasons are:

  1. cleaner code since we do not mix API and database
  2. the censusdb can now be used by other components, such as the vochain/censusdownloader in order to import new census automatically when an election is created.

censusdb and api/census will deprecate censusManager

Signed-off-by: p4u [email protected]

p4u avatar Oct 26 '22 20:10 p4u