bcgov/indy-tails-server

Cache transactions retrieved after a pool request

开放

#12 创建于 2020年12月9日

 (0 条评论) (0 个反应) (0 位负责人)Python (54 个派生)auto 404
enhancementgood first issuehelp wanted

仓库指标

星标
 (29 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

When publishing a new tails file, the server needs to read the current state of the targeted ledger in order to check the state of the revocation registry.

Every time a new file is pushed, the server needs to "start from scratch" and re-read all of the transactions from inception on the specified ledger (via the genesis file specified during upload + new entries on that ledger).

To speed-up this process, it would be nice to have the last know state for a specific ledger cached so that only transactions newer than the last update - if any - will need to be fetched and refreshed.

贡献者指南