This release adds a number of AnyTrust improvements and features.
- Replace Retrieve API method which required passing a Data Availablity Certificate as the argument, with GetByHash which only needs the data hash.
- REST server option for
daserver
for serving GetByHash requests, additional to the existing RPC server. - New storage modes! In addition to local disk file mode, there are now S3 and local disk database storage modes, see options starting with --data-availability.local-file-storage, --data-availablility.s3-storage, and --data-availability.local-db-storage
- In-memory caching mode, see --data-availability.local-cache
- Documentation in daserver-instructions updated with samples for how to run
daserver
as both a mirror and as a committee member. - REST and RPC health checks for
daserver
. daserver
can fall back to fetching from REST endpoints if it is missing a data hash, see the options under --data-availability.rest-aggregator. If it is able to retrieve from a REST endpoint, then it stores it locally. --data-availability.rest-aggregator.online-url-list allows fetching from a URL which contains a list of URLs, which can reference other lists so multiple parties can maintain mirror lists.