Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
Clarified the listsinceblock help test
|
|
Use HandleError() consistently to handle leveldb errors
|
|
More unit tests for OP_NUMEQUAL
|
|
Make RPC password resistant to timing attacks
|
|
Fix reorganization crash
|
|
Only create signatures with even S, and verification mode to check.
|
|
BIP 32 derivation + test vectors
|
|
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.
|
|
|
|
|
|
Specifically, the fact that the command
relates to wallet transactions.
|
|
RPC: keypoolrefill now permits optional size parameter, to bump keypool
|
|
Detect any sufficiently long fork and alert the user just like any other alert
|
|
|
|
|
|
|
|
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.
|
|
remove windows.h from crypter.cpp includes
|
|
Replace with existing constants
|
|
|
|
Simplify storage of orphan transactions, fix CVE-2013-4627
|
|
- to match all other translatable strings in init.cpp and to simplify
translations via Transifex
|
|
|
|
translations update for Transifex 2013-08-05
|
|
|
|
Add unittests for multiple ELSEs in a row
|
|
Prepare for mempool testing in pull-tester and fix multi-block transaction resurrection
|
|
cleanup compat.h Windows stuff
|
|
exclude CreatePidFile() function on WIN32 as it is unused
|
|
Bitcoin-Qt: save and restore position of debug window
|
|
fix string in intro.cpp, which is untranslatable on Transifex
|
|
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.
|
|
This reverts commit c40a5aaaf484855a4350fd702e8e72fd21a68155.
|
|
fix possible infinite loop in intro.cpp thread
|
|
Public functions referenced elsewhere are added to miner.h.
|
|
* Fix UpdateCoins() definition in main.h
* Remove pwalletMain reference from BitcoinMiner(), as it is passed
a wallet argument.
|
|
Replace the loop macro with while (true). The #define caused
problems for Qt.
|
|
- seems the code tags in the original string cause errors, when using the
Transifex site for translation
|
|
- 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
|
|
|
|
Bugfix: Store last/next wallet resend times unique per CWallet object
|
|
Leveldb subtree at 1 12 0
|
|
- 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()
|
|
Bitcoin-Qt: fix QApplication includes to match our include defaults
|
|
update bitcoin_en.ts to current master (2013-07-23)
|
|
let user select wallet file with -wallet=foo.dat
|
|
- remove an unneeded windows.h include (comes from allocators.h, which is
included in crypter.h)
|
|
- 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
|