aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-10-03Merge pull request #3038 from Diapolo/Log_ShutdownJeff Garzik
log start and end of Shutdown()
2013-10-02RPC validateaddress: test pwalletMain for NULL (no-wallet mode)Jeff Garzik
2013-10-02log start and end of Shutdown()Philip Kaufmann
- could be helpful when debugging shutdown related problems
2013-10-01Merge branch 'pwalletmain' - checking pwalletMain for NULL,Jeff Garzik
a pre-req for no-wallet support.
2013-10-01Support absence of wallet (pwalletMain==NULL) in several locations,Jeff Garzik
notably RPC.
2013-10-01Merge pull request #2991 from Diapolo/translation_fixesWladimir J. van der Laan
Bitcoin-Qt: translation fixes in sendcoins
2013-10-01Merge pull request #2888 from litecoin-project/getnetworkhashpsJeff Garzik
Add getnetworkhashps to get the estimated network hashrate
2013-10-01Bitcoin-Qt: translation fixes in sendcoinsPhilip Kaufmann
- remove some unneeded translatable strings from sendcoinsentry.ui file and rename some elements for better readability - optimize string prorcessing in SendCoinsDialog::on_sendButton_clicked() - make all UI labels for secure payments plain text and move the settings to sendcoinsentry.ui file - remove unneeded button and default button definiton from warning message boxes - remove fixed font-size when sending coins to an address with label and use monospace font for addresses
2013-10-01misc small spelling/indentation fixesPhilip Kaufmann
2013-09-29Merge pull request #3015 from theuni/win32-version-infoPieter Wuille
Win32 version info
2013-09-28several small Qt-related fixesPhilip Kaufmann
- make BitcoinGUI::showPaymentACK() use a reference for msg and use our own GUIUtil::HtmlEscape() function - ensure QTimer usage in clientmodel is the same as in walletmodel - remove an unneeded debug message in walletframe - flag some parameters as unused in DebugMessageHandler() - small code formatting changes
2013-09-28Merge pull request #3031 from Diapolo/minerWladimir J. van der Laan
internal miner: move 2 globals from main to miner
2013-09-28Merge pull request #3027 from cozz/cozz2Wladimir J. van der Laan
GUI: fix sendcoinsdialog/sendcoinsentry
2013-09-25internal miner: move 2 globals from main to minerPhilip Kaufmann
- moves 2 global variables from main.cpp/h to miner.cpp/h - also removes 2 unneded includes in miner.cpp, that come from miner.h already
2013-09-24GUI: fix sendcoinsdialog/sendcoinsentryCozz Lovan
2013-09-24Skip unspendable outputs in consistency checkPieter Wuille
2013-09-23Merge pull request #2791 from sipa/provepruneGavin Andresen
Prune provably-unspendable outputs
2013-09-23Merge pull request #3016 from sipa/lowsPieter Wuille
Use 'low S' as malleability breaker rather than 'even S'
2013-09-22Merge pull request #2949 from gmaxwell/fewer_fee_footgunsGavin Andresen
[raw] reject insanely high fees by default in sendrawtransaction
2013-09-20Merge pull request #2995 from Diapolo/GUI_messageWladimir J. van der Laan
Bitcoin-Qt: BitcoinGUI::message() updates/fixes
2013-09-20fix some printf -> LogPrintf leftoversPhilip Kaufmann
2013-09-20Use 'low S' as malleability breaker rather than 'even S'Pieter Wuille
2013-09-19Bugfix: nHeightLast instead of nHeightFirstPieter Wuille
2013-09-19Fix minor unit test memory leaksPieter Wuille
2013-09-18win32: add version info to bitcoind.exeCory Fields
TODO: Add icon info
2013-09-18autotools: fix the Makefile.include to be safely included anywhere.Cory Fields
This way we can reuse rules rather than duplicating them.
2013-09-18autotools: fix subdir m4 check, never let it return -ICory Fields
If BDB_CPPFLAGS returns only "-I", the next argument sent to the preprocessor is treated as a path. There are 2 fixes here: 1. Check in CPPFLAGS, as a user might have manually passed a path to check. 2. Ensure the value is not empty before setting BDB_CPPFLAGS to "-I value"
2013-09-18qt: english translation updateWladimir J. van der Laan
2013-09-18Add src/.gitignore: ignore src/test_bitcoinJeff Garzik
2013-09-18Replace printf with LogPrintf / LogPrintGavin Andresen
2013-09-18Refactor: OutputDebugStringF -> LogPrint(category, ...)Gavin Andresen
2013-09-17Add getnetworkhashps to get the calculated network hashratecoblee
2013-09-16included-tests: generate binary data from test files for inclusion into test ↵Cory Fields
binaries This change moves test data into the binaries rather than reading them from the disk at runtime. Advantages: - Tests become distributable - Cross-compile friendly. Build on one machine and execute in an arbitrary location on another. - Easier testing for backports. Users can verify that tests pass without having to track down corresponding test data. - More trustworthy test results and easier quality assurance as tests make fewer assumptions about their environment. - Tests could theoretically run at client/daemon startup and exit on failure. Disadvantages: - Required 'hexdump' build-dependency. This is a standard bsd tool that should be usable everywhere. It is likely already installed on all build-machines. - Tests can no longer be fudged after build by altering test-data.
2013-09-16Merge pull request #3000 from gmaxwell/more_osx_fsyncJeff Garzik
More fixes for blockchain corruption on OSX.
2013-09-16autotools: fix a parallel build race condition spotted by the pull-testerCory Fields
libleveldb.a and libmemenv.a should be able to build in parallel, but in practice calling the leveldb makefile ends up rewriting build_config.mk. If one target tries to build while the other is halfway through writing the .mk, the make ends up in an undefined state. Fix that by making one depend on the other. This also reorders the variables to be passed by param rather than via the environment, and combines the targets into a single rule to avoid needless duplication.
2013-09-15More fixes for blockchain corruption on OSX.Gregory Maxwell
As we'd previously learned, OSX's fsync is a data eating lie. Since 0.8.4 we're still getting some reports of disk corruption on OSX but now all of it looks like the block files have gotten out of sync with the database. It turns out that we were still using fsync() on the block files, so this isn't surprising.
2013-09-14Merge pull request #2996 from theuni/qt-translationGavin Andresen
Update translation process for autotools
2013-09-14autotools: add translate target for qt translationsCory Fields
2013-09-14Bitcoin-Qt: BitcoinGUI::message() updates/fixesPhilip Kaufmann
- ensure message boxes are shown in center of our main window, not centered on the users desktop - always prefer user supplied titles for message boxes over the functions defaults (fixes a bug, where transaction info messages did not contain information, if it was incoming or outgoing)
2013-09-14autotools: rearrange qt sources to make them more flexibleCory Fields
Add BITCOIN_MM QR_CPP and BITCOIN_CPP in order to better accomodate complicated targets. This is a no-op change.
2013-09-12Make validateaddress provide redeemScriptPeter Todd
2013-09-12Add RPC call decodescriptPeter Todd
2013-09-12Move Parse{Hash|Hex} to be usable by all RPC codePeter Todd
2013-09-10Merge pull request #2979 from luke-jr/autoconfGregory Maxwell
Autoconf fixes
2013-09-10Merge pull request #2982 from gmaxwell/20130908_ccoins_corruptGregory Maxwell
Longer term workaround for chainstate corruption from negative versions.
2013-09-10Bugfix: Since test_bitcoin is being built and run inside src/test/, try ↵Luke Dashjr
using relative directories from that point
2013-09-10configure: Check common include subdirectories for bdb headers, and refuse ↵Luke Dashjr
to use any version other than 4.8 by default
2013-09-10autotools: use an absolute path to test dataCory Fields
2013-09-09fix some cosmetic glitches in the codebasePhilip Kaufmann
- rename URL into URI in paymentserver where correct - add some missing Qt-coding-stuff in paymentserver - change QSpinBox to QLineEdit as base for BitcoinAmountField in .ui files (as this is the result when converting the BAF back into base) - remove some c_str() and replace with QString::fromStdString() - remove several new-lines - remove unneeded spaces - indentation fixes
2013-09-09Longer term workaround for chainstate corruption from negative versions.Gregory Maxwell
This also makes negative transaction versions non-standard. This avoids an issue triggered in block 256818 where transactions with negative version numbers were incorrectly serialized into the UTXO set. On restart nodes detect the inconsistency and refuse to start so long as a block with these transactions is inside the self-consistency check window, logging "coin database inconsistencies found". The software recommends reindexing, but reindexing does not correct the problem. This should be fixed by changing the chainstate serialization, but working around it seems harmless for now because the version is not used by any network rule currently. A patch free workaround is to start with -checklevel=2 which skips the consistency checks, but the IsStandard change is important for miners in order to protect unpatched nodes.