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

[feature][BTIP-20]: Write merkle root into online proof contract instead of the actural report list #20

Open
Shawn-Huang-Tron opened this issue Dec 1, 2022 · 0 comments

Comments

@Shawn-Huang-Tron
Copy link
Collaborator

Shawn-Huang-Tron commented Dec 1, 2022

As we all know, now our online proof is based on the bttc chain, and every node needs to report online data to bttc online contract once every day. It will spend node's gas. But recently we think that maybe it's not necessary to report daily online proof every node every day. We can collect all this reports and calculate it as a merkle root. And we just need to report this merkle root to online contract once every day for all nodes!
So that will save all the nodes gas and can prove it by merkle root.
The docs about this BTIP is in: BTIP-20

@Shawn-Huang-Tron Shawn-Huang-Tron changed the title [feature][BTIP-1]: Use merkle root in online proof contract instead of the actural report list [feature][BTIP-20]: Write merkle root into online proof contract instead of the actural report list Dec 1, 2022
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

1 participant