aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-10-11Merge pull request #1921 from laanwj/2012_10_init_useafterfreeWladimir J. van der Laan
Fix a use-after-free problem in initialization (#1920)
2012-10-12Fix a use-after-free problem in initialization (#1920)Wladimir J. van der Laan
Don't store the result of c_str(). Luckily, this only affects logging, though it could crash or leak sensitive data to the log in rare cases.
2012-10-11Merge pull request #1879 from sipa/fdatasyncWladimir J. van der Laan
Use fdatasync instead of fsync on supported platforms
2012-10-11Merge pull request #1913 from sipa/noi2pWladimir J. van der Laan
Remove I2P support from netbase
2012-10-11Merge pull request #1900 from Diapolo/optionsmodel_gettersWladimir J. van der Laan
move most explicit getters in optionsmodel to header
2012-10-11Merge pull request #1911 from Diapolo/fix_signed_unsignedWladimir J. van der Laan
fix wrong (signed/unsigned) printf format specifier in bitcoinrpc.cpp
2012-10-11Merge pull request #1901 from laanwj/2012_10_remove_strlcpyWladimir J. van der Laan
get rid of strlcpy.h
2012-10-090.7.1 release notesv0.7.1rc1v0.7.1Gavin Andresen
2012-10-09Bump versions for 0.7.1 releaseGavin Andresen
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-07Use fdatasync instead of fsync on supported platformsPieter Wuille
2012-10-07Remove I2P support from netbasePieter Wuille
I2P apparently needs 256 bits to store a fully routable address. Garlicat requires a centralized lookup service to map the 80-bit addresses to fully routable ones (as far as I understood), so that's not really usable in our situation. To support I2P routing and peer exchange for it, another solution is needed. This will most likely imply a network protocol change, and extension of the 'addr' message.
2012-10-07get rid of strlcpy.hWladimir J. van der Laan
Don't use hand-rolled string manipulation routine with a fixed buffer in the bitcoin core, instead make use of c++ strings and boost.
2012-10-05fix wrong (signed/unsigned) printf format specifier in bitcoinrpc.cppPhilip Kaufmann
- also includes the required bitcoinstrings.cpp update
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-02move most explicit getters in optionsmodel to headerPhilip Kaufmann
- is more consistent and saves quite some lines of code
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