- 29 Oct, 2012 1 commit
-
-
Gavin Andresen authored
-
- 21 Oct, 2012 1 commit
-
-
Philip Kaufmann authored
- Wiki says "block chain" is correct ;) - remove some unneeded spaces I found in the source, while fixing the spelling
-
- 20 Oct, 2012 3 commits
-
-
Pieter Wuille authored
Use CBlock's vMerkleTree to cache transaction hashes, and pass them along as argument in more function calls. During initial block download, this results in every transaction's hash to be only computed once.
-
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.
-
- 20 Sep, 2012 1 commit
-
-
Pieter Wuille authored
Only enabled inside tests for now.
-
- 24 Aug, 2012 2 commits
-
-
Gregory Maxwell authored
This is cleanup for the listaddressgroupings code. Also add some real help text.
-
Gregory Maxwell authored
-
- 23 Aug, 2012 2 commits
-
-
Gregory Maxwell authored
This applies on top of the coincontrol listaddressgroupings patch and makes finding eligible outputs from the groups returned by listaddressgroupings possible.
-
Luke Dashjr authored
JSON-RPC: Add "blocktime" and (for wallet transactions) "timereceived" to transaction Object outputs
-
- 21 Aug, 2012 1 commit
-
-
Jeff Garzik authored
-
- 20 Aug, 2012 2 commits
-
-
Gavin Andresen authored
Allows the user to pass null as the second or third parameter to signrawtransaction, in case you need to (for example) fetch private keys from the wallet but want to specify the hash type.
-
Gavin Andresen authored
This fixes issue #1688
-
- 06 Aug, 2012 1 commit
-
-
Gregory Maxwell authored
Signrawtransaction rpc was crashing when some inputs were unknown, and even with that fixed was failing to handle all the known inputs if there were unknown inputs in front of them. This commit instead attempts to fetch inputs one at a time.
-
- 17 Jul, 2012 1 commit
-
-
Gavin Andresen authored
-
- 12 Jul, 2012 1 commit
-
-
Gavin Andresen authored
-
- 05 Jul, 2012 2 commits
-
-
Gavin Andresen authored
-
Gavin Andresen authored
Implement listunspent / getrawtransaction / createrawtransaction / signrawtransaction, to support creation and signing-on-multiple-device multisignature transactions.
-