decred / dcrtime

Decred anchored timestamp client, proxy, and server.
ISC License
28 stars 23 forks source link

backend: Add scalable PostgreSQL backend #74

Closed amass01 closed 2 years ago

amass01 commented 4 years ago

This diff adds PostgreSQL implementation of dcrtimed's Backend interface. Additionally, It extends dcrtime_fsck, dcrtime_dumpdb & dcrtime_dumpdb -restore to support postgres backend as well. The mentioned cmd tools dig in dcrtimed.conf to determine which backend to run and to find out the db connection params.

Closes #24