aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-10-09Fix bad merge, pszDataDir duplicationGavin Andresen
2012-10-09Merge branch 'wallet_exceptions' of github.com:gavinandresen/bitcoin-gitGavin Andresen
2012-10-09Merge branch 'crash_at_exit' of github.com:gavinandresen/bitcoin-gitGavin Andresen
2012-10-08Merge pull request #1915 from Diapolo/Qt5_compat_leftoverWladimir J. van der Laan
change Q_WS_MAC -> Q_OS_MAC (Qt5 compatibility)
2012-10-08Merge pull request #1834 from jgarzik/kickblocksJeff Garzik
P2P: Do not request blocks from peers with fewer blocks than us
2012-10-08Revert "Send 'mempool' P2P command at the start of each P2P session"Jeff Garzik
Fat-fingered on github, and merged this too early. This reverts commit 22f9b069035c9ba0416a62714db167eea5ba762f.
2012-10-08Merge pull request #1833 from jgarzik/mempool-queryJeff Garzik
Send 'mempool' P2P command at the start of each P2P session
2012-10-08Don't try to verify a non-existent wallet.datGavin Andresen
2012-10-08Handle corrupt wallets gracefully.Gavin Andresen
Corrupt wallets used to cause a DB_RUNRECOVERY uncaught exception and a crash. This commit does three things: 1) Runs a BDB verify early in the startup process, and if there is a low-level problem with the database: + Moves the bad wallet.dat to wallet.timestamp.bak + Runs a 'salvage' operation to get key/value pairs, and writes them to a new wallet.dat + Continues with startup. 2) Much more tolerant of serialization errors. All errors in deserialization are reported by tolerated EXCEPT for errors related to reading keypairs or master key records-- those are reported and then shut down, so the user can get help (or recover from a backup). 3) Adds a new -salvagewallet option, which: + Moves the wallet.dat to wallet.timestamp.bak + extracts ONLY keypairs and master keys into a new wallet.dat + soft-sets -rescan, to recreate transaction history This was tested by randomly corrupting testnet wallets using a little python script I wrote (https://gist.github.com/3812689)
2012-10-08Handle incompatible BDB environmentsGavin Andresen
Before, opening a -datadir that was created with a new version of Berkeley DB would result in an un-caught DB_RUNRECOVERY exception. After these changes, the error is caught and the user is told that there is a problem and is told how to try to recover from it.
2012-10-08Merge branch 'BDB_DOWNGRADE'Gavin Andresen
2012-10-08Handle incompatible BDB environmentsGavin Andresen
Before, opening a -datadir that was created with a new version of Berkeley DB would result in an un-caught DB_RUNRECOVERY exception. After these changes, the error is caught and the user is told that there is a problem and is told how to try to recover from it.
2012-10-07change Q_WS_MAC -> Q_OS_MAC (Qt5 compatibility)Philip Kaufmann
- I missed that one in my former pull
2012-10-07Merge pull request #1859 from Diapolo/proxy_locksPieter Wuille
add LOCK() for proxy related data-structures
2012-10-05Merge pull request #1906 from laanwj/2012_10_help_stdoutWladimir J. van der Laan
Send --help message to stdout i.s.o stderr
2012-10-04Merge pull request #1905 from laanwj/2012_10_startup_gui_errorWladimir J. van der Laan
When datadir missing, show messagebox instead of printing error to stderr
2012-10-04Merge pull request #1908 from laanwj/2012_10_rpcerrorsPieter Wuille
Document RPC error codes
2012-10-04Avoid crashes at shutdown due to printf() in global destructors.Gavin Andresen
2012-10-04Add constants for HTTP status codesWladimir J. van der Laan
2012-10-04Document RPC error codesWladimir J. van der Laan
Replace all "magic values" in RPCError(...) by constants.
2012-10-04When datadir missing, show messagebox instead of printing error to stderrWladimir J. van der Laan
2012-10-04Merge pull request #1907 from laanwj/2012_10_translationsWladimir J. van der Laan
Translation update for 0.7.1
2012-10-04add LOCK() for proxy related data-structuresPhilip Kaufmann
- fix #1560 by properly locking proxy related data-structures - update GetProxy() and introduce GetNameProxy() to be able to use a thread-safe local copy from proxyInfo and nameproxyInfo - update usage of GetProxy() all over the source to match the new behaviour, as it now fills a full proxyType object - rename GetNameProxy() into HaveNameProxy() to be more clear
2012-10-04Pull changed translations from transifexWladimir J. van der Laan
There was also a new translation available, "ja" (Japanese), however almost nothing was filled in yet, so I'm not including it for this release.
2012-10-04Translation update for 0.7.1Wladimir J. van der Laan
Also clarify translation process that the package `gettext` is needed to run string extractor.
2012-10-04Send --help message to stdout i.s.o stderrWladimir J. van der Laan
This allows fun stuff such as `bitcoin --help | less`, and more easy piping to files. Looking at other tools such as bash, gcc, they all send their help text to stdout.
2012-10-01Merge branch '2012_09_fixwformat' of github.com:laanwj/bitcoinGavin Andresen
2012-10-01Merge branch 'master' of github.com:runeksvendsen/bitcoinGavin Andresen
2012-10-01Merge pull request #1893 from kjj2/issue1884Gavin Andresen
Issue 1884: Add a backup warning to the encryptwallet RPC command
2012-10-01Revert "Remove -Wformat* warnings from makefiles"Wladimir J. van der Laan
This reverts commit 14ac0adcc7c0224a467e38bbd4ebf39d824ada8d.
2012-10-01fix -Wformat warnings all over the sourcePhilip Kaufmann
2012-10-01Extend printf warnings to error()Wladimir J. van der Laan
2012-10-01Merge branch '2012_09_base58tests' of github.com:laanwj/bitcoinGavin Andresen
2012-09-30Merge pull request #1886 from Diapolo/fix_Win_URI_assocWladimir J. van der Laan
Windows: fix URI association setting in registry
2012-10-01data-driven base58 CBitcoinAddress/CBitcoinSecret testsWladimir J. van der Laan
Arbitrary numbers of test vectors can be generated using the script `gen_base58_test_vectors.py`.
2012-09-30When encrypting the wallet, warn user that old backups will become useless.Rune K. Svendsen
Don't include HTML in translation strings. Do split the huge message over several lines. Prettier lines
2012-09-30Add a backup warning to the encryptwallet RPC commandkjj2
2012-09-30Merge pull request #1891 from Diapolo/printf_format_defsWladimir J. van der Laan
harmonize printf format characters
2012-09-30harmonize printf format charactersPhilip Kaufmann
- remove the "%" character from format characters for (s)size_t and ptrdiff_t and harmonize them with the ones for int64 and uint64
2012-09-29Windows: fix URI association setting in registryPhilip Kaufmann
- fix for #1877 - fix was reported to work via https://bitcointalk.org/index.php?topic=110243.msg1230418#msg1230418
2012-09-29Merge pull request #1875 from hsoft/masterWladimir J. van der Laan
Fix compilation with clang under OS X
2012-09-29Merge pull request #1881 from xanatos/TestsWladimir J. van der Laan
Removed a duplicated identical if
2012-09-29Merge pull request #1864 from Diapolo/Qt_4.8.2Wladimir J. van der Laan
switch to Qt 4.8.2 for Windows builds
2012-09-29Merge pull request #1851 from fanquake/OpenSSL-1.0.1cWladimir J. van der Laan
Update to use OpenSSL 1.0.1c
2012-09-29Merge pull request #1883 from sipa/norandstackWladimir J. van der Laan
Remove stack randomization
2012-09-28Merge pull request #1871 from jgarzik/wallet-deadcodeJeff Garzik
walletdb.h: remove dead code
2012-09-28Remove stack randomizationPieter Wuille
2012-09-28Merge pull request #1862 from kjj2/testportsPieter Wuille
Fix: when testnet=1 specified, change default RPC port to 18332
2012-09-28toHTML won't add empty wtx.mapValue elementsxanatos
As the code was before, toHTML added empty elements to mapValue to check for their existance. Now first it check for their existance and then for their non-emptiness. Removed a duplicated identical if There are two equal ifs, one inside another. If the first one is true, then the second one is true.
2012-09-27Merge pull request #1868 from maaku/and_or_xor_sign_extensionWladimir J. van der Laan
Documented bug in sign-extension behavior of opcodes OP_AND, OP_OR, and OP_XOR