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

统计智能合约占用的RAM情况 #168

Open
secp256 opened this issue Apr 15, 2019 · 0 comments
Open

统计智能合约占用的RAM情况 #168

secp256 opened this issue Apr 15, 2019 · 0 comments
Assignees

Comments

@secp256
Copy link
Contributor

secp256 commented Apr 15, 2019

有2种方式实现:

  1. 放witness_node实现,统计每个智能合约、每个帐户占用的RAM情况,并提供DB API提供查询。(不建议)
  2. 使用create_snapshot DB API定期dump出内存快照,然后反序列化智能合约的持久化存储表,统计每个合约、每个帐户占用的RAM情况。(推荐)
@RootkitKiller RootkitKiller self-assigned this Apr 22, 2019
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

2 participants