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

Support multiple keys per destination blockchain #256

Open
Tracked by #242
cam-schultz opened this issue Apr 4, 2024 · 1 comment
Open
Tracked by #242

Support multiple keys per destination blockchain #256

cam-schultz opened this issue Apr 4, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@cam-schultz
Copy link
Collaborator

Context and scope
Both the account-private-key and kms-key-id approaches (see https://github.com/ava-labs/awm-relayer?tab=readme-ov-file#configuration) support a single key per destination blockchain. Avalanchego nodes are configureable to limit the throughput of transactions in the mempool from a single address, and with scaling solutions such as #31, a single relayer instance may bump against that limit.

We should implement an opt-in key rotation feature that cycles among a list of keys to avoid this bottleneck. The approximate number of keys needed will be a function of the expected Avalanchego node account limit and the expected transaction issuance rate on the destination blockchain.

@najeal
Copy link
Contributor

najeal commented May 21, 2024

@cam-schultz I believe you are probably going to implement this feature straight after #288 . If there is another interesting issue I can work on, please ping me in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog 🗄️
Development

No branches or pull requests

2 participants