decred / dcrtime

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

multi: add last-digests route to api v2 #84

Closed tiagoalvesdulce closed 1 year ago

tiagoalvesdulce commented 1 year ago

Depends on: https://github.com/decred/dcrtime/pull/81

This PR:

Obs: /last-digests make use of the getTimestamp func to query the collections. In order to use this endpoint the enablecollections config option should be set to true, otherwise it will return an empty array.

https://github.com/decred/dcrtime/blob/bbebe6df45a8c650c4e605d778494480b056f121/dcrtimed/backend/filesystem/filesystem.go#L424

TODO