Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-02-07 | Do not use C++11 std::vector.data() | Gavin Andresen | |
std::vector.data() is a C++11 feature that makes my OSX build machine unhappy. | |||
2013-01-30 | CValidationState framework | Pieter Wuille | |
2013-01-03 | moved "index_in_template" to a separate variable to clarify what it is | Forrest Voight | |
2012-12-19 | use fee/sigop data in BlockTemplate struct instead of (not always correctly) ↵ | Forrest Voight | |
calculating it ourselves | |||
2012-12-19 | changed CreateNewBlock to return a CBlockTemplate object, which includes ↵ | Forrest Voight | |
per-tx fee and sigop count data | |||
2012-10-24 | Don't force getblocktemplate to have a parameter. | Gregory Maxwell | |
This looks like it was just a munged merge when ultraprune was committed. | |||
2012-10-20 | Batch block connection during IBD | Pieter Wuille | |
During the initial block download (or -loadblock), delay connection of new blocks a bit, and perform them in a single action. This reduces the load on the database engine, as subsequent blocks often update an earlier block's transaction already. | |||
2012-10-20 | Ultraprune | Pieter Wuille | |
This switches bitcoin's transaction/block verification logic to use a "coin database", which contains all unredeemed transaction output scripts, amounts and heights. The name ultraprune comes from the fact that instead of a full transaction index, we only (need to) keep an index with unspent outputs. For now, the blocks themselves are kept as usual, although they are only necessary for serving, rescanning and reorganizing. The basic datastructures are CCoins (representing the coins of a single transaction), and CCoinsView (representing a state of the coins database). There are several implementations for CCoinsView. A dummy, one backed by the coins database (coins.dat), one backed by the memory pool, and one that adds a cache on top of it. FetchInputs, ConnectInputs, ConnectBlock, DisconnectBlock, ... now operate on a generic CCoinsView. The block switching logic now builds a single cached CCoinsView with changes to be committed to the database before any changes are made. This means no uncommitted changes are ever read from the database, and should ease the transition to another database layer which does not support transactions (but does support atomic writes), like LevelDB. For the getrawtransaction() RPC call, access to a txid-to-disk index would be preferable. As this index is not necessary or even useful for any other part of the implementation, it is not provided. Instead, getrawtransaction() uses the coin database to find the block height, and then scans that block to find the requested transaction. This is slow, but should suffice for debug purposes. | |||
2012-10-04 | Document RPC error codes | Wladimir J. van der Laan | |
Replace all "magic values" in RPCError(...) by constants. | |||
2012-09-01 | Merge pull request #1771 from luke-jr/bugfix_bip22_mode | Jeff Garzik | |
Bugfix: getblocktemplate: Accept optional "mode" parameter not being provided | |||
2012-09-01 | Bugfix: getblocktemplate: Accept optional "mode" parameter not being provided | Luke Dashjr | |
2012-08-21 | RPC, cosmetic: move more RPC code to new rpcblockchain.cpp module | Jeff Garzik | |
2012-08-21 | RPC: submitblock returns null on success, string on error | Jeff Garzik | |
2012-08-21 | RPC, cosmetic: Create rpcmining.cpp as new home for mining-related RPC code | Jeff Garzik | |