-
Notifications
You must be signed in to change notification settings - Fork 14
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
Index scheduled transfer events. #324
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, but we need some logic for these scheduled_releases
to be resolved and update the account balances accordingly.
We can introduce that in a separate PR.
…ex-scheduled-transfer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Purpose
Relates to: #246
This implements indexing for scheduled transfers. The actual queries are not yet implemented.
Changes
scheduled_releases
table.(account_index, release_time)
for efficiently querying the pending releases on a particular account.TransferredWithSchedule
andTransferredWithScheduleAndMemo
events to index the scheduled releases appropriately.Checklist
hard-to-understand areas.