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

Network transaction builder component #694

Open
Mirko-von-Leipzig opened this issue Feb 14, 2025 · 0 comments
Open

Network transaction builder component #694

Mirko-von-Leipzig opened this issue Feb 14, 2025 · 0 comments
Labels
network transactions Relates to the network transactions feature
Milestone

Comments

@Mirko-von-Leipzig
Copy link
Contributor

Mirko-von-Leipzig commented Feb 14, 2025

Add a new component responsible for creating network network transactions from network notes.

See parent issue #692 for full details.

Communication with other components will happen via gRPC and should consist of:

  1. gRPC server to receive
    1. network notes, and
    2. network tx committed / reverted
  2. store client to fetch
    1. existing network notes on startup
    2. account state
  3. block-producer client to submit network transactions
    Configuration should therefore be the three gRPC endpoints.

Network notes, transactions and accounts still have to be formerly defined in the protocol, so we can simply use the conventional existing types for now.

We can ignore actual execution for now, but if a simple algorithm presents itself then that is also welcome. Note that we should not bundle multiple notes yet.

The component should be initialized with the set of network notes from the store; this should occur before any components are started since otherwise we have additional synchronisation between components to perform.

Partially blocked by

@Mirko-von-Leipzig Mirko-von-Leipzig added the network transactions Relates to the network transactions feature label Feb 14, 2025
@bobbinth bobbinth added this to the v0.9 milestone Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
network transactions Relates to the network transactions feature
Projects
None yet
Development

No branches or pull requests

2 participants