Branch: refs/heads/master
Home: https://github.com/btcsuite/btcd
Commit: dc83f4ee6a127038dc0238600bdc745d239cf8b1
https://github.com/btcsuite/btcd/commit/dc83f4ee6a127038dc0238600bdc745d239cf8b1
Author: Dave Collins <[email protected]>
Date: 2016-06-03 (Fri, 03 Jun 2016)
Changed paths:
M cmd/addblock/addblock.go
M cmd/addblock/config.go
M cmd/addblock/import.go
Log Message:
-----------
addblock: Add support for generating indexes.
This adds two new flags, --txindex and --addrindex, to the addblock
utility which mirror the flags on btcd. They serve to to specify that
the transaction index and/or address index, respectively, should be
built while importing from the bootstrap file.
This is technically not 100% required since btcd will build the indexes
on the first load (when enabled) if they aren't already built, however
it is much faster to build the indexes as the blocks are being validated
(particularly for the address index), so this makes the capability
available.