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

Remove the requirement for txindex from Bitcoin #559

Closed
kayabaNerve opened this issue Apr 20, 2024 · 2 comments
Closed

Remove the requirement for txindex from Bitcoin #559

kayabaNerve opened this issue Apr 20, 2024 · 2 comments
Labels
bitcoin improvement This could be better

Comments

@kayabaNerve
Copy link
Member

One less thing to be corrupted, probably save tens of GBs of disk space.

@kayabaNerve kayabaNerve added improvement This could be better bitcoin labels Apr 20, 2024
@kayabaNerve
Copy link
Member Author

We either need to recreate the output form the input (as possible for at least outputs in the P2*H family), or maintain our own index (or some combination of the two).

kayabaNerve added a commit that referenced this issue Sep 11, 2024
Before we yield a block for scanning, we save all of the contained script
public keys. Then, when we want the address credited for creating an output,
we read the script public key of the spent output from the database.

Fixes #559.
@kayabaNerve
Copy link
Member Author

Resolved in the above commit on the processor-smash branch.

kayabaNerve added a commit that referenced this issue Sep 13, 2024
Before we yield a block for scanning, we save all of the contained script
public keys. Then, when we want the address credited for creating an output,
we read the script public key of the spent output from the database.

Fixes #559.
kayabaNerve added a commit that referenced this issue Sep 20, 2024
Before we yield a block for scanning, we save all of the contained script
public keys. Then, when we want the address credited for creating an output,
we read the script public key of the spent output from the database.

Fixes #559.
kayabaNerve added a commit that referenced this issue Sep 20, 2024
Before we yield a block for scanning, we save all of the contained script
public keys. Then, when we want the address credited for creating an output,
we read the script public key of the spent output from the database.

Fixes #559.
kayabaNerve added a commit that referenced this issue Sep 20, 2024
Before we yield a block for scanning, we save all of the contained script
public keys. Then, when we want the address credited for creating an output,
we read the script public key of the spent output from the database.

Fixes #559.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bitcoin improvement This could be better
Projects
None yet
Development

No branches or pull requests

1 participant