Gavin Andresen
3f20f82209
Merge pull request #2880 from gavinandresen/test_numequal
...
More unit tests for OP_NUMEQUAL
12 years ago
Gavin Andresen
a0bb001431
Merge pull request #2886 from gavinandresen/rpctiming
...
Make RPC password resistant to timing attacks
12 years ago
Gavin Andresen
9be4cff5f6
Merge pull request #2876 from sipa/fixreorgcrash
...
Fix reorganization crash
12 years ago
Gregory Maxwell
47491a90b6
Merge pull request #2131 from sipa/evens
...
Only create signatures with even S, and verification mode to check.
12 years ago
Gavin Andresen
13d3b1c144
Merge pull request #2829 from sipa/bip32
...
BIP 32 derivation + test vectors
12 years ago
Pieter Wuille
a81cd96805
Only create signatures with even S, and verification mode to check.
...
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.
12 years ago
Pieter Wuille
2461aba1ac
Mempool consistency check
12 years ago
Pieter Wuille
f0784ac470
Fix non-standard disconnected transactions causing mempool orphans
12 years ago
Micha
9afe5a2c32
Clarified the listsinceblock help test
...
Specifically, the fact that the command
relates to wallet transactions.
12 years ago
Gavin Andresen
4323bfeafd
Merge pull request #2776 from jgarzik/keypoolsize
...
RPC: keypoolrefill now permits optional size parameter, to bump keypool
12 years ago
Gavin Andresen
5c28d820b6
Merge pull request #2877 from gavinandresen/qt_unittest_makefile
...
Compile into build_test when creating bitcoin-qt_test
12 years ago
Gavin Andresen
5738877bed
Merge pull request #2899 from super3/master
...
Removed duplicate /doc files.
12 years ago
super3
c6cb40f04b
Removed duplicate files.
...
Left behind after the change to Markdown.
12 years ago
Gavin Andresen
8fa9b5cc45
Merge pull request #2658 from TheBlueMatt/forkalert
...
Detect any sufficiently long fork and alert the user just like any other alert
12 years ago
Gavin Andresen
6fc537f490
Merge pull request #2892 from r000n/master
...
Add missing 0x prefix in chainparams.cpp
12 years ago
Roman Mindalev
2b6a8993fb
Add missing 0x prefix in chainparams.cpp
12 years ago
Gavin Andresen
ac1bd701ba
Merge pull request #2890 from cozz/cozz1
...
do not call BuildMerkleTree() unnecessarily twice
12 years ago
Gavin Andresen
b35e993200
Use HandleError() consistently to handle leveldb errors
12 years ago
Cozz Lovan
c7fa1a3586
do not call BuildMerkleTree() unnecessarily twice
12 years ago
Gavin Andresen
42656ea2e5
Make RPC password resistant to timing attacks
...
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.
12 years ago
Gavin Andresen
6cc766fa55
Merge pull request #2856 from Diapolo/crypter_headers
...
remove windows.h from crypter.cpp includes
12 years ago
Gavin Andresen
9d23db58c1
Merge pull request #2883 from codler/patch-5
...
Replace with existing constants
12 years ago
Han Lin Yap
1511769239
Use existing RPC_INVALID_PARAMETER constant
12 years ago
Gavin Andresen
ddd0e2f616
Merge pull request #2871 from gavinandresen/simplify_maporphan
...
Simplify storage of orphan transactions, fix CVE-2013-4627
12 years ago
Gavin Andresen
1188a33d18
Merge pull request #2882 from codler/patch-4
...
Fix typo
12 years ago
Han Lin Yap
b3915841b0
fix typo in README.md
12 years ago
Gavin Andresen
7b22c8e8ca
Merge pull request #2881 from Diapolo/translations_rem_newline
...
remove a newline from a string in init.cpp
12 years ago
Philip Kaufmann
265e2657b4
remove a newline from a string in init.cpp
...
- to match all other translatable strings in init.cpp and to simplify
translations via Transifex
12 years ago
Gavin Andresen
bdd34642dc
More unit tests for NUMEQUAL
12 years ago
Wladimir J. van der Laan
e07d9f77e9
Merge pull request #2879 from Diapolo/translations
...
translations update for Transifex 2013-08-05
12 years ago
Philip Kaufmann
0f1c8f23eb
translations update for Transifex 2013-08-05
12 years ago
Gavin Andresen
ae759b3788
Merge pull request #2849 from petertodd/if-else-else
...
Add unittests for multiple ELSEs in a row
12 years ago
Gavin Andresen
15047f5af0
Merge pull request #2851 from TheBlueMatt/master
...
Prepare for mempool testing in pull-tester and fix multi-block transaction resurrection
12 years ago
Gavin Andresen
2af267c150
Merge pull request #2857 from Diapolo/compat_cleanup
...
cleanup compat.h Windows stuff
12 years ago
Gavin Andresen
e622f3f195
Merge pull request #2855 from Diapolo/guard_CreatePidFile
...
exclude CreatePidFile() function on WIN32 as it is unused
12 years ago
Gavin Andresen
a4ae02969e
Merge pull request #2827 from Diapolo/rpccon_winpos
...
Bitcoin-Qt: save and restore position of debug window
12 years ago
Gavin Andresen
d687aaa311
Merge pull request #2865 from Diapolo/fix_intro_translation
...
fix string in intro.cpp, which is untranslatable on Transifex
12 years ago
Gavin Andresen
923602f11d
Compile into build_test when creating bitcoin-qt_test
12 years ago
Gavin Andresen
159bc48193
Simplify storage of orphan transactions
...
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.
12 years ago
Gavin Andresen
8f6f92c72b
Revert "Truncate oversize 'tx' messages before relaying/storing."
...
This reverts commit c40a5aaaf4
.
12 years ago
Wladimir J. van der Laan
6d89611c3a
Merge pull request #2850 from Diapolo/fix_intro
...
fix possible infinite loop in intro.cpp thread
12 years ago
Jeff Garzik
3b2ed514d3
Merge pull request #2867 from jgarzik/miner-sep
...
Move internal miner to separate miner.cpp module
12 years ago
Jeff Garzik
d247a5d130
Move internal miner/block creation to separate miner.cpp module.
...
Public functions referenced elsewhere are added to miner.h.
12 years ago
Jeff Garzik
18946846d5
Minor miner fixes (hey hey it's fun to say)
...
* Fix UpdateCoins() definition in main.h
* Remove pwalletMain reference from BitcoinMiner(), as it is passed
a wallet argument.
12 years ago
Jeff Garzik
8351d55cd3
Merge pull request #2866 from gavinandresen/loopdefine
...
Remove #define loop from util.h
12 years ago
Gavin Andresen
050d2e953f
Remove #define loop from util.h
...
Replace the loop macro with while (true). The #define caused
problems for Qt.
12 years ago
Philip Kaufmann
bef9f573b5
fix string in intro.cpp, which is untranslatable on Transifex
...
- seems the code tags in the original string cause errors, when using the
Transifex site for translation
12 years ago
Philip Kaufmann
c431e9f1f0
Bitcoin-Qt: save and restore position of debug window
...
- 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
12 years ago
Pieter Wuille
c4316fefa5
Make sure new wallet variables are initialized
12 years ago
Pieter Wuille
4bb77b4963
Merge pull request #2541 from luke-jr/bugfix_wallet_resend
...
Bugfix: Store last/next wallet resend times unique per CWallet object
12 years ago