aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | Merge pull request #3749Wladimir J. van der Laan2014-02-263-15/+10
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | 4423571 Replace PrintException with PrintExceptionContinue + throw (Wladimir J. van der Laan)
| * | | | | | Replace PrintException with PrintExceptionContinue + throwWladimir J. van der Laan2014-02-263-15/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | | | | | Merge pull request #3737 from jgarzik/op-return-sizeGavin Andresen2014-02-263-9/+10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | script: reduce OP_RETURN standard relay bytes to 40
| * | | | | | | script: reduce OP_RETURN standard relay bytes to 40Jeff Garzik2014-02-263-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per mailing list discussion.
* | | | | | | | Merge pull request #3735 from laanwj/2014_02_remove_PRIx64_completelyGavin Andresen2014-02-2614-47/+39
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | Remove PRIx64 usage completely
| * | | | | | | Remove definition of PRI?64 in util.hWladimir J. van der Laan2014-02-241-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | Get rid of C99 PRI?64 usage in source filesWladimir J. van der Laan2014-02-2414-36/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | Fix bitcoin-cli exit status codeCozz Lovan2014-02-262-5/+8
| | | | | | | |
* | | | | | | | Merge pull request #3559Wladimir J. van der Laan2014-02-251-0/+36
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | e6c6bc9 Adds additional zero checks for setCompact These encoded values should all decode to zero (Noel Tiernan)
| * | | | | | | | Adds additional zero checks for setCompactNoel Tiernan2014-01-191-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These encoded values should all decode to zero Positive Numbers 0x01003456 (1 byte 0x00) 0x02000056 (2 bytes 0x0000) 0x03000000 (3 bytes 0x000000) 0x04000000 (4 bytes 0x000000_00) Negative Numbers 0x00923456 -(0 bytes, so zero) 0x01803456 -(1 byte 0x00) 0x02800056 -(2 bytes 0x0000) 0x03800000 -(3 bytes 0x000000) 0x04800000 -(4 bytes 0x000000_00)
* | | | | | | | | Merge pull request #3712Wladimir J. van der Laan2014-02-251-0/+6
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | a3138ed add test of DecodeBase58 skipping whitespace (Christian von Roques)
| * | | | | | | | add test of DecodeBase58 skipping whitespaceChristian von Roques2014-02-211-0/+6
| | | | | | | | |
* | | | | | | | | Merge pull request #3704 from gavinandresen/wallet_lock_fixesGavin Andresen2014-02-243-21/+27
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Wallet locking fixes for -DDEBUG_LOCKORDER
| * | | | | | | | | Wallet locking fixes for -DDEBUG_LOCKORDERGavin Andresen2014-02-183-21/+27
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | Merge pull request #3305 from mikehearn/fee_dropJeff Garzik2014-02-243-5/+5
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | | Drop fees by 10x due to the persistently higher exchange rate.
| * | | | | | | | Drop fees by 10x due to the persistently higher exchange rate.Mike Hearn2013-11-263-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The last fee drop was by 5x (from 50k satoshis to 10k satoshis) in the 0.8.2 release which was about 6 months ago. The current fee is (assuming a $500 exchange rate) about 5 dollar cents. The new fee after this patch is 0.5 cents. Miners who prefer the higher fees are obviously still able to use the command line flags to override this setting. Miners who choose to create smaller blocks will select the highest-fee paying transactions anyway. This would hopefully be the last manual adjustment ever required before floating fees become normal.
* | | | | | | | | Merge pull request #3718 from jgarzik/pubkey-sizeJeff Garzik2014-02-241-2/+2
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | | script: tighten multisig non-standard rules: do not relay pubkeys above 65 bytes
| * | | | | | | | script: tighten multisig non-standard rules: do not relay pubkeys above 65 bytesJeff Garzik2014-02-211-2/+2
| | |_|_|_|_|/ / | |/| | | | | |
* | | | | | | | Merge pull request #3729Wladimir J. van der Laan2014-02-239-19/+19
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | d5f1e72 Don't use PRIx64 formatting derives from inttypes.h (Wladimir J. van der Laan)
| * | | | | | | | Don't use PRIx64 formatting derives from inttypes.hWladimir J. van der Laan2014-02-229-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | | | | | | | Make the signrawtransaction docs explicit that the arguments can be 'null'.Gregory Maxwell2014-02-221-2/+2
|/ / / / / / / /
* / / / / / / / Remove "conflicted" as transaction category.Wladimir J. van der Laan2014-02-211-8/+2
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | Merge pull request #2910Wladimir J. van der Laan2014-02-201-1/+24
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d8b4b49 Don't store or send side-chain blocks lower than last checkpoint. (Ashley Holman)
| * | | | | | | Don't store or send side-chain blocks lower than last checkpoint.Ashley Holman2014-01-191-1/+24
| | |_|_|/ / / | |/| | | | |
* | | | | | | Merge pull request #3703Wladimir J. van der Laan2014-02-192-4/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ad54a9b Change new constants in txdb.h to int64_t (Wladimir J. van der Laan)
| * | | | | | | Change new constants in txdb.h to int64_tWladimir J. van der Laan2014-02-182-4/+4
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | A shift overflow was happening when using these to check against in init.cpp. Fixes #3702.
* | | | | | | Merge pull request #3699Wladimir J. van der Laan2014-02-191-2/+2
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | ddcabae qt: Rename 'Confirmed' balance to 'Spendable' on overview page (Wladimir J. van der Laan)
| * | | | | | qt: Rename 'Confirmed' balance to 'Spendable' on overview pageWladimir J. van der Laan2014-02-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The word 'Spendable' more precisely says what the balance actually means. Avoids the confirmed/unconfirmed confusion that can be caused by #3676.
* | | | | | | Merge pull request #3693Wladimir J. van der Laan2014-02-182-83/+80
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | f05fa03 [Qt] small .ui cleanup for optionsdialog and coincontrol (Philip Kaufmann)
| * | | | | | [Qt] small .ui cleanup for optionsdialog and coincontrolPhilip Kaufmann2014-02-172-83/+80
| | | | | | |
* | | | | | | Merge pull request #3687Wladimir J. van der Laan2014-02-185-18/+20
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 82e9600 add constants for shared (GUI/core) -dbcache settings (Philip Kaufmann) 879b390 Increase default dbcache to 100 MiB (Pieter Wuille)
| * | | | | | | add constants for shared (GUI/core) -dbcache settingsPhilip Kaufmann2014-02-175-18/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - adds nDefaultDbCache, nMaxDbCache and nMinDbCache in txdb.h
| * | | | | | | Increase default dbcache to 100 MiBPieter Wuille2014-02-172-3/+3
| |/ / / / / /
* | | | | | | Merge pull request #3691Wladimir J. van der Laan2014-02-171-3/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a143d4c Fix crash in importwallet and dumpwallet formatting (Wladimir J. van der Laan)
| * | | | | | | Fix crash in importwallet and dumpwallet formattingWladimir J. van der Laan2014-02-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - DecodeDumpTime was passing a statically allocated facet object to std::locale. However, "The constructed locale object takes over responsibility for deleting this facet object." causing a free() crash on scope exit. Fixes #3670. - EncodeDumpTime was using the wrong format character for dates (appears accidentally introduced in 51ed9ec9)
* | | | | | | | Merge pull request #3679 from laanwj/2014_02_walletpassphrase_behaviorGavin Andresen2014-02-171-0/+3
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Document new `walletpassphrase` behavior in 0.9
| * | | | | | | | Document new `walletpassphrase` behavior in 0.9Wladimir J. van der Laan2014-02-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add a note to the release notes. Fixes #3672.
* | | | | | | | | Merge pull request #3690 from laanwj/2014_02_gettransaction_serialize_only_txGavin Andresen2014-02-171-1/+1
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | Serialize only CTransaction data in gettransaction RPC hex
| * | | | | | | | Serialize only CTransaction data in gettransaction RPC hexWladimir J. van der Laan2014-02-171-1/+1
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't include trailing implementation-specific wallet metadata. Fixes 3a1c20b.
* | | | | | | | Merge pull request #3587Wladimir J. van der Laan2014-02-171-2/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | ceb8e22 [Qt] allow translation of client bitness (Philip Kaufmann)
| * | | | | | | | [Qt] allow translation of client bitnessPhilip Kaufmann2014-02-161-2/+2
| | | | | | | | |
* | | | | | | | | Merge pull request #3666Wladimir J. van der Laan2014-02-171-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bbfce8a fix non-standard reason string in main.cpp (Philip Kaufmann)
| * | | | | | | | | fix non-standard reason string in main.cppPhilip Kaufmann2014-02-131-1/+1
| | | | | | | | | |
* | | | | | | | | | Merge pull request #3614Wladimir J. van der Laan2014-02-173-7/+15
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | b920148 [Qt] Improve single step in bitcoinamountfield (Cozz Lovan)
| * | | | | | | | | [Qt] Improve single step in bitcoinamountfieldCozz Lovan2014-02-023-7/+15
| | | | | | | | | |
* | | | | | | | | | Merge pull request #3643Wladimir J. van der Laan2014-02-171-1/+5
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d54e819 Log warnings when bootstrap files are specified but cannot be opened (Wladimir J. van der Laan)
| * | | | | | | | | | Log warnings when bootstrap files are specified but cannot be openedWladimir J. van der Laan2014-02-091-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Log a warning when bootstrap files are specified using `-loadblock` but cannot be opened. - Log a warning when bootstrap.dat exists in the home directory but cannot be opened.
* | | | | | | | | | | remove orphan fHaveGUI from main.hPhilip Kaufmann2014-02-161-7/+0
| |_|_|_|/ / / / / / |/| | | | | | | | |
* | | | | | | | | | Merge pull request #3646Wladimir J. van der Laan2014-02-1650-50/+50
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | 5770254 Copyright header updates s/2013/2014 on files whose last git commit was done in 2014. contrib/devtools/fix-copyright-headers.py script to be able to perform this maintenance task with ease during the rest of the year, every year. Modifications to contrib/devtools/README.md to document what fix-copyright-headers.py does. (gubatron)
| * | | | | | | | | Copyright header updates s/2013/2014 on files whose last git commit was done ↵gubatron2014-02-0950-50/+50
| | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in 2014. contrib/devtools/fix-copyright-headers.py script to be able to perform this maintenance task with ease during the rest of the year, every year. Modifications to contrib/devtools/README.md to document what fix-copyright-headers.py does.