aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Don't pass nHashType to EvalScript nor CheckSigjtimon2014-09-125-21/+18
|
* Don't pass nHashType to VerifyScriptjtimon2014-09-1210-37/+36
|
* Remove CScriptCheck::nHashType (was always 0)jtimon2014-09-123-9/+7
|
* Remove unused function main:VerifySignaturejtimon2014-09-123-8/+1
|
* Merge pull request #4896Wladimir J. van der Laan2014-09-121-1/+5
|\ | | | | | | 07d5287 Catch error when done reading files (Suhas Daftuar)
| * Catch error when done reading filesSuhas Daftuar2014-09-111-1/+5
| |
* | Merge pull request #4876Pieter Wuille2014-09-124-794/+821
|\ \ | | | | | | | | | 6022b5d Make script_{valid,invalid}.json validation flags configurable (Pieter Wuille)
| * | Make script_{valid,invalid}.json validation flags configurablePieter Wuille2014-09-084-794/+821
| | |
* | | Merge pull request #4758 from theuni/osx-dmg-codesign-rebaseGavin Andresen2014-09-121-0/+29
|\ \ \ | | | | | | | | build: osx: Fix incomplete framework packaging for codesigning
| * | | build: osx: Fix incomplete framework packaging for codesigningCory Fields2014-08-231-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Starting with 10.9, Framework versions must be signed individually, rather than as a single bundle version, in order to be properly codesigned. This change ensures that the proper plist files and symlinks are present prior to packaging.
* | | | Merge pull request #4885Wladimir J. van der Laan2014-09-114-20/+70
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | aa3c697 Store fewer orphan tx by default, add -maxorphantx option (Gavin Andresen) c74332c Stricter handling of orphan transactions (Gavin Andresen)
| * | | | Store fewer orphan tx by default, add -maxorphantx optionGavin Andresen2014-09-103-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no reason to store thousands of orphan transactions; normally an orphan's parents will either be broadcast or mined reasonably quickly. This pull drops the maximum number of orphans from 10,000 down to 100, and adds a command-line option (-maxorphantx) that is just like -maxorphanblocks to override the default.
| * | | | Stricter handling of orphan transactionsGavin Andresen2014-09-102-17/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevent denial-of-service attacks by banning peers that send us invalid orphan transactions and only storing orphan transactions given to us by a peer while the peer is connected.
* | | | | Merge pull request #4892Wladimir J. van der Laan2014-09-112-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | e982b57 Use explicit fflush() instead of setvbuf() (Adam Weiss)
| * | | | Use explicit fflush() instead of setvbuf()Adam Weiss2014-09-102-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Flushing after every line when printing to console is desirable when running with systemd but setvbuf() has slightly different semantics on Windows that causes warnings. Just do an explicit fflush() after each line print to console instead.
* | | | Fix crashing bug caused by orphan(s) with duplicate prevout.hashGavin Andresen2014-09-101-0/+2
| | | |
* | | | Merge pull request #4878Wladimir J. van der Laan2014-09-103-0/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 540ac45 Avoid returning many "inv" orphans (Jeff Garzik) d4168c8 Limit CNode::mapAskFor (Wladimir J. van der Laan)
| * | | | Avoid returning many "inv" orphansJeff Garzik2014-09-091-0/+5
| | | | |
| * | | | Limit CNode::mapAskForWladimir J. van der Laan2014-09-092-0/+4
| | | | | | | | | | | | | | | | | | | | Tighten resource constraints on CNode.
* | | | | Merge pull request #4623Wladimir J. van der Laan2014-09-105-13/+26
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | e84843c Broken addresses on command line no longer trigger testnet. (Ross Nicoll)
| * | | | | Broken addresses on command line no longer trigger testnet.Ross Nicoll2014-08-305-13/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When passing a bitcoin: URI on the command line, invalid addresses do not incorrectly send the user to the test network.
* | | | | | Merge pull request #4755Wladimir J. van der Laan2014-09-107-46/+60
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c1e433b Rename scriptutils.o to wallet_ismine.o (jtimon) 8b59a3d Move CAffectedKeysVisitor to wallet.cpp (remove ExtractAffectedKeys) (jtimon) 0d2fa14 Move scriptutils.o to wallet (jtimon)
| * | | | | | Rename scriptutils.o to wallet_ismine.ojtimon2014-09-106-8/+8
| | | | | | |
| * | | | | | Move CAffectedKeysVisitor to wallet.cpp (remove ExtractAffectedKeys)jtimon2014-09-103-38/+34
| | | | | | |
| * | | | | | Move scriptutils.o to walletjtimon2014-09-103-2/+20
|/ / / / / /
* | | | | | Merge pull request #4874Wladimir J. van der Laan2014-09-102-2/+23
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 21f139b qt: fix tablet crash. closes #4854. (Cory Fields)
| * | | | | | qt: fix tablet crash. closes #4854.Cory Fields2014-09-082-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This backports the relevant parts of: https://codereview.qt-project.org/#/c/82689/
* | | | | | | Merge pull request #4867Wladimir J. van der Laan2014-09-101-5/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a95b119 qt: Remove thousands separators after decimal point (Wladimir J. van der Laan)
| * | | | | | | qt: Remove thousands separators after decimal pointWladimir J. van der Laan2014-09-081-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert thousands separators after decimal point, as introduced in #4167.
* | | | | | | | Merge pull request #4822Pieter Wuille2014-09-107-51/+54
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 629d75f Combine CCoinsViewCache's HaveCoins and const GetCoins into AccessCoins. (Pieter Wuille)
| * | | | | | | | Combine CCoinsViewCache's HaveCoins and const GetCoins into AccessCoins.Pieter Wuille2014-09-037-51/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The efficient version of CCoinsViewCache::GetCoins only works for known-to-exist cache entries, requiring a separate HaveCoins call beforehand. This is inefficient as both perform a hashtable lookup. Replace the non-mutable GetCoins with AccessCoins, which returns a potentially-NULL pointer. This also decreases the overloading of GetCoins. Also replace some copying (inefficient) GetCoins calls with equivalent AccessCoins, decreasing the copying.
* | | | | | | | | Merge pull request #4882Pieter Wuille2014-09-101-2/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | faadbe1 remove unneeded cast in rpcmisc.cpp (Philip Kaufmann)
| * | | | | | | | | remove unneeded cast in rpcmisc.cppPhilip Kaufmann2014-09-091-2/+2
| | |_|_|_|/ / / / | |/| | | | | | |
* | | | | | | | | Merge pull request #4868Pieter Wuille2014-09-098-10/+10
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | 2c2cc5d Remove some unnecessary c_strs() in logging and the GUI (Philip Kaufmann) f7d0a86 netbase: Use .data() instead of .c_str() on binary string (Wladimir J. van der Laan)
| * | | | | | | | Remove some unnecessary c_strs() in logging and the GUIPhilip Kaufmann2014-09-097-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Includes `core: remove unneeded c_str() / Qt: replace c_str() with Qt code` by P. Kaufmann.
| * | | | | | | | netbase: Use .data() instead of .c_str() on binary stringWladimir J. van der Laan2014-09-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `.c_str()` is only guaranteed to return the data up to the first NUL character.
* | | | | | | | | Merge pull request #4873Wladimir J. van der Laan2014-09-091-10/+13
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | 89d91f6 Avoid repeated lookups in mapOrphanTransactions and mapOrphanTransactionsByPrev (Wladimir J. van der Laan)
| * | | | | | | | Avoid repeated lookups in mapOrphanTransactions and mapOrphanTransactionsByPrevWladimir J. van der Laan2014-09-081-10/+13
| | |_|_|_|_|_|/ | |/| | | | | |
* | | | | | | | Merge pull request #4754Pieter Wuille2014-09-0837-1387/+1513
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e088d65 Separate script/sign (jtimon) 9294a4b Separate CScriptCompressor (jtimon) c4408a6 Separate script/standard (jtimon) da03e6e Separate script/interpreter (jtimon) cbd22a5 Move CScript class and dependencies to script/script (jtimon) 86dbeea Rename script.h/.cpp to scriptutils.h/.cpp (plus remove duplicated includes) (jtimon) Rebased-by: Pieter Wuille
| * | | | | | | Separate script/signjtimon2014-09-0812-263/+294
| | | | | | | |
| * | | | | | | Separate CScriptCompressorjtimon2014-09-086-195/+215
| | | | | | | |
| * | | | | | | Separate script/standardjtimon2014-09-0811-283/+324
| | | | | | | |
| * | | | | | | Separate script/interpreterjtimon2014-09-088-1086/+1101
| | | | | | | |
| * | | | | | | Move CScript class and dependencies to script/scriptjtimon2014-09-0819-934/+957
| | | | | | | |
| * | | | | | | Rename script.h/.cpp to scriptutils.h/.cpp (plus remove duplicated includes)jtimon2014-09-0823-29/+25
|/ / / / / / /
* | | | | | | Merge pull request #4865Pieter Wuille2014-09-081-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | 8e44f2e Clarify 'compressed nor uncompressed' error message (Peter Todd)
| * | | | | | Clarify 'compressed nor uncompressed' error messagePeter Todd2014-09-071-1/+1
| | | | | | |
* | | | | | | Merge pull request #4712Wladimir J. van der Laan2014-09-082-7/+12
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 80daee0 [Qt] Call checkBalanceChanged() periodically instead for every updated transaction (Cozz Lovan)
| * | | | | | | [Qt] Call checkBalanceChanged() periodically instead for every updated ↵Cozz Lovan2014-08-262-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | transaction
* | | | | | | | Merge pull request #4697Wladimir J. van der Laan2014-09-081-2/+7
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | | | | | | | | | | da2ede2 [Wallet] Improve ReorderTransactions(..) (Cozz Lovan)