aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-18Replace printf with LogPrintf / LogPrintGavin Andresen
2013-09-18Refactor: OutputDebugStringF -> LogPrint(category, ...)Gavin Andresen
2013-09-16Merge pull request #2985 from theuni/included-testsGavin Andresen
Embedded test data in bitcoin_test
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-16included-tests: update gitian descriptors for hexdump dependencyCory Fields
2013-09-16Merge pull request #3000 from gmaxwell/more_osx_fsyncJeff Garzik
More fixes for blockchain corruption on OSX.
2013-09-15Merge pull request #3001 from theuni/fix-make-raceGavin Andresen
autotools: fix a parallel build race condition spotted by the pull-tester
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: update translation docsCory Fields
2013-09-14autotools: check for lupdate/xgettextCory Fields
2013-09-14autotools: add translate target for qt translationsCory Fields
2013-09-14autotools: teach extract_strings_qt.py to respect the XGETTEXT env variableCory Fields
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-12Merge pull request #2830 from petertodd/p2sh-rpcGregory Maxwell
P2SH related RPC improvements
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: Prefer specific known-good versions of Qt metacompiler toolsLuke Dashjr
2013-09-10build-unix.md: Remove now-redundant and unnecessary Gentoo instructionsLuke Dashjr
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-09Merge pull request #2961 from Diapolo/cosmeticWladimir J. van der Laan
fix some cosmetic glitches in the codebase
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.
2013-09-08Merge pull request #2968 from TheBlueMatt/masterGavin Andresen
Don't warn about forks while fIsInitialDownload
2013-09-08Merge pull request #2977 from laanwj/2013_09_release_process_protobufGavin Andresen
Add protobuf 2.5.0 download to gitian release process
2013-09-07configure.ac: remove superfluous bracketJeff Garzik
Reported-by: Cory Fields
2013-09-06Merge pull request #2943 from theuni/autotools-finalJeff Garzik
Autotools buildsystem
2013-09-06Merge pull request #2976 from laanwj/2013_09_txid_detailsWladimir J. van der Laan
qt: add vout index to transaction id in transactions details dialog
2013-09-06Merge pull request #2973 from Diapolo/qDebugWladimir J. van der Laan
Bitcoin-Qt: Use qDebug() for printing to debug.log
2013-09-06qt: add vout index to transaction id in transactions details dialogWladimir J. van der Laan
2013-09-06Bitcoin-Qt: Use qDebug() for printing to debug.logPhilip Kaufmann
- removes all usages of PrintDebugStringF from Qt code - ensure same format for all debug.log messages "functionname : Message"
2013-09-05Merge pull request #2978 from gmaxwell/rpc_settxfee_docGavin Andresen
Make settxfee clear that units are btc/kb.
2013-09-05autotools: switch to autotools buildsystemCory Fields
2013-09-05Make settxfee clear that units are btc/kb.Gregory Maxwell
2013-09-05Qt 4.8.3 r2 in gitian and release processWladimir J. van der Laan
Also needed to add `unzip` package for the added unzip command for OpenSSL in the Qt build.
2013-09-05Add protobuf 2.5.0 download to gitian release processWladimir J. van der Laan
2013-09-03Merge pull request #2944 from gavinandresen/acceptheaderGavin Andresen
Set Accept: application/bitcoin-paymentrequest header
2013-09-03Don't warn about forks while fIsInitialDownloadMatt Corallo
2013-09-02Merge pull request #2948 from jgarzik/changeaddrGregory Maxwell
RPC: add getrawchangeaddress, for raw transaction change destinations
2013-09-02Merge pull request #2958 from laanwj/2013_08_txfee2Wladimir J. van der Laan
[Qt] Display txfee in first sendCoinsDialog message box
2013-09-02Merge pull request #2967 from tstranex/masterPieter Wuille
Fix typo in a comment: it's base58, not base48.
2013-09-02Fix typo in a comment: it's base58, not base48.Timothy Stranex
2013-09-02Merge pull request #2951 from laanwj/2013_08_addressbook_purposeWladimir J. van der Laan
[Qt] Handle address purpose in incremental updates
2013-09-02Merge pull request #2963 from Diapolo/log-qtWladimir J. van der Laan
Bitcoin-Qt: allow to differentiate Qt log entries from core