HomePhabricator

Add optional transaction index to databases
2d1fa42e85c9Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Add optional transaction index to databases

By specifying -txindex when initializing the database, a txid-to-diskpos
index is maintained in the blktree database. This database is used to
help answering getrawtransaction() RPC queries, when enabled.

Changing the -txindex value requires a -reindex; the client will abort
at startup if the database and the specified -txindex mismatch.

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Jan 11 2013, 00:47
Pieter Wuille <pieterw@google.com>Committed on Jan 18 2013, 13:39
deadalnixPushed on May 14 2017, 22:04
Parents
rABC2c7847349d5d: Merge pull request #2149 from sipa/fixtxoutrpc
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieterw@google.com> committed rABC2d1fa42e85c9: Add optional transaction index to databases (authored by Pieter Wuille <pieter.wuille@gmail.com>).Jan 18 2013, 13:39