Multiple simultaneous transactions #1

Open
opened 2025-01-12 15:27:20 +01:00 by str3tch · 0 comments
Owner

For now transaction nonce is taken from the actual finalized state, that's why we are obligated to send them one by one. At the same time application already stores vector of in-flight transaction in order to monitor/log them.

The idea is to store account nonce (for each account that is loaded to the application) and increment it SAFELY after each succefull transaction, e.g. we need to fetch the nonce at start-up and then just use application state. Please, keep in mind that the application is asynchronous and the latest transaction can be faster then all previous for any reason.

For now transaction nonce is taken from the actual finalized state, that's why we are obligated to send them one by one. At the same time application already stores vector of in-flight transaction in order to monitor/log them. The idea is to store account nonce (for each account that is loaded to the application) and increment it **SAFELY** after each succefull transaction, e.g. we need to fetch the nonce at start-up and then just use application state. Please, keep in mind that the application is asynchronous and the latest transaction can be faster then all previous for any reason.
str3tch added the
enhancement
help wanted
labels 2025-01-13 14:42:45 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ghostchain/ghost-eye#1
No description provided.