aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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
2013-08-12Add missing 0x prefix in chainparams.cppRoman Mindalev
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
2013-08-06remove a newline from a string in init.cppPhilip Kaufmann
- to match all other translatable strings in init.cpp and to simplify translations via Transifex
2013-08-06More unit tests for NUMEQUALGavin Andresen
2013-08-05Merge pull request #2879 from Diapolo/translationsWladimir J. van der Laan
translations update for Transifex 2013-08-05
2013-08-05translations update for Transifex 2013-08-05Philip Kaufmann
2013-08-05Merge pull request #2849 from petertodd/if-else-elseGavin Andresen
Add unittests for multiple ELSEs in a row
2013-08-05Merge pull request #2851 from TheBlueMatt/masterGavin Andresen
Prepare for mempool testing in pull-tester and fix multi-block transaction resurrection
2013-08-05Merge pull request #2857 from Diapolo/compat_cleanupGavin Andresen
cleanup compat.h Windows stuff
2013-08-05Merge pull request #2855 from Diapolo/guard_CreatePidFileGavin Andresen
exclude CreatePidFile() function on WIN32 as it is unused
2013-08-05Merge pull request #2827 from Diapolo/rpccon_winposGavin Andresen
Bitcoin-Qt: save and restore position of debug window
2013-08-05Merge pull request #2865 from Diapolo/fix_intro_translationGavin Andresen
fix string in intro.cpp, which is untranslatable on Transifex
2013-08-02Simplify storage of orphan transactionsGavin Andresen
Orphan transactions were stored as a CDataStream pointer; this changes the mapOrphanTransactions data structures to store orphans as a CTransaction. This also fixes CVE-2013-4627 by always re-serializing transactions before relaying them.
2013-08-02Revert "Truncate oversize 'tx' messages before relaying/storing."Gavin Andresen
This reverts commit c40a5aaaf484855a4350fd702e8e72fd21a68155.
2013-07-31Merge pull request #2850 from Diapolo/fix_introWladimir J. van der Laan
fix possible infinite loop in intro.cpp thread
2013-07-31Move internal miner/block creation to separate miner.cpp module.Jeff Garzik
Public functions referenced elsewhere are added to miner.h.
2013-07-31Minor miner fixes (hey hey it's fun to say)Jeff Garzik
* Fix UpdateCoins() definition in main.h * Remove pwalletMain reference from BitcoinMiner(), as it is passed a wallet argument.
2013-07-31Remove #define loop from util.hGavin Andresen
Replace the loop macro with while (true). The #define caused problems for Qt.
2013-07-29fix string in intro.cpp, which is untranslatable on TransifexPhilip Kaufmann
- seems the code tags in the original string cause errors, when using the Transifex site for translation
2013-07-29Bitcoin-Qt: save and restore position of debug windowPhilip Kaufmann
- move the code for saving and restoring window positions from BitcoinGUI to GUIUtil, make it more generic and also use it for saving/restoring debug window positions
2013-07-29Make sure new wallet variables are initializedPieter Wuille
2013-07-28Merge pull request #2541 from luke-jr/bugfix_wallet_resendPieter Wuille
Bugfix: Store last/next wallet resend times unique per CWallet object
2013-07-28Merge pull request #2702 from vinniefalco/leveldb-subtree-at-1-10-0Pieter Wuille
Leveldb subtree at 1 12 0
2013-07-26fix possible infinite loop in intro.cpp threadPhilip Kaufmann
- it was possible to trigger an infinite loop in FreespaceChecker::check() by simply removing the drive letter on Windows (which leads to an infinite loop in the FreespaceChecker thread) - this was caused by not checking if we make progress with parentDir.parent_path()
2013-07-25Merge pull request #2847 from Diapolo/fix_QApplication_includeWladimir J. van der Laan
Bitcoin-Qt: fix QApplication includes to match our include defaults
2013-07-25Merge pull request #2848 from Diapolo/translationsWladimir J. van der Laan
update bitcoin_en.ts to current master (2013-07-23)
2013-07-24Merge pull request #1889 from tcatm/multi-walletGavin Andresen
let user select wallet file with -wallet=foo.dat
2013-07-24remove windows.h from crypter.cpp includesPhilip Kaufmann
- remove an unneeded windows.h include (comes from allocators.h, which is included in crypter.h)
2013-07-24cleanup compat.h Windows stuffPhilip Kaufmann
- remove an unneded include for mswsock.h as we use winsock2.h anyway - move typedef u_int SOCKET; into the #ifndef WIN32 part - remove typedef int socklen_t; as this is defined in ws2tcpip.h