aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-12Merge pull request #6256Wladimir J. van der Laan
65b9454 Use best header chain timestamps to detect partitioning (Gavin Andresen)
2015-06-12Merge pull request #6266Wladimir J. van der Laan
0cc7b23 Fix univalue handling of \u0000 characters. (Daniel Kraft)
2015-06-11Merge pull request #6221Wladimir J. van der Laan
c257a8c Prune: Support noncontiguous block files (Adam Weiss)
2015-06-11Fix univalue handling of \u0000 characters.Daniel Kraft
Univalue's parsing of \u escape sequences did not handle NUL characters correctly. They were, effectively, dropped. The extended test-case fails with the old code, and is fixed with this patch.
2015-06-11Merge pull request #6264Wladimir J. van der Laan
9b5659d Remove translation for -help-debug options (Wladimir J. van der Laan)
2015-06-10Merge pull request #6061Wladimir J. van der Laan
eb83719 Consensus: Refactor: Separate Consensus::CheckTxInputs and GetSpendHeight in CheckInputs (Jorge Timón)
2015-06-10Merge pull request #5975Wladimir J. van der Laan
425c3a8 Consensus: Separate CheckIndexAgainstCheckpoint() from ContextualCheckBlockHeader (Jorge Timón)
2015-06-10Consensus: Refactor: Separate Consensus::CheckTxInputs and GetSpendHeight in ↵Jorge Timón
CheckInputs
2015-06-10Consensus: Separate CheckIndexAgainstCheckpoint() from ↵Jorge Timón
ContextualCheckBlockHeader
2015-06-10Merge pull request #6057Wladimir J. van der Laan
7e6569e [squashme] improve/corrects prune mode detection test for required wallet rescans (Jonas Schnelli) 7a12119 [RPC] disable import functions in pruned mode (Jonas Schnelli) 3201035 [autoprune] allow wallet in pruned mode (Jonas Schnelli)
2015-06-10Merge pull request #5985Wladimir J. van der Laan
14d4eef Fix removing of orphan transactions (Alex Morcos)
2015-06-10Remove translation for -help-debug optionsWladimir J. van der Laan
Do not translate -help-debug options, Many technical terms, and only a very small audience, so is unnecessary stress to translators. Brings the code up to date with translation string policy in `doc/translation_strings_policy.md`. Also remove no-longer-relevant "In this mode -genproclimit controls how many blocks are generated immediately." (as of #5957) from regtest help.
2015-06-10Merge pull request #6213Wladimir J. van der Laan
eebd4cc [init] add -blockversion help and extend -upnp help (Philip Kaufmann)
2015-06-10Merge pull request #5927Wladimir J. van der Laan
dce8360 Reduce checkpoints' effect on consensus. (Pieter Wuille)
2015-06-10Merge pull request #6222Wladimir J. van der Laan
efd4444 Explicitly set tx.nVersion for the genesis block and mining tests (Mark Friedenbach)
2015-06-10Merge pull request #6244Wladimir J. van der Laan
a5a81f7 configure: Detect (and reject) LibreSSL (Luke Dashjr)
2015-06-09Merge pull request #6239Wladimir J. van der Laan
7d8ffac Changes necessary now that zero values accepted in AmountFromValue (Wladimir J. van der Laan) a04bdef Get rid of fPlus argument to FormatMoney (Wladimir J. van der Laan) 4b4b9a8 Don't go through double in AmountFromValue and ValueFromAmount (Wladimir J. van der Laan)
2015-06-09Merge pull request #6246Wladimir J. van der Laan
0640a5e Add an alternate location of endian.h header (Andriy Voskoboinyk)
2015-06-09Merge pull request #6217Wladimir J. van der Laan
51fc672 [Qt] disconnect peers from peers tab via context menu (Philip Kaufmann)
2015-06-09Merge pull request #6249Wladimir J. van der Laan
cab580d gitian: Add petertodd to gitian download scripts (Peter Todd)
2015-06-09Merge pull request #6250Wladimir J. van der Laan
789b7c3 gitian-downloader: Add prab's key (Paul Rabahy)
2015-06-08Use best header chain timestamps to detect partitioningGavin Andresen
The partition checking code was using chainActive timestamps to detect partitioning; with headers-first syncing, it should use (and with this pull request, does use) pIndexBestHeader timestamps. Fixes issue #6251
2015-06-07gitian-downloader: Add prab's keyPaul Rabahy
2015-06-07gitian: Add petertodd to gitian download scriptsPeter Todd
2015-06-07Add an alternate location of endian.h headerAndriy Voskoboinyk
2015-06-06configure: Detect (and reject) LibreSSLLuke Dashjr
2015-06-06Merge pull request #6241Wladimir J. van der Laan
c946ebe fix util_tests.cpp clang warnings (Jonas Schnelli)
2015-06-06Merge pull request #6232Wladimir J. van der Laan
f053bd2 Add erkmos OpenPGP key to gitian downloader keyset (Erik Mossberg)
2015-06-06fix util_tests.cpp clang warningsJonas Schnelli
was introduced with #6121
2015-06-06Changes necessary now that zero values accepted in AmountFromValueWladimir J. van der Laan
- Add an accept test for zero amounts, and a reject test for negative amounts - Remove ugly hack in `settxfee` that is no longer necessary - Do explicit zero checks in wallet RPC functions - Don't add a check for zero amounts in `createrawtransaction` - this could be seen as a feature
2015-06-06Get rid of fPlus argument to FormatMoneyWladimir J. van der Laan
It's never used with any other value than false, the default.
2015-06-06Don't go through double in AmountFromValue and ValueFromAmountWladimir J. van der Laan
My prime gripe with JSON spirit was that monetary values still had to be converted from and to floating point which can cause deviations (see #3759 and https://bitcoin.stackexchange.com/questions/22716/bitcoind-sendfrom-round-amount-error). As UniValue stores internal values as strings, this is no longer necessary. This avoids risky double-to-integer and integer-to-double conversions completely, and results in more elegant code to boot.
2015-06-05Merge pull request #6152Wladimir J. van der Laan
08d9373 Remove unused code from wallet and validation interface (Michael Ford)
2015-06-05Merge pull request #6238Wladimir J. van der Laan
cfc600d Bugfix: Correct links for Xcode download (Luke Dashjr)
2015-06-05Merge pull request #6206Wladimir J. van der Laan
a9ac95c use const references where appropriate (Philip Kaufmann)
2015-06-05Merge pull request #6234Wladimir J. van der Laan
ef5fca8 fix rpcmining/getblocktemplate univalue transition logic error (Jonas Schnelli)
2015-06-05Bugfix: Correct links for Xcode downloadLuke Dashjr
2015-06-04fix rpcmining/getblocktemplate univalue transition logic errorJonas Schnelli
2015-06-04use const references where appropriatePhilip Kaufmann
2015-06-04Merge pull request #6121Wladimir J. van der Laan
44c7474 univalue: add type check unit tests (Jonas Schnelli) c023092 univalue: add strict type checking (Wladimir J. van der Laan) 7e98a3c util: Add ParseInt64 and ParseDouble functions (Wladimir J. van der Laan) 043df2b Simplify RPCclient, adapt json_parse_error test (Wladimir J. van der Laan) 519eede fix univalue json parse tests (Jonas Schnelli) c7fbbc7 fix missing univalue types during constructing (Jonas Schnelli) 8f7e4ab fix rpc batching univalue issue (Jonas Schnelli) 9a8897f Remove JSON Spirit wrapper, remove JSON Spirit leftovers (Jonas Schnelli) 3df0411 remove JSON Spirit UniValue wrapper (Jonas Schnelli) 1f263c8 fix rpc unit test, plain numbers are not JSON compatible object (Jonas Schnelli) e04d9c2 univalue: correct bool support (Jonas Schnelli) 0c5b2cf univalue: add support for real, fix percision and make it json_spirit compatible (Jonas Schnelli) 21c10de special threatment for null,true,false because they are non valid json (Jonas Schnelli) 6c7bee0 expicit set UniValue type to avoid empty values (Jonas Schnelli) 53b4671 extend conversion to UniValue (Jonas Schnelli) 15982a8 Convert tree to using univalue. Eliminate all json_spirit uses. (Jeff Garzik) 5e3060c UniValue: export NullUniValue global constant (Jeff Garzik) efc7883 UniValue: prefer .size() to .count(), to harmonize w/ existing tree (Jeff Garzik)
2015-06-04univalue: add type check unit testsJonas Schnelli
2015-06-04univalue: add strict type checkingWladimir J. van der Laan
2015-06-04util: Add ParseInt64 and ParseDouble functionsWladimir J. van der Laan
Strict parsing functions for other numeric types. - ParseInt64 analogous to ParseInt32, but for 64-bit values. - ParseDouble for doubles. - Make all three Parse* functions more strict (e.g. reject whitespace on the inside) Also add tests.
2015-06-04Simplify RPCclient, adapt json_parse_error testWladimir J. van der Laan
# Conflicts: # src/test/rpc_tests.cpp
2015-06-04Add erkmos OpenPGP key to gitian downloader keysetErik Mossberg
2015-06-04fix univalue json parse testsJonas Schnelli
2015-06-04fix missing univalue types during constructingJonas Schnelli
2015-06-04fix rpc batching univalue issueJonas Schnelli
2015-06-04Remove JSON Spirit wrapper, remove JSON Spirit leftoversJonas Schnelli
- implement find_value() function for UniValue - replace all Array/Value/Object types with UniValues, remove JSON Spirit to UniValue wrapper - remove JSON Spirit sources
2015-06-04remove JSON Spirit UniValue wrapperJonas Schnelli