Skip to content

gettxproof with -wtxindex#118

Open
Sjors wants to merge 14 commits into
masterfrom
2026/06/wtxid-merkle-wtxindex
Open

gettxproof with -wtxindex#118
Sjors wants to merge 14 commits into
masterfrom
2026/06/wtxid-merkle-wtxindex

Conversation

@Sjors

@Sjors Sjors commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Combines:

The last commit is 100% vibe coded.

@Sjors Sjors changed the title Witness transaction index + Witness transaction index + gettxproof Jun 13, 2026
@Sjors Sjors force-pushed the 2026/06/wtxid-merkle-wtxindex branch from d7c21a1 to 27d7ce7 Compare June 13, 2026 11:41
@Sjors Sjors changed the title Witness transaction index + gettxproof gettxproof with -wtxindex Jun 13, 2026
@Sjors Sjors force-pushed the 2026/06/wtxid-merkle-wtxindex branch 2 times, most recently from 062c68e to 51f724e Compare June 17, 2026 09:06
Sjors and others added 6 commits June 25, 2026 13:51
Introduce BaseTransactionIndex and move transaction-position writing into an index-specific WriteBlock hook. Subclasses receive block context and choose how to write and match their own transaction identifiers.
Co-authored-by: Andrew Toth <andrewstoth@gmail.com>
LevelDB bloom filters are useful for exact key lookups, but compact
txindex keys are looked up with a prefix seek followed by collision
scanning.

Make BaseIndex bloom-filter use configurable so compact-key -wtxindex
can opt out while legacy -txindex keeps the existing default.

Co-authored-by: Andrew Toth <andrewstoth@gmail.com>
@Sjors Sjors force-pushed the 2026/06/wtxid-merkle-wtxindex branch from 51f724e to 70c2ba6 Compare June 25, 2026 12:17
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.

1 participant