aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-06Merge pull request #6177Wladimir J. van der Laan
ef8dfe4 Prevent block.nTime from decreasing (Mark Friedenbach)
2015-08-05Merge pull request #6521Wladimir J. van der Laan
75a8803 Add v0.11.0 release notes (Casey Rodarmor)
2015-08-05Merge pull request #5913Wladimir J. van der Laan
5922b67 Add assertion and cast before sending reject code (Wladimir J. van der Laan) a651403 Add absurdly high fee message to validation state (for RPC propagation) (Shaul Kfir)
2015-08-05Add assertion and cast before sending reject codeWladimir J. van der Laan
This gets rid of a warning. Add an assertion to make sure that the reject code is in the correct range for the network protocol (if it is outside the range it must be a bug)
2015-08-05Add v0.11.0 release notesCasey Rodarmor
2015-08-05Merge pull request #6462Wladimir J. van der Laan
7b79cbd limit total length of user agent comments (Pavol Rusnak) 557f8ea implement uacomment config parameter which can add comments to user agent as per BIP-0014 (Pavol Rusnak)
2015-08-05Merge pull request #6489Wladimir J. van der Laan
f261f19 Give a better error message if system clock is bad (Casey Rodarmor)
2015-08-05Merge pull request #6507Wladimir J. van der Laan
9f5edb9 Removed contrib/bitrpc (Casey Rodarmor)
2015-08-05limit total length of user agent commentsPavol Rusnak
Reworked-By: Wladimir J. van der Laan <laanwj@gmail.com>
2015-08-04Merge pull request #6503Pieter Wuille
19dd40a Consolidate individual references to the current maximum peer connection value of 125 into a single constant declaration. (Matt Quinn)
2015-08-04Merge pull request #6504Wladimir J. van der Laan
9ca7857 Rationalize currency unit to "BTC" (Ross Nicoll)
2015-08-03Rationalize currency unit to "BTC"Ross Nicoll
Previously various user-facing strings have used inconsistent currency units "BTC", "btc" and "bitcoins". This adds a single constant and uses it for each reference to the currency unit. Also adds a description of the unit for --maxtxfee, and adds the missing "amount" field description to the (deprecated) move RPC command.
2015-08-03Consolidate individual references to the current maximum peer connectionMatt Quinn
value of 125 into a single constant declaration.
2015-08-03Give a better error message if system clock is badCasey Rodarmor
Fixes #2007 This checks to see if the system clock appears to be bad and gives a helpful error message. If the user's clock is set incorrectly, hopefully they'll abort, fix it, and then save themselves a fruitless resync.
2015-08-03Merge pull request #6498Wladimir J. van der Laan
a8d0407 Move recentRejects initialization to top of InitBlockIndex (Wladimir J. van der Laan) 0847d9c Keep track of recently rejected transactions (Peter Todd) d741371 Only use randomly created nonces in CRollingBloomFilter. (Pieter Wuille) d2d7ee0 Make CRollingBloomFilter set nTweak for you (Peter Todd) a3d65fe Reuse vector hashing code for uint256 (Pieter Wuille) bbe4108 Add uint256 support to CRollingBloomFilter (Peter Todd)
2015-08-03Merge pull request #6284Wladimir J. van der Laan
c6455c7 doc: mention change to option parsing behavior in release notes (Wladimir J. van der Laan) c38c49d Fix argument parsing oddity with -noX (Wladimir J. van der Laan)
2015-08-03Merge pull request #6356Wladimir J. van der Laan
f0cba6f Delay initial pruning until after wallet init (Adam Weiss)
2015-08-03Removed contrib/bitrpcCasey Rodarmor
It's unclear if people are using this and if it's worth maintaining.
2015-08-03Merge pull request #6497Wladimir J. van der Laan
f18b8ec Make sure LogPrintf strings are line-terminated (Wladimir J. van der Laan)
2015-08-03Make sure LogPrintf strings are line-terminatedWladimir J. van der Laan
Fix the cases where LogPrint[f] was accidentally called without line terminator, which resulted in concatenated log lines. (see e.g. #6492)
2015-08-03Merge pull request #6501Wladimir J. van der Laan
31bfc27 build: make sure pkg-config checks are guarded by an m4_ifdef (Cory Fields) d9add71 build: fix libressl detection (Cory Fields)
2015-07-31build: make sure pkg-config checks are guarded by an m4_ifdefCory Fields
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-31Move recentRejects initialization to top of InitBlockIndexWladimir J. van der Laan
This avoids that premature return in the condition that a new chain is initialized results in NULL pointer errors due to recentReject not being constructed. Also add assertions where it is used.
2015-07-31implement uacomment config parameterPavol Rusnak
which can add comments to user agent as per BIP-0014
2015-07-31Merge pull request #6473Wladimir J. van der Laan
5fb5c9b Clean up chainparams some more. (Daniel Kraft)
2015-07-31Merge pull request #6487Wladimir J. van der Laan
eec7757 qt: Introduce PlatformStyle (Wladimir J. van der Laan)
2015-07-31qt: Introduce PlatformStyleWladimir J. van der Laan
Introduce a PlatformStyle to handle platform-specific customization of the UI. This replaces 'scicon', as well as #ifdefs to determine whether to place icons on buttons. The selected PlatformStyle defaults to the platform that the application was compiled on, but can be overridden from the command line with `-uiplatform=<x>`. Also fixes the warning from #6328.
2015-07-29Clean up chainparams some more.Daniel Kraft
Clean up the code in chainparams a bit more after the recent refactorings. In particular, make sure the structure of the "RegTest" params matches the structure of the other classes. This makes the code clearer to read. Also remove redundant values of the genesis block in always-specified optional arguments and mark variable/argument as "const".
2015-07-29Merge pull request #6224Wladimir J. van der Laan
59b49cd Eliminate signed/unsigned comparison warning (Suhas Daftuar) 04b5d23 Replace sleep with syncing using pings (Suhas Daftuar) 6b1066f Ignore whitelisting during IBD for unrequested blocks. (Suhas Daftuar) bfc30b3 Ignore unrequested blocks too far ahead of tip (Suhas Daftuar)
2015-07-29Delay initial pruning until after wallet initAdam Weiss
Don't prune until any wallet rescanning has taken place to avoid potentially pruning blocks that the wallet rescan may need.
2015-07-29Merge pull request #6488Wladimir J. van der Laan
17ac0f4 Avoid leaking file descriptors in RegisterLoad (Casey Rodarmor)
2015-07-28Keep track of recently rejected transactionsPeter Todd
Nodes can have divergent policies on which transactions they will accept and relay. This can cause you to repeatedly request and reject the same tx after its inved to you from various peers which have accepted it. Here we add rolling bloom filter to keep track of such rejections, clearing the filter every time the chain tip changes. Credit goes to Alex Morcos, who created the patch that this code is based on. Original code by Peter Todd. Refactored to not construct the filter at startup time by Pieter Wuille.
2015-07-28Revert "Cache transaction validation successes"Pieter Wuille
This reverts commit 17b11428c135203342aff38cabc8047e673f38ac.
2015-07-28Avoid leaking file descriptors in RegisterLoadCasey Rodarmor
This is pretty trivial, but if there's an error here we'll leak a file descriptor. Changed it to always close the file.
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-27Only use randomly created nonces in CRollingBloomFilter.Pieter Wuille
2015-07-27Make CRollingBloomFilter set nTweak for youPeter Todd
While CBloomFilter is usually used with an explicitly set nTweak, CRollingBloomFilter is only used internally. Requiring every caller to set nTweak is error-prone and redundant; better to have the class handle that for you with a high-quality randomness source. Additionally when clearing the filter it makes sense to change nTweak as well to recover from a bad setting, e.g. due to insufficient randomness at initialization, so the clear() method is replaced by a reset() method that sets a new, random, nTweak value.
2015-07-27Reuse vector hashing code for uint256Pieter Wuille
2015-07-27Add uint256 support to CRollingBloomFilterPeter Todd
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-27doc: mention change to option parsing behavior in release notesWladimir J. van der Laan
2015-07-27Fix argument parsing oddity with -noXWladimir J. van der Laan
`bitcoind -X -noX` ends up, unintuitively, with `X` set. (for all boolean options X) This result is due to the odd two-pass processing of arguments. This patch fixes this oddity and simplifies the code at the same time.
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