aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-31build: fix libressl detectionCory Fields
Checking libcrypto for a function after we've already found a (possibly different) libcrypto is not what we want to do here. pkg-config might've found a cross lib while AC_CHECK_LIB may find a different or native one. Run a link-test against the lib that's already been found instead.
2015-07-28Revert "Cache transaction validation successes"Pieter Wuille
This reverts commit 17b11428c135203342aff38cabc8047e673f38ac.
2015-07-28Merge pull request #6484Wladimir J. van der Laan
5e56ef5 qt: use CHashWriter also in SignVerifyMessageDialog (Pavel Vasin)
2015-07-28qt: use CHashWriter also in SignVerifyMessageDialogPavel Vasin
This eliminates unnecessary copying of data being hashed.
2015-07-27Merge pull request #6077Wladimir J. van der Laan
517e6dd Unit test doublespends in new blocks (Gavin Andresen) 17b1142 Cache transaction validation successes (Pieter Wuille)
2015-07-27Unit test doublespends in new blocksGavin Andresen
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.
2015-07-27Cache transaction validation successesPieter Wuille
2015-07-27Merge pull request #5697Wladimir J. van der Laan
60c8bac Includes: Cleanup around net main and wallet (Jorge Timón) 9dd793f TRIVIAL: Missing includes (Jorge Timón)
2015-07-27Merge pull request #6380Wladimir J. van der Laan
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)
2015-07-27doc: Mention RPC strings for monetary amounts in release notesWladimir J. van der Laan
Add a section "low level RPC API changes" so that the changes with regard to error codes can be added later.
2015-07-27[QA] add testcases for parsing strings as valuesJonas Schnelli
2015-07-27rpc: Accept strings in AmountFromValueWladimir J. van der Laan
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.
2015-07-27Merge pull request #6468Wladimir J. van der Laan
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)
2015-07-27Merge pull request #6471Wladimir J. van der Laan
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)
2015-07-27fixup: qt 5.5 snuck in another module that needs path hand-holdingCory Fields
2015-07-27depends: make more qt flags explicitCory Fields
2015-07-25don't try to decode invalid encoded ext keysJonas Schnelli
2015-07-24Merge pull request #6456Wladimir J. van der Laan
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)
2015-07-24Merge pull request #6465Wladimir J. van der Laan
56b28fc Don't share objects between TestInstances (Casey Rodarmor)
2015-07-23depends: bump to qt 5.5Cory Fields
2015-07-23depends: split qt config options to separate linesJacob Welsh
Helps ease of reading and comparison. Removed some duplicates.
2015-07-23build: fix building against qt5.4/5.5Cory Fields
2015-07-23Includes: Cleanup around net main and walletJorge Timón
-Move from .h to .cpp: in main, net and wallet -Remove unnecessary #include "main.h" -Cleanup some wallet files includes
2015-07-23TRIVIAL: Missing includesJorge Timón
2015-07-23Merge pull request #6287Wladimir J. van der Laan
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)
2015-07-23Merge pull request #5515Wladimir J. van der Laan
0fcc4e1 Assert on probable deadlocks if the second lock isnt try_lock (Matt Corallo)
2015-07-23extend bip32 tests to cover Base58c/CExtKey decodeJonas Schnelli
2015-07-23fix and extend CBitcoinExtKeyBase templateJonas Schnelli
- fix Decode call (req. only one param) - add constructor for base58c->CExtKey
2015-07-22Assert on probable deadlocks if the second lock isnt try_lockMatt Corallo
2015-07-22Merge pull request #6149Wladimir J. van der Laan
27d7605 Buffer log messages and explicitly open logs (Adam Weiss)
2015-07-22Don't share objects between TestInstancesCasey Rodarmor
2015-07-21Merge pull request #6381Wladimir J. van der Laan
c4973aa Chainparams: CTestNetParams and CRegTestParams extend directly from CChainParams (Jorge Timón) d3cf546 Chainparams: Introduce CreateGenesisBlock() static function (Jorge Timón)
2015-07-21Merge pull request #6400Wladimir J. van der Laan
1327897 Reformat help text of estimatefee and estimatepriority to match other help texts. (Pavel Janík)
2015-07-21Merge pull request #6444Wladimir J. van der Laan
0aad1f1 Exempt unspendable transaction outputs from dust checks (zathras-crypto)
2015-07-20Reformat help text of estimatefee and estimatepriority to match other help ↵Pavel Janík
texts.
2015-07-20Merge pull request #6408Wladimir J. van der Laan
dca6040 [Qt] remove std namespace polution from code (Philip Kaufmann)
2015-07-20Merge pull request #6453Wladimir J. van der Laan
9e38d0f Separate core memory usage computation in core_memusage.h (Pieter Wuille)
2015-07-20Separate core memory usage computation in core_memusage.hPieter Wuille
2015-07-20Fix warning introduced by #6412Wladimir J. van der Laan
SOCKET are defined as unsigned integers, thus always >=0.
2015-07-20Merge pull request #6412Wladimir J. van der Laan
d422f9b Test whether created sockets are select()able (Pieter Wuille)
2015-07-20Merge pull request #6447Wladimir J. van der Laan
2cb8ee9 remove unused inv from ConnectTip() (Pavel Vasin)
2015-07-20Merge pull request #6457Wladimir J. van der Laan
0ef9858 Documenting pruned, pruneheight and softforks in getblockchaininfo (Simon Males) 0c89579 Include pruned state in chaininfo.json (Simon Males)
2015-07-19Documenting pruned, pruneheight and softforks in getblockchaininfoSimon Males
2015-07-18Exempt unspendable transaction outputs from dust checkszathras-crypto
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 <zathrasc@gmail.com> Date: Wed Mar 25 02:04:02 2015 -0700 Changes: - cherry-picked on top of bitcoin:master - added RPC test for fundrawtransaction
2015-07-18Include pruned state in chaininfo.jsonSimon Males
2015-07-18util: use locale-independent parsing in ParseDoubleWladimir J. van der Laan
Use locale-indepent C++ based parsing instead of C's strtod, which checks for different input based on the user's locale. Fixes #6443.
2015-07-18univalue: Avoid unnecessary roundtrip through double for numbersWladimir J. van der Laan
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).
2015-07-18rpc: Make ValueFromAmount always return 8 decimalsWladimir J. van der Laan
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.
2015-07-17Merge pull request #6372Wladimir J. van der Laan
e3c4297 Update Linearize tool to support Windows paths (Paul Georgiou)
2015-07-17Merge pull request #6439Wladimir J. van der Laan
09d4ddf Updated URL location of netinstall for Debian (฿tcDrak)