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

Define txpool ownership #88

Open
1 task
notlesh opened this issue May 10, 2023 · 0 comments
Open
1 task

Define txpool ownership #88

notlesh opened this issue May 10, 2023 · 0 comments

Comments

@notlesh
Copy link
Collaborator

notlesh commented May 10, 2023

Designing and running a txpool is a lot of work. It would obviously be ideal if a container-chain project didn't have to run any infra for its txpool, but pushing all of this infra on the tanssi collators comes with a lot of conflicts-of-interest.

Some things to consider:

  • Tanssi collators should have incentives to include container-chain txns
  • The performance of one container chain's txpool should not [drastically] impact others
  • The overall protocol should prevent intentional or unintentional abuse, which can come in different flavors:
    • gossip spam
    • excessive validate() overhead
    • frontrunning and other bad incentives

Even if container chains don't need to run their own txpool infra, it's still extremely important that their txn design does not lead to performance problems.

TODO:

  • Modify purchase_credits() to buy up to the credits specified to tolerate failure/abuse better
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