Wladimir J. van der Laan
089b10a28a
Merge pull request #1911 from Diapolo/fix_signed_unsigned
...
fix wrong (signed/unsigned) printf format specifier in bitcoinrpc.cpp
12 years ago
Wladimir J. van der Laan
ac0ad5dc63
Merge pull request #1901 from laanwj/2012_10_remove_strlcpy
...
get rid of strlcpy.h
12 years ago
Gavin Andresen
eb49457ff2
0.7.1 release notes
12 years ago
Gavin Andresen
1d1f32d16d
Bump versions for 0.7.1 release
12 years ago
Gavin Andresen
de038acd96
Fix bad merge, pszDataDir duplication
12 years ago
Gavin Andresen
673021410f
Merge branch 'wallet_exceptions' of github.com:gavinandresen/bitcoin-git
12 years ago
Gavin Andresen
cf64347d70
Merge branch 'crash_at_exit' of github.com:gavinandresen/bitcoin-git
12 years ago
Wladimir J. van der Laan
0a5ce30bc1
Merge pull request #1915 from Diapolo/Qt5_compat_leftover
...
change Q_WS_MAC -> Q_OS_MAC (Qt5 compatibility)
12 years ago
Jeff Garzik
de2b9459bd
Merge pull request #1834 from jgarzik/kickblocks
...
P2P: Do not request blocks from peers with fewer blocks than us
12 years ago
Jeff Garzik
b855abb8db
Revert "Send 'mempool' P2P command at the start of each P2P session"
...
Fat-fingered on github, and merged this too early.
This reverts commit 22f9b06903
.
12 years ago
Jeff Garzik
56caa38a67
Merge pull request #1833 from jgarzik/mempool-query
...
Send 'mempool' P2P command at the start of each P2P session
12 years ago
Gavin Andresen
d0b3e77a08
Don't try to verify a non-existent wallet.dat
12 years ago
Gavin Andresen
eed1785f70
Handle corrupt wallets gracefully.
...
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 )
12 years ago
Gavin Andresen
8d5f461cb6
Handle incompatible BDB environments
...
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.
12 years ago
Gavin Andresen
c2bb42168b
Merge branch 'BDB_DOWNGRADE'
12 years ago
Gavin Andresen
e4954b1297
Handle incompatible BDB environments
...
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.
12 years ago
Philip Kaufmann
ada2a39691
change Q_WS_MAC -> Q_OS_MAC (Qt5 compatibility)
...
- I missed that one in my former pull
12 years ago
Pieter Wuille
43de64949c
Merge pull request #1859 from Diapolo/proxy_locks
...
add LOCK() for proxy related data-structures
12 years ago
Wladimir J. van der Laan
6032e4f4e7
get rid of strlcpy.h
...
Don't use hand-rolled string manipulation routine with a fixed
buffer in the bitcoin core, instead make use of c++ strings and boost.
12 years ago
Philip Kaufmann
95e625d235
fix wrong (signed/unsigned) printf format specifier in bitcoinrpc.cpp
...
- also includes the required bitcoinstrings.cpp update
12 years ago
Wladimir J. van der Laan
ee0b648536
Merge pull request #1906 from laanwj/2012_10_help_stdout
...
Send --help message to stdout i.s.o stderr
12 years ago
Wladimir J. van der Laan
a6be58d536
Merge pull request #1905 from laanwj/2012_10_startup_gui_error
...
When datadir missing, show messagebox instead of printing error to stderr
12 years ago
Pieter Wuille
39930ca6ae
Merge pull request #1908 from laanwj/2012_10_rpcerrors
...
Document RPC error codes
12 years ago
Gavin Andresen
cac6b389d1
Avoid crashes at shutdown due to printf() in global destructors.
12 years ago
Wladimir J. van der Laan
285746d3db
Add constants for HTTP status codes
12 years ago
Wladimir J. van der Laan
738835d7b8
Document RPC error codes
...
Replace all "magic values" in RPCError(...) by constants.
12 years ago
Wladimir J. van der Laan
61fd72695f
When datadir missing, show messagebox instead of printing error to stderr
12 years ago
Wladimir J. van der Laan
c0b130b79b
Merge pull request #1907 from laanwj/2012_10_translations
...
Translation update for 0.7.1
12 years ago
Philip Kaufmann
81bbef2609
add LOCK() for proxy related data-structures
...
- 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
12 years ago
Wladimir J. van der Laan
366944431b
Pull changed translations from transifex
...
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.
12 years ago
Wladimir J. van der Laan
f1e262c8e1
Translation update for 0.7.1
...
Also clarify translation process that the package `gettext` is needed to run string extractor.
12 years ago
Wladimir J. van der Laan
bb353618f1
Send --help message to stdout i.s.o stderr
...
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.
12 years ago
Gavin Andresen
0547b02af7
Merge branch '2012_09_fixwformat' of github.com:laanwj/bitcoin
12 years ago
Gavin Andresen
d2cc6f489c
Merge branch 'master' of github.com:runeksvendsen/bitcoin
12 years ago
Gavin Andresen
da6e9fe634
Merge pull request #1893 from kjj2/issue1884
...
Issue 1884: Add a backup warning to the encryptwallet RPC command
12 years ago
Wladimir J. van der Laan
827d8c2e0c
Revert "Remove -Wformat* warnings from makefiles"
...
This reverts commit 14ac0adcc7
.
12 years ago
Philip Kaufmann
d210f4f5b8
fix -Wformat warnings all over the source
12 years ago
Wladimir J. van der Laan
bcc292b22d
Extend printf warnings to error()
12 years ago
Gavin Andresen
00a757375c
Merge branch '2012_09_base58tests' of github.com:laanwj/bitcoin
12 years ago
Wladimir J. van der Laan
02247490f6
Merge pull request #1886 from Diapolo/fix_Win_URI_assoc
...
Windows: fix URI association setting in registry
12 years ago
Wladimir J. van der Laan
d6b13283d1
data-driven base58 CBitcoinAddress/CBitcoinSecret tests
...
Arbitrary numbers of test vectors can be generated using the script
`gen_base58_test_vectors.py`.
12 years ago
Rune K. Svendsen
1bf66fcc0a
When encrypting the wallet, warn user that old backups will become useless.
...
Don't include HTML in translation strings. Do split the huge message over several lines.
Prettier lines
12 years ago
kjj2
31a8b70ee3
Add a backup warning to the encryptwallet RPC command
12 years ago
Wladimir J. van der Laan
2a739598b1
Merge pull request #1891 from Diapolo/printf_format_defs
...
harmonize printf format characters
12 years ago
Philip Kaufmann
9c8dc7caf1
harmonize printf format characters
...
- remove the "%" character from format characters for (s)size_t and
ptrdiff_t and harmonize them with the ones for int64 and uint64
12 years ago
Philip Kaufmann
c8bf315188
Windows: fix URI association setting in registry
...
- fix for #1877
- fix was reported to work via
https://bitcointalk.org/index.php?topic=110243.msg1230418#msg1230418
12 years ago
Wladimir J. van der Laan
018ec85ff7
Merge pull request #1875 from hsoft/master
...
Fix compilation with clang under OS X
12 years ago
Wladimir J. van der Laan
f72fd0e792
Merge pull request #1881 from xanatos/Tests
...
Removed a duplicated identical if
12 years ago
Wladimir J. van der Laan
a5ba586669
Merge pull request #1864 from Diapolo/Qt_4.8.2
...
switch to Qt 4.8.2 for Windows builds
12 years ago
Wladimir J. van der Laan
552af52b45
Merge pull request #1851 from fanquake/OpenSSL-1.0.1c
...
Update to use OpenSSL 1.0.1c
12 years ago