aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-09-18Replace printf with LogPrintf / LogPrintGavin Andresen
2013-09-18Refactor: OutputDebugStringF -> LogPrint(category, ...)Gavin Andresen
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-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.
2013-09-08Merge pull request #2968 from TheBlueMatt/masterGavin Andresen
Don't warn about forks while fIsInitialDownload
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-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-05autotools: switch to autotools buildsystemCory Fields
2013-09-05Make settxfee clear that units are btc/kb.Gregory Maxwell
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-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-08-31Bitcoin-Qt: allow to differentiate Qt log entries from corePhilip Kaufmann
- prepend "Bitcoin-Qt" in front of debug.log entries, which come from Qt - move DebugMessageHandler installation upwards to the event handler installation, which fits much better
2013-08-31qt: Display txfee in first sendCoinsDialog message boxJonas Schnelli
Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>
2013-08-30qt: Use GUIUtil::HtmlEscape to escape HTMLWladimir J. van der Laan
This is why we created this function. Avoids some #ifdef.
2013-08-30qt: Add comment to sorting step in refreshAddressTableWladimir J. van der Laan
2013-08-29Merge pull request #2930 from Diapolo/displayUnitWladimir J. van der Laan
Bitcoin-Qt: fixes for using display unit from options
2013-08-29qt: Handle address purpose in incremental updatesWladimir J. van der Laan
Correctly use the purpose of addresses that are added after the start of the client. Addresses with purpose "refund" and "change" should not be visible in the GUI. This is now handled correctly.
2013-08-29Merge pull request #2940 from Diapolo/checkpointPieter Wuille
move Checkpoints:fEnabled from step 2 to step 3 in init
2013-08-29Bitcoin-Qt: fixes for using display unit from optionsPhilip Kaufmann
- extend PaymentServer with setOptionsModel() and rework initNetManager() to make use of that - fix all other places in the code to use display unit from options and no hard-coded unit
2013-08-28RPC: add getrawchangeaddress, for raw transaction change destinationsJeff Garzik
2013-08-28Merge pull request #2931 from Diapolo/introWladimir J. van der Laan
Bitcoin-Qt: add testnet check and icon to intro dialog
2013-08-28Merge pull request #2904 from gmaxwell/newaddr-no-passphraseGregory Maxwell
[QT] Don't ask for a passphrase to getnewaddress.
2013-08-28Set Accept: application/bitcoin-paymentrequest headerGavin Andresen
Suggestion from BitPay: set an Accept: HTTP header when fetching payment requests / payment ACKs.
2013-08-25Merge pull request #2928 from jgarzik/cnb-txoutJeff Garzik
CreateNewBlock / getblocktemplate cleaning
2013-08-25Merge pull request #2938 from petertodd/op-reserved-weirdnessGavin Andresen
Document and test OP_RESERVED weirdness
2013-08-25miner: constify CreateNewBlock() arg scriptPubKeyInJeff Garzik
2013-08-25Document and test OP_RESERVED weirdnessPeter Todd
Seems it was forgotten about when IsPushOnly() and the unittests were written. A particular oddity is that OP_RESERVED doesn't count towards the >201 opcode limit unlike every other named opcode.
2013-08-25Merge pull request #2935 from sipa/oboundsPieter Wuille
Fix out-of-bounds check
2013-08-25move Checkpoints:fEnabled from step 2 to step 3 in initPhilip Kaufmann
- it belongs to parameter-to-internal flags step, not parameter interactions phase