aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-05-09Merge pull request #3965Wladimir J. van der Laan
b1fdd54 script: Add test for CScriptNum (Cory Fields) 90320d6 script: add additional script tests (Cory Fields) 05e3ecf script: remove bignum dependency (Cory Fields) 4f497cd script: switch outside users to CScriptNum (Cory Fields) 27bff74 script: switch to CScriptNum usage for scripts (Cory Fields) 48d8eb1 script: add CScriptNum class (Cory Fields)
2014-05-09Merge pull request #3884Wladimir J. van der Laan
942b33a Split AcceptBlockHeader from AcceptBlock. (Pieter Wuille) f457347 Split up CheckBlock in a block and header version (Pieter Wuille)
2014-05-09Merge pull request #3860 from petertodd/test-checkmulti-n-m-zeroGavin Andresen
Test CHECKMULTISIG with m == 0 and/or n == 0
2014-05-09Merge pull request #4136Wladimir J. van der Laan
01ce711 [Qt] fix Qt slot problem in receivecoinsdialog (Philip Kaufmann)
2014-05-08qt: fix compile issue in Qt GUIWladimir J. van der Laan
This was introduced in 3e1cf9b. Needs a cast to qint64.
2014-05-08Typo Fix In decoderawtransaction Help: s/txid/hex/David A. Harding
Help text appears to have been copy/pasted from getrawtransaction, so it erroneously asked for a txid where rawtransaction hex should appear. Remove lines which were copy/pasted from getrawtransaction but which aren't displayed by decoderawtransaction. Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 5cc0133 80c521e Github-Pull: #4106
2014-05-08Merge pull request #4131Wladimir J. van der Laan
3e1cf9b add DEFAULT_TRANSACTION_FEE constant in wallet (Philip Kaufmann)
2014-05-08Merge pull request #4141Wladimir J. van der Laan
9d558e1 ui: Check for !pixmap() before trying to export QR code (Wladimir J. van der Laan)
2014-05-08Check redeemScript size does not exceed 520 byte limitPeter Todd
redeemScripts >520bytes can't be spent due to the MAX_SCRIPT_ELEMENT_SIZE limit; previously the addmultisigaddress and createmultisig RPC calls would let you violate that limit unknowingly. Also made the wallet code itself check the redeemScript prior to adding it to the wallet, which in the (rare) instance that a user has added an invalid oversized redeemScript to their wallet causes an error on startup. The affected key isn't added to the wallet; other keys are unaffected.
2014-05-08Increase IsStandard() scriptSig lengthPeter Todd
Removes the limits on number of pubkeys for P2SH CHECKMULTISIG outputs. Previously with the 500 byte scriptSig limit there were odd restrictions where even a 1-of-12 P2SH could be spent in a standard transaction(1), yet multisig scriptPubKey's requiring more signatures quickly ran out of scriptSig space. From a "stuff-data-in-the-blockchain" point of view not much has changed as with the prior commit now only allowing the dummy value to be null the newly allowed scriptSig space can only be used for signatures. In any case, just using more outputs is trivial and doesn't cost much. 1) See 779b519480d8c5346de6e635119c7ee772e97ec872240c45e558f582a37b4b73 Mined by BTC Guild.
2014-05-08Do not trigger a DoS ban if SCRIPT_VERIFY_NULLDUMMY failsPeter Todd
2014-05-08Add rejection of non-null CHECKMULTISIG dummy valuesPeter Todd
This is a source of transaction mutability as the dummy value was previously not checked and could be modified to something other than the usual OP_0 value.
2014-05-07[Qt] fix ugly typo in bitcoin.cppPhilip Kaufmann
Closes #4145. Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 1e4b083
2014-05-07Add missing cs_main lock to VerifyDBWladimir J. van der Laan
Fixes issue #4139.
2014-05-07ui: Check for !pixmap() before trying to export QR codeWladimir J. van der Laan
Adds null pointer checks as well as prevents the Save/Copy context menu from appearing at all if no image is shown. Fixes issue #4140
2014-05-06Merge pull request #4127Wladimir J. van der Laan
d387b8e rpc: add `getblockchaininfo` and `getnetworkinfo` (Wladimir J. van der Laan)
2014-05-06Remove dummy PRIszX macros for formattingWladimir J. van der Laan
Size specifiers are no longer needed now that we use typesafe tinyformat for string formatting, instead of the system's sprintf. No functional changes. This continues the work in #3735.
2014-05-06[Qt] fix Qt slot problem in receivecoinsdialogPhilip Kaufmann
- fixes error from debug.log: QMetaObject::connectSlotsByName: No matching signal for on_recentRequestsView_selectionChanged(QItemSelection,QItemSelection) - small style fixes (e.g. alphabetical ordering if includes etc.) - fixes #3992
2014-05-06qt: periodic translations updateWladimir J. van der Laan
2014-05-06Remove NumBlocksOfPeersWladimir J. van der Laan
Generally useless information. Only updates on connect time, not after that. Peers can easily lie and the median filter is not effective in preventing that. In the past it was used for progress display in the GUI but `CheckPoints::guessVerificationProgress` provides a better way that is now used. It was too easy to mislead it. Peers do lie about it in practice, see issue #4065. From the RPC, `getpeerinfo` gives the peer raw values, which are more useful.
2014-05-06rpc: add `getblockchaininfo` and `getnetworkinfo`Wladimir J. van der Laan
Adds two new info query commands that take over information from hodge-podge `getinfo`. Also some new information is added: - `getblockchaininfo` - `chain`: (string) current chain (main, testnet3, regtest) - `verificationprogress: (numeric) estimated verification progress - `chainwork` - `getnetworkinfo` - `localaddresses`: (array) local addresses, from mapLocalHost (fixes #1734)
2014-05-05add DEFAULT_TRANSACTION_FEE constant in walletPhilip Kaufmann
- as this is a shared Core/GUI setting, this makes it easier to keep them in sync (also no new includes are needed)
2014-05-05Let tx (in)valid tests use any SCRIPT_VERIFY flagPeter Todd
Previously only P2SH could be set.
2014-05-05Create (MANDATORY|STANDARD)_SCRIPT_VERIFY_FLAGS constantsPeter Todd
2014-05-05Merge pull request #4120Wladimir J. van der Laan
dbe8f75 don't use sed's -i option to stay posix compliant (Fabian Raetz)
2014-05-02don't use sed's -i option to stay posix compliantFabian Raetz
POSIX does not define sed's -i option. To stay as portable as possible we should not relay on it.
2014-05-02Merge pull request #4119Wladimir J. van der Laan
2364b11 reorder includes to compile on OpenBSD (Fabian Raetz)
2014-05-02reorder includes to compile on OpenBSDFabian Raetz
From getifaddr(3) manual: "If both <net/if.h> and <ifaddrs.h> are being included, <net/if.h> must be included before <ifaddrs.h>" http://www.openbsd.org/cgi-bin/man.cgi?query=getifaddrs&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html
2014-05-02Merge pull request #4074Wladimir J. van der Laan
d3081fa Removed LevelDB changes (super3)
2014-05-02Merge pull request #4114Wladimir J. van der Laan
bfb154e Update build instructions for Berkeley DB (Wladimir J. van der Laan) d0a2e2e Log BerkeleyDB version at startup (Wladimir J. van der Laan)
2014-05-02better std::exception logging for CAddrDbPhilip Kaufmann
- also small logging text changes
2014-05-02Merge pull request #4110Wladimir J. van der Laan
3a54ad9 Full translation update (Wladimir J. van der Laan) 9dd5d79 devtools: add a script to fetch and postprocess translations (Wladimir J. van der Laan) 58c01a3 qt: add transifex configuration file (Wladimir J. van der Laan)
2014-05-02Merge pull request #4115Wladimir J. van der Laan
e27c411 Remove build-time no-IPv6 setting (Wladimir J. van der Laan)
2014-05-02Merge pull request #4032Wladimir J. van der Laan
c0e0b05 Bugfix: configure: Look in libx32 subdirectory for boost libraries (Luke Dashjr)
2014-05-01Removed LevelDB changessuper3
Syntax Highlighting
2014-05-01Remove build-time no-IPv6 settingWladimir J. van der Laan
The year is 2014. All supported operating systems have IPv6 support, most certainly at build time (this doesn't mean that IPv6 is configured, of course). If noone is exercising the functionality to disable it, that means it doesn't get tested, and IMO it's better to get rid of it. (it's also not used consistently in RPC/boost and Net code...)
2014-05-01Full translation updateWladimir J. van der Laan
Last update (48be9ce) missed quite a lot, for some reason. This is also the first update done with the new script `contrib/devtools/update-translations.py`
2014-05-01Log BerkeleyDB version at startupWladimir J. van der Laan
Prints the actual version of BerkeleyDB that is linked against, if wallet support is enabled. Useful for troubleshooting. For example: 2014-05-01 07:44:02 Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010) 2014-05-01 07:54:25 Using BerkeleyDB version Berkeley DB 5.1.29: (October 25, 20 11)
2014-05-01Merge pull request #4092Wladimir J. van der Laan
40c5b93 [Qt] Optionally add third party links to transaction context menu (Cozz Lovan)
2014-05-01Merge pull request #4109Wladimir J. van der Laan
6b29ccc Correct indentation (R E Broadley)
2014-04-30use standard __func__ instead of __PRETTY_FUNCTION__Philip Kaufmann
2014-04-30Correct indentationR E Broadley
2014-04-29qt: Periodic translations updateWladimir J. van der Laan
Update English translation from source code, and pull other translations from Transifex.
2014-04-27Merge pull request #4043Wladimir J. van der Laan
d282c1f [Qt] catch Windows shutdown events while client is running (Philip Kaufmann)
2014-04-25[Qt] Optionally add third party links to transaction context menuCozz Lovan
2014-04-25Split AcceptBlockHeader from AcceptBlock.Pieter Wuille
Also modify some connection logic to deal with non-full blocks in the index.
2014-04-25Split up CheckBlock in a block and header versionPieter Wuille
2014-04-24Add MESSAGE_START_SIZE from chainparams when loading blocks from external files.Simon de la Rouviere
2014-04-23Merge pull request #4085Wladimir J. van der Laan
b39a07d Add missing AssertLockHeld in ConnectBlock (Wladimir J. van der Laan) 41106a5 qt: get required locks upfront in polling functions (Wladimir J. van der Laan) ed67100 Add required locks in tests (Wladimir J. van der Laan)
2014-04-23Add missing AssertLockHeld in ConnectBlockWladimir J. van der Laan