dcrtime
dcrtime copied to clipboard
Decred anchored timestamp client, proxy, and server.
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.45.0 to 1.56.3. Release notes Sourced from google.golang.org/grpc's releases. Release 1.56.3 Security server: prohibit more than MaxConcurrentStreams handlers from running at once (CVE-2023-44487) In addition to this...
It would be nice to have an endpoint where we could verify a proof file against the blockchain directly pretty much like the `dcrtime_checker` command.
Current format: ``` "merklepath":{"NumLeaves":1,"Hashes":[[45,5,190,55,153,119,254,57,38,7,208,117,97,159,189,149,123,86,253,136,93,110,21,5,199,213,108,133,75,193,34,42]],"Flags":"AQ=="} ``` Desired format: ``` "merklepath": {"NumLeaves": 1,"Hashes": ["532f478d06a74de345fb84f83ec4806b6b54aba4fb0a64c007e297a2e503f99f"],"Flags": "AQ=="} ```
Some stuff that can be done: - Use tables to detail request params and returned keys - Fix internal links - Documents missing routes (`last-anchor`, `status`, etc)
As mentioned by Luke here: https://github.com/decred/dcrtime/pull/84#discussion_r1021757335. We already have the middleware defined here: https://github.com/decred/dcrtime/blob/bbebe6df45a8c650c4e605d778494480b056f121/dcrtimed/dcrtimed.go#L1297 And are using it here: https://github.com/decred/dcrtime/blob/bbebe6df45a8c650c4e605d778494480b056f121/dcrtimed/dcrtimed.go#L1306 As we add every route with the `addRoute` method. It...
Since Go 1.16 the ioutil package [has been deprecated](https://pkg.go.dev/io/ioutil). The same functionality is now provided by package io or package os.
As Luke mentioned here: https://github.com/decred/dcrtime/pull/84#discussion_r1021767766. We are handling erros individually for each route which generates a lot of boilerplate. Ideally we would abstract this behavior to make the code simpler...
The README.md instructions show a broken link for the testnet block explorer.
We want to make dcrtime cloudhyperscale web 3.5 so please add a redis or similar cloud key/value store as a backend.