aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-03-11qt: Make it possible again to specify -testnet in config fileWladimir J. van der Laan
Changes for the datadir chooser have made it impossible to specify the network (testnet/regtest) in the configuration file for the GUI. Reorganize the initialization sequence to make this possible again. - Moves the "datadir" QSetting so that is no longer dependent on the network-specific application name (doing otherwise would create a chicken-and-egg problem). - Re-initialize translations after choosing network. There may be a different language configured in network-specific settings (slim chance, but handle it for sanity). Fixes point 1 of #3840. Rebased-From: c52c4e5
2014-03-11Make mining fee policy match relay fee policy.Mike Hearn
This resolves a case in which a mismatch could be used to bloat up the mempool by sending transactions that pay enough fee to relay, but not to be mined, with the default policies. Rebased-From: 037b4f1
2014-03-11Add progress to initial display of latest block downloaded.R E Broadley
Rebased-From: c4656e0
2014-03-11Display progress of rescan.R E Broadley
Rebased-From: 75b8953
2014-03-10qt: Remove control characters from ko_KR translationWladimir J. van der Laan
Last Transifex pull (064a690) introduced a few control characters into the Korean translation, which sometimes causes the build to fail. Manually remove these characters for now to get the build working -- they should still be removed at Transifex too. Rebased-From: 0ffd87f
2014-03-10Transifex pull pre-0.9.0rc3/finalWladimir J. van der Laan
Rebased-From: 064a6905
2014-03-10qt: Adjust BLOCK_CHAIN_SIZE to 20GBWladimir J. van der Laan
This increases the space requirement for selecting a data directory in the UI. As suggested by @bardiharborow, fixes #3830. Rebased-From: 70b8cb9
2014-03-07Total money limit testPieter Wuille
Added bounds check by @il--ya. Updated-by: Wladimir van der Laan <laanwj@gmail.com> Rebased-From: 1156167
2014-03-07Log which wallet is used during initWladimir J. van der Laan
Now that the wallet can be selected using -wallet it is important to log which wallet is being used for later troubleshooting. Rebased-From: 8a6894ca
2014-03-06gui: Prevent status icons from being cut offWladimir J. van der Laan
After the Qt5 switch, status icons were being cut off by 1-2px. Also fixes some other cases where the UI is slightly off mentioned in #3800. Fixes #3800. Rebased-from: 1bcf81e0
2014-03-05Fix null pointer in IsTrusted()Cozz Lovan
Rebased-From: ba51c7d
2014-03-05Clarify the error message when unable to bind to portpaveljanik
When bitcoind can't bind, bitcoin server (or Bitcoin Core Daemon) is probably already running. Add the missing word "server". Bitcoin itself is definitely running ;-) Add _(...) so the string can be localized. Rebased-From: 094eeff, 2d2d8fa
2014-03-04Fix coin control sorts date as textCozz Lovan
2014-03-01English translation updateWladimir J. van der Laan
A few new messages have been added since last update.
2014-02-28Merge pull request #3744 from petertodd/document-isvalid-is-consensus-criticalGavin Andresen
Document that CPubKey.IsValid() is consensus critical
2014-02-28Merge pull request #3767 from laanwj/2014_02_tinyformat_errors_non_fatalGavin Andresen
Make tinyformat errors raise an exception instead of assert()ing
2014-02-28Merge pull request #3694 from gavinandresen/vfspentGavin Andresen
Remove CWalletTx::vfSpent
2014-02-28qt: Modernize 'confirmed' terminology in shown tx statusWladimir J. van der Laan
These days we regard transactions with one confirmation to be 'Confirmed'. Waiting for 6 confirmations is a recommendation but should not keep the transaction shown as unconfirmed. Misc code sanity: - Merge maturity/status enums, they had become completely disjunct - 'confirmed' flag is now called 'countsForBalance' for clarity
2014-02-28Make tinyformat errors raise an exception instead of assert()ingWladimir J. van der Laan
By default tinyformat errors such as 'wrong number of conversion specifiers in format string' cause an assertion failure. Raise an exception instead so that error handling can recover or can show an appropriate error.
2014-02-27Transifex pull pre-0.9.0rc2Wladimir J. van der Laan
2014-02-27Merge pull request #3752Wladimir J. van der Laan
5d5b0d2 Add shell null to else block (Wil Bown)
2014-02-26Merge pull request #3749Wladimir J. van der Laan
4423571 Replace PrintException with PrintExceptionContinue + throw (Wladimir J. van der Laan)
2014-02-26Add shell null to else blockWil Bown
MinGW-W64-builds-4.2.0 shell doesn't like the empty else blocks.
2014-02-26Merge pull request #3737 from jgarzik/op-return-sizeGavin Andresen
script: reduce OP_RETURN standard relay bytes to 40
2014-02-26script: reduce OP_RETURN standard relay bytes to 40Jeff Garzik
Per mailing list discussion.
2014-02-26Merge pull request #3735 from laanwj/2014_02_remove_PRIx64_completelyGavin Andresen
Remove PRIx64 usage completely
2014-02-26Remove CWalletTx::vfSpentGavin Andresen
Use the spent outpoint multimap to figure out which wallet transaction outputs are unspent, instead of a vfSpent array that is saved to disk.
2014-02-26Replace PrintException with PrintExceptionContinue + throwWladimir J. van der Laan
Just a pet peeve. (PrintException has exactly the same body as PrintExceptionContinue but does a re-throw at the end. Move these re-throws to the call site, this aids understanding what is going on as well as eliminates a bit of code duplication in util.cpp)
2014-02-26Fix bitcoin-cli exit status codeCozz Lovan
2014-02-25Merge pull request #3559Wladimir J. van der Laan
e6c6bc9 Adds additional zero checks for setCompact These encoded values should all decode to zero (Noel Tiernan)
2014-02-25Merge pull request #3712Wladimir J. van der Laan
a3138ed add test of DecodeBase58 skipping whitespace (Christian von Roques)
2014-02-25Document that CPubKey.IsValid() is consensus criticalPeter Todd
2014-02-24Merge pull request #3704 from gavinandresen/wallet_lock_fixesGavin Andresen
Wallet locking fixes for -DDEBUG_LOCKORDER
2014-02-24Merge pull request #3305 from mikehearn/fee_dropJeff Garzik
Drop fees by 10x due to the persistently higher exchange rate.
2014-02-24Merge pull request #3718 from jgarzik/pubkey-sizeJeff Garzik
script: tighten multisig non-standard rules: do not relay pubkeys above 65 bytes
2014-02-24Remove definition of PRI?64 in util.hWladimir J. van der Laan
This was a bad idea. This can't be solved with macros as any other library that includes inttypes.h will get in the way. The parent commit has removed all usages from the source, this commit removes the definition.
2014-02-24Get rid of C99 PRI?64 usage in source filesWladimir J. van der Laan
Amend to d5f1e72. It turns out that BerkelyDB was including inttypes.h indirectly, so we cannot fix this with just macros. Trivial commit: apply the following script to all .cpp and .h files: # Middle sed -i 's/"PRIx64"/x/g' "$1" sed -i 's/"PRIu64"/u/g' "$1" sed -i 's/"PRId64"/d/g' "$1" # Initial sed -i 's/PRIx64"/"x/g' "$1" sed -i 's/PRIu64"/"u/g' "$1" sed -i 's/PRId64"/"d/g' "$1" # Trailing sed -i 's/"PRIx64/x"/g' "$1" sed -i 's/"PRIu64/u"/g' "$1" sed -i 's/"PRId64/d"/g' "$1" After this commit, `git grep` for PRI.64 should turn up nothing except the defines in util.h.
2014-02-23Merge pull request #3729Wladimir J. van der Laan
d5f1e72 Don't use PRIx64 formatting derives from inttypes.h (Wladimir J. van der Laan)
2014-02-22Make the signrawtransaction docs explicit that the arguments can be 'null'.Gregory Maxwell
2014-02-22Don't use PRIx64 formatting derives from inttypes.hWladimir J. van der Laan
As the tinyformat-based formatting system (introduced in b77dfdc) is type-safe, no special format characters are needed to specify sizes. Tinyformat can support (ignore) the C99 prefixes such as "ll" but chokes on MSVC's inttypes.h defines prefixes such as "I64X". So don't include inttypes.h and define our own for compatibility. (an alternative would be to sweep the entire codebase using sed -i to get rid of the size specifiers but this has less diff impact)
2014-02-21Remove "conflicted" as transaction category.Wladimir J. van der Laan
We were losing information about sent/received by overriding the category in case of a conflicted transaction. Hence, remove the "conflicted" category. Conflicted status of a transaction can still be determined by looking for confirmations<0.
2014-02-21script: tighten multisig non-standard rules: do not relay pubkeys above 65 bytesJeff Garzik
2014-02-21add test of DecodeBase58 skipping whitespaceChristian von Roques
2014-02-20Merge pull request #2910Wladimir J. van der Laan
d8b4b49 Don't store or send side-chain blocks lower than last checkpoint. (Ashley Holman)
2014-02-19Merge pull request #3703Wladimir J. van der Laan
ad54a9b Change new constants in txdb.h to int64_t (Wladimir J. van der Laan)
2014-02-19Merge pull request #3699Wladimir J. van der Laan
ddcabae qt: Rename 'Confirmed' balance to 'Spendable' on overview page (Wladimir J. van der Laan)
2014-02-19qt: Rename 'Confirmed' balance to 'Spendable' on overview pageWladimir J. van der Laan
The word 'Spendable' more precisely says what the balance actually means. Avoids the confirmed/unconfirmed confusion that can be caused by #3676.
2014-02-18Wallet locking fixes for -DDEBUG_LOCKORDERGavin Andresen
Compiling with -DDEBUG_LOCKORDER and running the qa/rpc-test/ regression tests uncovered a couple of wallet methods that should (but didn't) acquire the cs_wallet mutext. I also changed the AssertLockHeld() routine print to stderr and abort, instead of printing to debug.log and then assert()'ing. It is annoying to look in debug.log to find out which AssertLockHeld is failing.
2014-02-18Change new constants in txdb.h to int64_tWladimir J. van der Laan
A shift overflow was happening when using these to check against in init.cpp. Fixes #3702.
2014-02-18Merge pull request #3693Wladimir J. van der Laan
f05fa03 [Qt] small .ui cleanup for optionsdialog and coincontrol (Philip Kaufmann)