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

Add relayer that can simulate a big trie #31

Open
s1na opened this issue Dec 9, 2019 · 0 comments
Open

Add relayer that can simulate a big trie #31

s1na opened this issue Dec 9, 2019 · 0 comments
Labels
good first issue Good for newcomers relayer

Comments

@s1na
Copy link
Collaborator

s1na commented Dec 9, 2019

The current token relayer generates random keypairs, creates accounts under the address derived from the pubkey and inserts them into the trie, and later on uses the private key to sign txes.

Because keypair generation is computationally intensive and how we handle memory is not optimal, simulating a large trie (e.g. mainnet height) is not feasible.

We could alternatively generate a lot of "dumb accounts" (empty with no keypairs) and then add a few "full accounts" to sign txes with later on.

@s1na s1na added good first issue Good for newcomers relayer labels Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers relayer
Projects
None yet
Development

No branches or pull requests

1 participant