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

Add topological sort for tauri_network txs #35

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

Duddino
Copy link
Member

@Duddino Duddino commented Jan 28, 2025

Add topological sort guaranteeing that if tx1 spends tx2, tx1 will go before tx2 (wallet wants txs from most recent to oldest)
Fixes #28 (Proposed solution wasn't necessary, this sort should be fast enough and keeps index size low)

@Duddino Duddino merged commit dc50d49 into PIVX-Labs:master Jan 28, 2025
3 checks passed
@Duddino Duddino mentioned this pull request Jan 28, 2025
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.

There should be a field/rpc that returns the position in a block of a tx
1 participant