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

Minimize multi-proof branches #50

Open
lightclient opened this issue Nov 6, 2019 · 0 comments
Open

Minimize multi-proof branches #50

lightclient opened this issue Nov 6, 2019 · 0 comments

Comments

@lightclient
Copy link
Collaborator

Blobs are currently constructed in a naive manner: build a multi-proof for X number of accounts, generate Y number of transactions, serialize proof.

There is one stage that is missing though. After the transactions are randomly generated, the multi-proof should be analyzed and only accounts that are directly involved in a transaction should be included.

For example, say a multi-proof consists of 100 accounts and the blob has only 1 transaction between account A and B. The only leaf nodes in the tree should be related to accounts A and B.

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