aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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 pull request #2916 from sipa/leveldb-osxfsyncGavin Andresen
Import OSX fsync change from LevelDB subtree
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-20Squashed 'src/leveldb/' changes from a02ddf9..be1b0ffPieter Wuille
be1b0ff On Mac OS X fsync does not guarantee write to disk. Use fcntl F_FULLFSYNC instead. git-subtree-dir: src/leveldb git-subtree-split: be1b0ff1fcd6ad820a7fd111ac671fb51cc68001
2013-08-20Add MurmurHash3() unit testPeter Todd
Useful as a source of test vectors to anyone re-implementing bloom filters.
2013-08-20Merge pull request #2913 from gavinandresen/checkpoint_250kJeff Garzik
Checkpoint at block 250,000
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-19Merge pull request #2911 from phelixbtc/patch-4Gavin Andresen
makefile.mingw: Fix Win32 RPC Crashes.
2013-08-19makefile.mingw: Fix Win32 RPC Crashes.phelixbtc
https://github.com/bitcoin/bitcoin/commit/8864019f6d88b13d3442843d9e6ebeb8dd938831
2013-08-17Merge pull request #2907 from sipa/leveldb-norippleGregory Maxwell
Switch to cleaned-up LevelDB 1.12 branch.
2013-08-18Squashed 'src/leveldb/' changes from ae6c262..a02ddf9Pieter Wuille
a02ddf9 Added GNU/kFreeBSD kernel name (TARGET_OS) 8487468 CondVar::SignalAll was broken, leading to deadlocks on Windows builds. http://code.google.com/p/leveldb/issues/detail?id=149 f6d84d1 Allow files to be opened for reading multiple times cb8e3f7 Checking whether closing succeeds d5317e8 Print actual Win32 error that occurred on file creation failure. 907f308 Port leveldb to MinGW32 9def2bf Mingw support for Windows LevelDB port 0a7b074 Pre-Vista leveldb::port::InitOnce implementation 31a2b09 Native Windows LevelDB port 058a035 Remove Snappy support 5bd76dc Release leveldb 1.12 7b094f1 Release leveldb 1.11 28dad91 Release leveldb 1.10 514c943 Make DB::Open fail if sst files are missing. d84c825 Fix corruption bug found and analyzed by dhruba@gmail.com ea2e919 added utility to dump leveldb files REVERT: ae6c262 Merge branch 'leveldb' into ripple-fork REVERT: 28fa222 Looks like a bit more delay is needed to smooth the latency. REVERT: a18f3e6 Tidy up JobQueue, add ripple_core module REVERT: ab82e57 Release leveldb 1.12 REVERT: 02c6259 Release leveldb 1.11 REVERT: 5bbb544 Rate limit compactions with a 25ms pause after each complete file. REVERT: 8c29c47 LevelDB issue 178 fix: cannot resize a level 0 compaction set REVERT: 18b245c Added GNU/kFreeBSD kernel name (TARGET_OS) REVERT: 8be9d12 CondVar::SignalAll was broken, leading to deadlocks on Windows builds. http://code.google.com/p/leveldb/issues/detail?id=149 REVERT: c9fc070 Upgrade LevelDB to 1.10.0, mostly for better write stall logging. REVERT: 8215b15 Tweak to variable name to support unity build REVERT: aca1ffc Allow files to be opened for reading multiple times REVERT: 693a70c Checking whether closing succeeds REVERT: 0144d04 Print actual Win32 error that occurred on file creation failure. REVERT: 43ed517 Fix corruption bug found and analyzed by dhruba@gmail.com REVERT: 413c74c added utility to dump leveldb files REVERT: 96eda85 Port leveldb to MinGW32 REVERT: 0967260 Mingw support for Windows LevelDB port REVERT: ee3f9bd Pre-Vista leveldb::port::InitOnce implementation REVERT: f5d0a41 Native Windows LevelDB port REVERT: 28b35f1 Remove Snappy support git-subtree-dir: src/leveldb git-subtree-split: a02ddf9b14d145e88185ee209ab8b01d8826663a
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-14Merge pull request #2877 from gavinandresen/qt_unittest_makefileGavin Andresen
Compile into build_test when creating bitcoin-qt_test
2013-08-14Merge pull request #2899 from super3/masterGavin Andresen
Removed duplicate /doc files.
2013-08-14Removed duplicate files.super3
Left behind after the change to Markdown.
2013-08-12Merge pull request #2658 from TheBlueMatt/forkalertGavin Andresen
Detect any sufficiently long fork and alert the user just like any other alert
2013-08-12Merge pull request #2892 from r000n/masterGavin Andresen
Add missing 0x prefix in chainparams.cpp
2013-08-12Add missing 0x prefix in chainparams.cppRoman Mindalev
2013-08-12Merge pull request #2890 from cozz/cozz1Gavin Andresen
do not call BuildMerkleTree() unnecessarily twice
2013-08-12Use HandleError() consistently to handle leveldb errorsGavin Andresen
2013-08-10do not call BuildMerkleTree() unnecessarily twiceCozz Lovan
2013-08-08Make RPC password resistant to timing attacksGavin Andresen
Fixes issue#2838; this is a tweaked version of pull#2845 that should not leak the length of the password and is more generic, in case we run into other situations where we need timing-attack-resistant comparisons.
2013-08-08Merge pull request #2856 from Diapolo/crypter_headersGavin Andresen
remove windows.h from crypter.cpp includes
2013-08-07Merge pull request #2883 from codler/patch-5Gavin Andresen
Replace with existing constants
2013-08-07Use existing RPC_INVALID_PARAMETER constantHan Lin Yap
2013-08-06Merge pull request #2871 from gavinandresen/simplify_maporphanGavin Andresen
Simplify storage of orphan transactions, fix CVE-2013-4627