Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加地址索引 #548

Open
cchanm opened this issue May 27, 2020 · 0 comments
Open

增加地址索引 #548

cchanm opened this issue May 27, 2020 · 0 comments

Comments

@cchanm
Copy link
Contributor

cchanm commented May 27, 2020

当前程序中没有地址索引,导致查询某个地址的相关交易效率低。

  1. 增加地址索引后,可以改进DPOS的CERT交易处理方法,不需要单独存储UNSPENT及TX,并且不需要启动时加载全链的TX,可以提高启动速度。
  2. 可以改进WALLET的处理方法,当前导入地址时,需要从全链导入TX,构造UNSPENT,增加地址索引后,可以考虑去掉这部分,直接使用全链的地址索引和UNSPENT索引,则去掉了加载的过程,可以很大程度提高效率。
  3. 增加地址索引可以解决查询交易的FORM地址的效率问题。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant