CodeChain-io / CodeChain-io/codechain-indexer

Improve stability

未关闭
#304 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
discuss
主要语言
TypeScript
星标
21
派生
15
PR 合并指标
30 天内没有已合并 PR

描述

The current indexing process is a serial process.

downloading block > saving block info > saving transaction info > saving UTXO info > saving address info > saving address's balance info > ... etc

The problem is, the whole system is broken if a single process goes wrong. For example, saving the balance info should not affect the UTXO data and its API, but, the next block will not be downloaded if the balance logic is broken.

贡献指南

这个仓库没有索引到贡献指南

调研方向

该 issue 没有指明文件、测试或入口点。首先跟踪 issue 中描述的索引流程,并确定每个保存步骤中的失败会如何影响区块下载;当独立的数据保存失败不再阻止无关的索引或其 API 时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
backend, blockchain, data
Issue 类型
重构
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。