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

通用化 executor plugin #780

Open
vipwzw opened this issue Jan 10, 2020 · 1 comment
Open

通用化 executor plugin #780

vipwzw opened this issue Jan 10, 2020 · 1 comment

Comments

@vipwzw
Copy link
Collaborator

vipwzw commented Jan 10, 2020

目前 executor plugin 是插件化的,但是没有放到插件目录,用户也不能扩展这个部分。

  1. 用户的某些需求,不是针对某个合约的,而是针对所有合约的,这个时候需要全局的插件根据情况进行统计。目前已经有一些插件在executor 模块中。

  2. 因为用户可以自定义,所以需要对key的格式进行检查,历史的数据要做迁移。
    key的格式如下:LODBP-{plugin-name}-xxxx ,这样避免不同的插件互相写数据,或者干扰正常的localdb 的数据。禁用对 statedb 和 localdb 的写操作,可以在执行前 disable write 。

@vipwzw vipwzw added this to the 6.4 milestone Jan 10, 2020
@linj-disanbo
Copy link
Collaborator

处理中

@vipwzw vipwzw modified the milestones: 6.4, 6.5 Feb 6, 2020
@vipwzw vipwzw modified the milestones: 1.65.0, Proposal Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants