aboutsummaryrefslogtreecommitdiff
path: root/src/txdb.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Improve gettxoutsetinfo commandPieter Wuille2013-05-011-3/+19
| | | | | | | | | * Bugfix: output the correct best block hash (during IBD, it can differ from the actual current best block) * Add height to output * Add hash_serialized, which is a hash of the entire UTXO state. Can be useful to compare two nodes. * Add total_amount, the sum of all UTXOs' values.
* Clean up shutdown processGavin Andresen2013-04-031-2/+4
|
* Merge pull request #2221 from sipa/perfoGavin Andresen2013-02-221-3/+3
|\ | | | | Various performance tweaks to CCoinsView
| * Various performance tweaks to CCoinsViewPieter Wuille2013-01-261-3/+3
| | | | | | | | | | | | | | | | * Pass txid's to CCoinsView functions by reference instead of by value * Add a method to swap CCoins, and use it in some places to avoid a allocating copy + destruct. * Optimize CCoinsViewCache::FetchCoins to do only a single search through the backing map.
* | Rename database directoriesPieter Wuille2013-01-281-2/+2
|/
* Add optional transaction index to databasesPieter Wuille2013-01-181-0/+23
| | | | | | | | | 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.
* Add -reindex, to perform in-place reindexing of block chain filesPieter Wuille2012-11-091-2/+14
| | | | | | | Flushes the blktree/ and coins/ databases, and reindexes the block chain files, as if their contents was loaded via -loadblock. Based on earlier work by Jeff Garzik.
* Cache size optimizationsPieter Wuille2012-11-041-2/+2
|
* Bugfix: don't crash by trying to write unchanged best blockPieter Wuille2012-10-281-1/+2
|
* Remove BDB block database supportPieter Wuille2012-10-201-0/+189