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

Ridvan pending tx by age #73

Merged
merged 4 commits into from
Nov 18, 2021
Merged

Conversation

rozaydin
Copy link

@rozaydin rozaydin commented Nov 17, 2021

Adds a new method to txdb to retrieve pending txes by age, and propagates this information to wallet. This new method used by namebase-plugin.

Reading records from DB does not acquire a lock, for the following reason, when deleting the tx using abandon call, abandon call acquiires a lock and checks if tx is eligible for removal or not.

Signed-off-by: rozaydin <ridvan@namebase.io>
Signed-off-by: rozaydin <ridvan@namebase.io>
Signed-off-by: rozaydin <ridvan@namebase.io>
Signed-off-by: rozaydin <ridvan@namebase.io>
@rozaydin rozaydin self-assigned this Nov 17, 2021
@rozaydin rozaydin changed the title [WIP] Ridvan pending tx by age Ridvan pending tx by age Nov 17, 2021
@turbomaze turbomaze merged commit 53cc7f1 into production-namebase Nov 18, 2021
@turbomaze turbomaze deleted the ridvan-pending-tx-by-age branch November 18, 2021 00:27
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

Successfully merging this pull request may close these issues.

2 participants