aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | | | | | | | | | | | qt: use CHashWriter also in SignVerifyMessageDialogPavel Vasin2015-07-281-4/+4
| |/ / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This eliminates unnecessary copying of data being hashed.
| * | | | | | | | | | | | | | | | | Merge pull request #6077Wladimir J. van der Laan2015-07-278-6/+330
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 517e6dd Unit test doublespends in new blocks (Gavin Andresen) 17b1142 Cache transaction validation successes (Pieter Wuille)
| | * | | | | | | | | | | | | | | | Unit test doublespends in new blocksGavin Andresen2015-07-275-6/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As suggested by Greg Maxwell-- unit test to make sure a block with a double-spend in it doesn't pass validation if half of the double-spend is already in the memory pool (so full-blown transaction validation is skipped) when the block is received.
| | * | | | | | | | | | | | | | | | Cache transaction validation successesPieter Wuille2015-07-273-0/+150
| |/ / / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | | Merge pull request #5697Wladimir J. van der Laan2015-07-2746-46/+92
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 60c8bac Includes: Cleanup around net main and wallet (Jorge Timón) 9dd793f TRIVIAL: Missing includes (Jorge Timón)
| | * | | | | | | | | | | | | | | | Includes: Cleanup around net main and walletJorge Timón2015-07-2328-42/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -Move from .h to .cpp: in main, net and wallet -Remove unnecessary #include "main.h" -Cleanup some wallet files includes
| | * | | | | | | | | | | | | | | | TRIVIAL: Missing includesJorge Timón2015-07-2333-4/+66
| | | |_|_|_|_|_|_|_|/ / / / / / / | | |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Merge pull request #6380Wladimir J. van der Laan2015-07-273-22/+57
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9127e97 doc: Mention RPC strings for monetary amounts in release notes (Wladimir J. van der Laan) 7d226b7 [QA] add testcases for parsing strings as values (Jonas Schnelli) 614601b rpc: Accept strings in AmountFromValue (Wladimir J. van der Laan)
| | * | | | | | | | | | | | | | | | doc: Mention RPC strings for monetary amounts in release notesWladimir J. van der Laan2015-07-271-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a section "low level RPC API changes" so that the changes with regard to error codes can be added later.
| | * | | | | | | | | | | | | | | | [QA] add testcases for parsing strings as valuesJonas Schnelli2015-07-271-17/+49
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | rpc: Accept strings in AmountFromValueWladimir J. van der Laan2015-07-271-2/+2
| |/ / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Accept strings containing decimal values, in addition to bare values. Useful from JSON-RPC implementations where it's not possible to have direct control over the text of numbers (e.g. where numbers are always doubles), and it's still desired to send an exact value. This would allow users to post JSON content with numbers encoded like `{"value": "0.00000001"}` instead of `{"value": 0.00000001}` which some php/python encoders wrap into 1e-8, or worse.
| * | | | | | | | | | | | | | | | Merge pull request #6468Wladimir J. van der Laan2015-07-272-1/+19
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6f8b6d3 don't try to decode invalid encoded ext keys (Jonas Schnelli) 8d2af54 extend bip32 tests to cover Base58c/CExtKey decode (Jonas Schnelli) 7cb1f9f fix and extend CBitcoinExtKeyBase template (Jonas Schnelli)
| | * | | | | | | | | | | | | | | | don't try to decode invalid encoded ext keysJonas Schnelli2015-07-251-1/+4
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | extend bip32 tests to cover Base58c/CExtKey decodeJonas Schnelli2015-07-231-0/+11
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | fix and extend CBitcoinExtKeyBase templateJonas Schnelli2015-07-231-1/+5
| | | |_|_|_|/ / / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix Decode call (req. only one param) - add constructor for base58c->CExtKey
| * | | | | | | | | | | | | | | | Merge pull request #6471Wladimir J. van der Laan2015-07-278-120/+203
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 060b3d3 fixup: qt 5.5 snuck in another module that needs path hand-holding (Cory Fields) ecd6a89 depends: make more qt flags explicit (Cory Fields) ab67dd7 depends: bump to qt 5.5 (Cory Fields) 5189fe3 depends: split qt config options to separate lines (Jacob Welsh) fe997df build: fix building against qt5.4/5.5 (Cory Fields)
| | * | | | | | | | | | | | | | | fixup: qt 5.5 snuck in another module that needs path hand-holdingCory Fields2015-07-271-0/+12
| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | depends: make more qt flags explicitCory Fields2015-07-271-5/+17
| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | depends: bump to qt 5.5Cory Fields2015-07-236-118/+103
| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | depends: split qt config options to separate linesJacob Welsh2015-07-231-21/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Helps ease of reading and comparison. Removed some duplicates.
| | * | | | | | | | | | | | | | | build: fix building against qt5.4/5.5Cory Fields2015-07-232-4/+23
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Merge pull request #6456Wladimir J. van der Laan2015-07-248-24/+44
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ec249d4 util: use locale-independent parsing in ParseDouble (Wladimir J. van der Laan) 7650449 univalue: Avoid unnecessary roundtrip through double for numbers (Wladimir J. van der Laan) e061e27 rpc: Make ValueFromAmount always return 8 decimals (Wladimir J. van der Laan)
| | * | | | | | | | | | | | | | | | util: use locale-independent parsing in ParseDoubleWladimir J. van der Laan2015-07-181-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use locale-indepent C++ based parsing instead of C's strtod, which checks for different input based on the user's locale. Fixes #6443.
| | * | | | | | | | | | | | | | | | univalue: Avoid unnecessary roundtrip through double for numbersWladimir J. van der Laan2015-07-186-17/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | JSON makes no distinction between numbers and reals, and our code doesn't need to do so either. This removes VREAL, as well as its specific post-processing in `UniValue::write`. Non-monetary amounts do not need to be forcibly formatted with 8 decimals, so the extra roundtrip was unnecessary (and potentially loses precision).
| | * | | | | | | | | | | | | | | | rpc: Make ValueFromAmount always return 8 decimalsWladimir J. van der Laan2015-07-182-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the format that was always returned to JSON clients. The difference was not noticed before, because VREAL values are post-processed by univalue. By implementing the functionality directly it breaks the dependency of rpcserver on utilmoneystr. FormatMoney is now only used for debugging purposes. To test, port over the formatting tests from util_tests.cpp to rpc_tests.cpp.
| * | | | | | | | | | | | | | | | | Merge pull request #6465Wladimir J. van der Laan2015-07-241-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 56b28fc Don't share objects between TestInstances (Casey Rodarmor)
| | * | | | | | | | | | | | | | | | Don't share objects between TestInstancesCasey Rodarmor2015-07-221-2/+2
| | | |_|/ / / / / / / / / / / / / | | |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Merge pull request #6287Wladimir J. van der Laan2015-07-235-14/+15
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a794284 locking: add a quick example of GUARDED_BY (Cory Fields) 2b890dd locking: fix a few small issues uncovered by -Wthread-safety (Cory Fields) cd27bba locking: teach Clang's -Wthread-safety to cope with our scoped lock macros (Cory Fields)
| | * | | | | | | | | | | | | | | | locking: add a quick example of GUARDED_BYCory Fields2015-06-161-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was chosen not because it's necessarily helpful, but because its locking assumptions were already correct.
| | * | | | | | | | | | | | | | | | locking: fix a few small issues uncovered by -Wthread-safetyCory Fields2015-06-163-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - rpcwallet: No need to lock twice here - openssl: Clang doesn't understand selective lock/unlock here. Ignore it. - CNode: Fix a legitimate (though very unlikely) locking bug.
| | * | | | | | | | | | | | | | | | locking: teach Clang's -Wthread-safety to cope with our scoped lock macrosCory Fields2015-06-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows us to use function/variable/class attributes to specify locking requisites, allowing problems to be detected during static analysis. This works perfectly with newer Clang versions (tested with 3.3-3.7). For older versions (tested 3.2), it compiles fine but spews lots of false-positives.
| * | | | | | | | | | | | | | | | | Merge pull request #5515Wladimir J. van der Laan2015-07-231-10/+39
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0fcc4e1 Assert on probable deadlocks if the second lock isnt try_lock (Matt Corallo)
| | * | | | | | | | | | | | | | | | Assert on probable deadlocks if the second lock isnt try_lockMatt Corallo2015-07-221-10/+39
| | | |_|_|_|_|_|/ / / / / / / / / | | |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Merge pull request #6149Wladimir J. van der Laan2015-07-223-28/+85
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27d7605 Buffer log messages and explicitly open logs (Adam Weiss)
| | * | | | | | | | | | | | | | | Buffer log messages and explicitly open logsAdam Weiss2015-07-063-28/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents stomping on debug logs in datadirs that are locked by other instances and lost parameter interaction messages that can get wiped by ShrinkDebugFile(). The log is now opened explicitly and all emitted messages are buffered until this open occurs. The version message and log cut have also been moved to the earliest possible sensible location.
| * | | | | | | | | | | | | | | | Merge pull request #6381Wladimir J. van der Laan2015-07-212-37/+59
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c4973aa Chainparams: CTestNetParams and CRegTestParams extend directly from CChainParams (Jorge Timón) d3cf546 Chainparams: Introduce CreateGenesisBlock() static function (Jorge Timón)
| | * | | | | | | | | | | | | | | | Chainparams: CTestNetParams and CRegTestParams extend directly from CChainParamsJorge Timón2015-07-122-10/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...instead of CMainParams and CTestNetParams respectively Do the same for CBaseChainParams. The inheritance was only reducing readibility in this case
| | * | | | | | | | | | | | | | | | Chainparams: Introduce CreateGenesisBlock() static functionJorge Timón2015-07-121-27/+40
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Merge pull request #6400Wladimir J. van der Laan2015-07-211-12/+10
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1327897 Reformat help text of estimatefee and estimatepriority to match other help texts. (Pavel Janík)
| | * | | | | | | | | | | | | | | | | Reformat help text of estimatefee and estimatepriority to match other help ↵Pavel Janík2015-07-201-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | texts.
| * | | | | | | | | | | | | | | | | | Merge pull request #6444Wladimir J. van der Laan2015-07-212-2/+21
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0aad1f1 Exempt unspendable transaction outputs from dust checks (zathras-crypto)
| | * | | | | | | | | | | | | | | | | Exempt unspendable transaction outputs from dust checkszathras-crypto2015-07-182-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since unspendable outputs can't be spent, there is no threshold at which it would be uneconomic to spend them. This primarily targets transaction outputs with `OP_RETURN`. --- Initially based on: commit 9cf0ae26350033d43d5dd3c95054c0d1b1641eda Author: zathras-crypto <[email protected]> Date: Wed Mar 25 02:04:02 2015 -0700 Changes: - cherry-picked on top of bitcoin:master - added RPC test for fundrawtransaction
| * | | | | | | | | | | | | | | | | | Merge pull request #6408Wladimir J. van der Laan2015-07-205-20/+11
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dca6040 [Qt] remove std namespace polution from code (Philip Kaufmann)
| | * | | | | | | | | | | | | | | | | | [Qt] remove std namespace polution from codePhilip Kaufmann2015-07-165-20/+11
| | |/ / / / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | | | | Merge pull request #6453Wladimir J. van der Laan2015-07-2011-99/+76
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e38d0f Separate core memory usage computation in core_memusage.h (Pieter Wuille)
| | * | | | | | | | | | | | | | | | | | Separate core memory usage computation in core_memusage.hPieter Wuille2015-07-2011-99/+76
| |/ / / / / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | | | | Fix warning introduced by #6412Wladimir J. van der Laan2015-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SOCKET are defined as unsigned integers, thus always >=0.
| * | | | | | | | | | | | | | | | | | Merge pull request #6412Wladimir J. van der Laan2015-07-203-0/+29
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d422f9b Test whether created sockets are select()able (Pieter Wuille)
| | * | | | | | | | | | | | | | | | | | Test whether created sockets are select()ablePieter Wuille2015-07-103-0/+29
| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Merge pull request #6447Wladimir J. van der Laan2015-07-201-2/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2cb8ee9 remove unused inv from ConnectTip() (Pavel Vasin)