Skip to content

Remove the transaction index and all its traces #1305

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

Merged
merged 3 commits into from
Oct 27, 2023

Conversation

TheQuantumPhysicist
Copy link
Contributor

Based on the research we done, all the features of the transaction index can be done through the API server. Transactions that are interesting to the user should be taken from the wallet. PR #1304 should take care of that.

Closes #1274

Copy link
Member

@azarovh azarovh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nothing better than removing 3k lines of code

Copy link
Member

@azarovh azarovh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only comment I have is that you also need to go through tests in chainstate/tx-verifier/src/transaction_verifier/input_output_policy/tests/purpose_tests.rs and place deposit output among invalid cases because we don't have compile time guard there and it has to be done manually. wrong tab

@TheQuantumPhysicist TheQuantumPhysicist merged commit 4df840b into master Oct 27, 2023
@TheQuantumPhysicist TheQuantumPhysicist deleted the fix/remove_tx_index branch October 27, 2023 12:20
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.

Check whether we need the transaction index at all in the node
3 participants