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

Agent controller #47

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Agent controller #47

wants to merge 9 commits into from

Conversation

zeroXbrock
Copy link
Member

@zeroXbrock zeroXbrock commented Nov 17, 2024

  • add from_pool param to NamedTxRequest which indicates that the transaction(s) for this request template should be signed by an account from a named signer pool ("agent")
    • an "agent" has control of an array of private keys
  • agent accounts are generated by RandSeed at runtime when running spam
    • the number of accounts generated is determined by the number of requests (txs/bundles) to be sent per block
    • e.g. if you specify --tpb 8 and your spam config only includes 1 tx with a from_pool setting, then the system will generate 8 accounts, and send one tx from each of them every block
  • agent accounts are funded by the first user-provided private key

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

Successfully merging this pull request may close these issues.

1 participant