aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-08-28Merge pull request #2931 from Diapolo/introWladimir J. van der Laan
Bitcoin-Qt: add testnet check and icon to intro dialog
2013-08-28Merge pull request #2904 from gmaxwell/newaddr-no-passphraseGregory Maxwell
[QT] Don't ask for a passphrase to getnewaddress.
2013-08-25Merge pull request #2928 from jgarzik/cnb-txoutJeff Garzik
CreateNewBlock / getblocktemplate cleaning
2013-08-25Merge pull request #2938 from petertodd/op-reserved-weirdnessGavin Andresen
Document and test OP_RESERVED weirdness
2013-08-25miner: constify CreateNewBlock() arg scriptPubKeyInJeff Garzik
2013-08-25Document and test OP_RESERVED weirdnessPeter Todd
Seems it was forgotten about when IsPushOnly() and the unittests were written. A particular oddity is that OP_RESERVED doesn't count towards the >201 opcode limit unlike every other named opcode.
2013-08-25Merge pull request #2935 from sipa/oboundsPieter Wuille
Fix out-of-bounds check
2013-08-24Merge pull request #2618 from fcicq/solaris-supportJeff Garzik
Partial solaris support
2013-08-24Merge pull request #2852 from petertodd/getblock-chainworkJeff Garzik
Add 'chainwork' to getblock
2013-08-24Fix out-of-bounds checkPieter Wuille
2013-08-24Bitcoin-Qt: add testnet check and icon to intro dialogPhilip Kaufmann
2013-08-24RPC: getblocktemplate does not require a key, to create a block templateJeff Garzik
getblocktemplate only uses certain portions of the coinbase transaction, notably ignoring the coinbase TX output entirely. Use CreateNewBlock() rather than CreateNewBlockWithKey(), eliminating the needless key passing. Should be zero behavior changes.
2013-08-24CreateNewBlock() now takes scriptPubKey argument,Jeff Garzik
rather than a key. CreateNewBlockWithKey() helper is added to restore existing functionality, making this an equivalent-transformation change.
2013-08-23Remove fAllowReuse from GetKeyFromPool.Gregory Maxwell
With the GUI password fix this was always false.
2013-08-23[QT] Don't ask for a passphrase to getnewaddress.Gregory Maxwell
With an encrypted wallet the GUI was prompting for a passphrase every time the user requested a new address. This is unnecessary, increases the exposure to keyboard sniffers, and discourages using fresh addresses for every transaction. Instead only prompt for a passphrase when the keypool runs out, also call the new address function with the flag that prevents reuse. Thanks to AlexNagy on IRC for pointing this out and who wouldn't take any lip from a curmudgeonly developer and insisted on what he knew to be true.
2013-08-23Bitcoin-Qt: extend some checks for valid model pointersPhilip Kaufmann
2013-08-23Bitcoin-Qt: tweak Qt walletXXX.cpp/h codePhilip Kaufmann
WalletView: - add new signal showNormalIfMinimized() - emit the new signal in handleURI() to fix a bug, preventing the main window to show up when using bitcoin: URIs WalletStack: - connect the showNormalIfMinimized() signal from WalletView with the showNormalIfMinimized() slot in BitcoinGUI - rework setCurrentWallet() to return a bool - add check for valid walletModel in addWallet() - add missing gui attribute initialisation in constructor WalletFrame: - remove unused or unneded class attributes gui and clientModel - add a check for valid clientModel in setClientModel() General: - small code formatting changes
2013-08-22Merge pull request #2539 from gavinandresen/paymentrequestGavin Andresen
Payment Protocol Work
2013-08-22Payment Protocol: X509-validated payment requestsGavin Andresen
Add support for a Payment Protocol to Bitcoin-Qt. Payment messages are protocol-buffer encoded and communicated over http(s), so this adds a dependency on the Google protocol buffer library, and requires Qt with OpenSSL support.
2013-08-22Route qDebug() messages to debug.logGavin Andresen
2013-08-22Rework when payment server is startedGavin Andresen
2013-08-22update SelectParamsFromCommandLine() handling/orderPhilip Kaufmann
- move SelectParamsFromCommandLine() from init.cpp to bitcoin.cpp to allow to use TestNet() for Bitcoin-Qt instead of GetBoolArg("-testnet", false) - change order in bitcoind.cpp to match bitcoin.cpp functionality - hamonize error message strings for missing datadir and failing SelectParamsFromCommandLine() in bitcoin.cpp and bitcoind.cpp - use TestNet() call in splashscreen.cpp
2013-08-22Refactor: Move GetAccountAddresses to CWalletGavin Andresen
2013-08-22Refactor: CAddressBookData for mapAddressBookGavin Andresen
Straight refactor, so mapAddressBook stores a CAddressBookData (which just contains a std::string) instead of a std::string. Preparation for payment protocol work, which will add the notion of refund addresses to the address book.
2013-08-22GetDataDir(): cache paths for each network separatelyGavin Andresen
2013-08-22Reject dust amounts during validationGavin Andresen
Replaces the validation check for "amount == 0" with an isDust check, so very small output amounts are caught before the wallet is unlocked, a transaction is created, etc.
2013-08-21translations update for 0.8.4Philip Kaufmann
- update translation master files - include current translations from Transifex - add several new languages - fix a bug in bitcoin.qrc, which prevents some languages from beeing used (wrong file extension .ts instead of .qm was used)
2013-08-20Merge pull request #2919 from gmaxwell/bloom_fasterGavin Andresen
Update the bloom state on the real object, not the temporary one.
2013-08-20Update the bloom state on the real object, not the temporary one.Gregory Maxwell
This resulted in just passing all transactions to filtered wallets which worked surprisingly well, except where it didn't.
2013-08-20Merge pull request #2915 from petertodd/murmurhash-testsGavin Andresen
Add MurmurHash3() unit test
2013-08-20Merge pull request #2914 from gmaxwell/bloom_fasterGavin Andresen
Performance optimization for bloom filters.
2013-08-20Merge leveldb subtree change.Pieter Wuille
* On Mac OS X fsync does not guarantee write to disk. Use fcntl F_FULLFSYNC instead.
2013-08-20Add MurmurHash3() unit testPeter Todd
Useful as a source of test vectors to anyone re-implementing bloom filters.
2013-08-20Performance optimization for bloom filters.Gregory Maxwell
This reduces a peer's ability to attack network resources by using a full bloom filter, but without reducing the usability of bloom filters. It sets a default match everything filter for peers and it generalizes a prior optimization to cover more cases.
2013-08-20Checkpoint at block 250,000Gavin Andresen
2013-08-19makefile.mingw: Fix Win32 RPC Crashes.phelixbtc
https://github.com/bitcoin/bitcoin/commit/8864019f6d88b13d3442843d9e6ebeb8dd938831
2013-08-18Merge commit '84d6d69fc69662b2709fffbeaf3c3b4f53c535b1'Pieter Wuille
2013-08-15Merge pull request #2903 from Michagogo/listsinceblock-helpGavin Andresen
Clarified the listsinceblock help test
2013-08-15Merge pull request #2891 from gavinandresen/leveldb_printerrorGavin Andresen
Use HandleError() consistently to handle leveldb errors
2013-08-15Merge pull request #2880 from gavinandresen/test_numequalGavin Andresen
More unit tests for OP_NUMEQUAL
2013-08-15Merge pull request #2886 from gavinandresen/rpctimingGavin Andresen
Make RPC password resistant to timing attacks
2013-08-15Merge pull request #2876 from sipa/fixreorgcrashGavin Andresen
Fix reorganization crash
2013-08-15Merge pull request #2131 from sipa/evensGregory Maxwell
Only create signatures with even S, and verification mode to check.
2013-08-15Merge pull request #2829 from sipa/bip32Gavin Andresen
BIP 32 derivation + test vectors
2013-08-16Only create signatures with even S, and verification mode to check.Pieter Wuille
To fix a minor malleability found by Sergio Lerner (reported here: https://bitcointalk.org/index.php?topic=8392.msg1245898#msg1245898) The problem is that if (R,S) is a valid ECDSA signature for a given message and public key, (R,-S) is also valid. Modulo N (the order of the secp256k1 curve), this means that both (R,S) and (R,N-S) are valid. Given that N is odd, S and N-S have a different lowest bit. We solve the problem by forcing signatures to have an even S value, excluding one of the alternatives. This commit just changes the signing code to always produce even S values, and adds a verification mode to check it. This code is not enabled anywhere yet. Existing tests in key_tests.cpp verify that the produced signatures are still valid.
2013-08-15Mempool consistency checkPieter Wuille
2013-08-15Fix non-standard disconnected transactions causing mempool orphansPieter Wuille
2013-08-16Clarified the listsinceblock help testMicha
Specifically, the fact that the command relates to wallet transactions.
2013-08-14Merge pull request #2776 from jgarzik/keypoolsizeGavin Andresen
RPC: keypoolrefill now permits optional size parameter, to bump keypool
2013-08-12Merge pull request #2658 from TheBlueMatt/forkalertGavin Andresen
Detect any sufficiently long fork and alert the user just like any other alert