- 01 Oct, 2013 1 commit
-
-
Jeff Garzik authored
notably RPC.
-
- 17 Sep, 2013 1 commit
-
-
coblee authored
-
- 24 Aug, 2013 2 commits
-
-
Jeff Garzik authored
getblocktemplate only uses certain portions of the coinbase transaction, notably ignoring the coinbase TX output entirely. Use CreateNewBlock() rather than CreateNewBlockWithKey(), eliminating the needless key passing. Should be zero behavior changes.
-
Jeff Garzik authored
rather than a key. CreateNewBlockWithKey() helper is added to restore existing functionality, making this an equivalent-transformation change.
-
- 31 Jul, 2013 1 commit
-
-
Jeff Garzik authored
Public functions referenced elsewhere are added to miner.h.
-
- 24 Jun, 2013 1 commit
-
-
Jeff Garzik authored
-
- 19 Jun, 2013 1 commit
-
-
Mike Hearn authored
The new class is accessed via the Params() method and holds most things that vary between main, test and regtest networks. The regtest mode has two purposes, one is to run the bitcoind/bitcoinj comparison tool which compares two separate implementations of the Bitcoin protocol looking for divergence. The other is that when run, you get a local node which can mine a single block instantly, which is highly convenient for testing apps during development as there's no need to wait 10 minutes for a block on the testnet.
-
- 06 Jun, 2013 1 commit
-
-
Eric Lombrozo authored
-
- 01 Jun, 2013 1 commit
-
-
Philip Kaufmann authored
- explicitly set the default of all GetBoolArg() calls - rework getarg_test.cpp and util_tests.cpp to cover this change - some indentation fixes - move macdockiconhandler.h include in bitcoin.cpp to the "our headers" section
-
- 30 May, 2013 1 commit
-
-
Wladimir J. van der Laan authored
This commit decouples the pMiningKey initialization and shutdown from the RPC threads. `getwork` and `getblocktemplate` rely on pMiningKey, and can also be ran from the debug window in the UI even when the RPC server is not running. Solves issue #2706.
-
- 23 May, 2013 1 commit
-
-
Gavin Andresen authored
Fixes issue#2687
-
- 07 Feb, 2013 1 commit
-
-
Gavin Andresen authored
std::vector.data() is a C++11 feature that makes my OSX build machine unhappy.
-
- 30 Jan, 2013 1 commit
-
-
Pieter Wuille authored
-
- 04 Jan, 2013 1 commit
-
-
Forrest Voight authored
-
- 19 Dec, 2012 2 commits
-
-
Forrest Voight authored
use fee/sigop data in BlockTemplate struct instead of (not always correctly) calculating it ourselves
-
Forrest Voight authored
changed CreateNewBlock to return a CBlockTemplate object, which includes per-tx fee and sigop count data
-
- 24 Oct, 2012 1 commit
-
-
Gregory Maxwell authored
This looks like it was just a munged merge when ultraprune was committed.
-
- 20 Oct, 2012 2 commits
-
-
Pieter Wuille authored
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.
-
Pieter Wuille authored
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.
-
- 04 Oct, 2012 1 commit
-
-
Wladimir J. van der Laan authored
Replace all "magic values" in RPCError(...) by constants.
-
- 01 Sep, 2012 1 commit
-
-
Luke Dashjr authored
-
- 21 Aug, 2012 3 commits
-
-
Jeff Garzik authored
-
Jeff Garzik authored
-
Jeff Garzik authored
-