aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-11-09Add -reindex, to perform in-place reindexing of block chain filesPieter Wuille
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.
2012-11-09Move ThreadImport to init.cppPieter Wuille
2012-11-09LoadExternalBlockFile switched to CBufferedFilePieter Wuille
2012-11-09Add CBufferedFilePieter Wuille
2012-11-08Merge pull request #1981 from sipa/cachesPieter Wuille
Cache size optimizations
2012-11-04Merge pull request #1830 from Diapolo/trans_rem_spacesWladimir J. van der Laan
fix some double-spaces in strings
2012-11-04Cache size optimizationsPieter Wuille
2012-11-03Merge pull request #1971 from sipa/bugfix_norelayspentPieter Wuille
Bugfix: do not keep relaying spent wallet transactions
2012-11-03Comments for constantsPieter Wuille
2012-11-01Add virtual destructor to CCoinsViewPieter Wuille
2012-11-01Bugfix: do not keep relaying spent wallet transactionsPieter Wuille
The original test (checking whether the transaction occurs in the txindex) is not usable anymore, as it will miss anything already fully spent. However, as merkle transactions (and by extension, wallet transactions) track which block they were last seen being included in, we can use that to determine the need for rebroadcasting.
2012-10-31Bitcoin-Qt: use statustips in addition to tooltipsPhilip Kaufmann
- add setStatusTip() in addition to setTooltip() where it makes sense - add only setStatusTip() if GUI element is only used in main- or tray menu - add an event filter on our BitcoinGUI object to prevent garbelled text on the status bar, which happens when we use it for e.g. displaying block-sync state and then a QEvent::StatusTip wants to write own text to it - remove a double translation of "Bitcoin client"
2012-10-30Merge pull request #1932 from Diapolo/thread_printfWladimir J. van der Laan
fix some thread related log messages
2012-10-30Merge pull request #1963 from sipa/bugfix_nonewblockPieter Wuille
Bugfix: don't crash by trying to write unchanged best block
2012-10-29Merge branch 'rawtx_p2sh'Gavin Andresen
2012-10-29Add missing calls to ranlib in Windows makefilesMatt Corallo
2012-10-29Fix linux-mingw makefile's leveldb build by setting CXX.Matt Corallo
2012-10-29Use && instead of ; in leveldb calls to makefile.Matt Corallo
2012-10-29New createmultisig rpc commandGavin Andresen
This is to support the signrawtransaction API call; given the public keys involved in a multisig transaction, this gives back the redeemScript needed to sign it.
2012-10-29Add redeemScript to listunspent output and signrawtransaction inputGavin Andresen
signrawtransaction was unable to sign pay-to-script-hash inputs when given the list of private keys to use. With this commit you can provide the p2sh redemption script in the list of inputs.
2012-10-29Tests for raw transactions argument checkingGavin Andresen
2012-10-29No need for test fixture now that multisig is enabled on main network.Gavin Andresen
2012-10-29Remove P2SH transition code: P2SH violations may cause DoS triggerPieter Wuille
2012-10-28Bugfix: don't crash by trying to write unchanged best blockPieter Wuille
2012-10-25fix some double-spaces in stringsPhilip Kaufmann
- remove some unneeded stuff in sendcoinsentry.ui - harmonize some "Error:"-messages
2012-10-25First flush block tree, then coin setPieter Wuille
As the coinset data refers to the best block, stored in the block tree. Flushing the coin set first can cause inconsistencies if the process gets killed in between.
2012-10-25Added checks for null pointers in Shutdowntucenaber
Estetics
2012-10-25Merge pull request #1904 from laanwj/2012_10_remove_getorderPieter Wuille
remove "checkorder" P2P command
2012-10-25Merge pull request #1899 from Diapolo/proxy_optionsmodelPieter Wuille
make optionsmodel query real proxy state for ::data()
2012-10-25Merge pull request #1953 from gmaxwell/createnewblock-racePieter Wuille
Fixes a race condition in CreateNewBlock and a future null deref on testnet.
2012-10-25fix some thread related log messagesPhilip Kaufmann
- "ThreadIRCSeed started" was not displayed, even if the thread ran (although only for a short time as the "do we want this thread?"-checks happen IN ThreadIRCSeed2()) - the patch ensures we always get that message - add a "ThreadIRCSeed trying to connect..." message - add missing "ThreadDumpAddress started" message
2012-10-25Merge pull request #1926 from laanwj/2012_10_maindummyboundsWladimir J. van der Laan
Fix out-of-bounds read in main (issue #1924)
2012-10-25Merge pull request #1956 from laanwj/2012_10_prerelease_warningWladimir J. van der Laan
Show warning when using prerelease version
2012-10-25Merge pull request #1955 from gmaxwell/gbt_paramfixPieter Wuille
Don't force getblocktemplate to have a parameter.
2012-10-25ensure AskPassphraseDialog::eventFilter forwards eventsPhilip Kaufmann
- instead of "return false;" use "return QDialog::eventFilter(object, event);" to harmonize this event filter with our default behaviour - remove orphan spaces found while editting the files
2012-10-25Show warning when using prerelease versionWladimir J. van der Laan
Implements #1948 - Add macro `CLIENT_VERSION_IS_RELEASE` to clientversion.h - When running a prerelease (the above macro is `false`): - In UI, show an orange warning bar at the top. This will be used for other warnings (and alerts) as well, instead of the status bar. - For `bitcoind`, show the warning in the "errors" field in `getinfo` response.
2012-10-24Don't force getblocktemplate to have a parameter.Gregory Maxwell
This looks like it was just a munged merge when ultraprune was committed.
2012-10-24Merge pull request #1947 from centromere/freebsd_cpu_fixPieter Wuille
Fixed 100% CPU utilization problem on FreeBSD 9
2012-10-24Fix out-of-bounds read noticed by Ricardo CorreiaWladimir J. van der Laan
Sizeof() returned the size of a pointer instead of the size of the buffer. Fixes issue #1924.
2012-10-24Fixes a race condition in CreateNewBlock and a future null deref on testnet.Gregory Maxwell
CreateNewBlock was reading pindexBest at the start before taking the lock so it was possible to have the the block content not match the prevheader and this can also trigger a newly added assert in ConnectBlock. I noticed this during a code review after twobitcoins reported that ab91bf39 (BIP30 for all blocks) could cause a null dereference on a modified node that mined during the IBD, or on testnet when it reached heights 91842 and 91880 due to CreateNewBlock calling ConnectBlock with pindex->phashBlock NULL.
2012-10-23Bugfix: actually use CCoinsViewMemPoolPieter Wuille
2012-10-23Added some commentsPieter Wuille
Some clarifications after a code review by Mike Hearn.
2012-10-23Bugfix: off-by-one in priority calculationPieter Wuille
2012-10-23Bugfix: add missing fee checkPieter Wuille
2012-10-23Bugfix: off-by-one error in coinbase maturity checkPieter Wuille
2012-10-22Fixed 100% CPU utilization problem on FreeBSD 9Alex
2012-10-21Merge pull request #1939 from sipa/bugfix_zerobalanceGregory Maxwell
Bugfix: do not mark all future coins spent
2012-10-21change blockchain -> block chain (spelling)Philip Kaufmann
- Wiki says "block chain" is correct ;) - remove some unneeded spaces I found in the source, while fixing the spelling
2012-10-21remove init messages from ThreadImport()Philip Kaufmann
- remove uiInterface.InitMessage() calls from ThreadImport(), as Qt doesn't like them getting called out of it's main thread and because the thread will continue to run after the GUI was loaded
2012-10-21Tab instead of 4 spaces in makefile.mingwPieter Wuille