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
Jeff Garzik
bd2e140571
CAddrMan: verify pchMessageStart file marker, before reading address data
...
This avoids the case where you read the address data, before noticing it is
the wrong network.
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
Philip Kaufmann
5e5c102f2f
make optionsmodel query real proxy state for ::data()
...
- don't rely on the QSettings for cases ProxyUse and ProxySocksVersion and
query the real values via the GetProxy() call
- add a missing "succesful =" for case ProxyUse in ::setData()
12 years ago
Pieter Wuille
43de64949c
Merge pull request #1859 from Diapolo/proxy_locks
...
add LOCK() for proxy related data-structures
12 years ago
Pieter Wuille
e996521390
Use fdatasync instead of fsync on supported platforms
12 years ago
Pieter Wuille
4e882b7960
Remove I2P support from netbase
...
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.
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
Wladimir J. van der Laan
529a4d4824
remove "checkorder" and "reply" P2P commands
...
These command are a leftover from send-to-IP transactions, which have been
removed a long time ago.
Also removes CNode::mapRequests and CNode::PushRequests, as these were
only used for the mentioned commands.
12 years ago
Philip Kaufmann
7bc65ff108
move most explicit getters in optionsmodel to header
...
- is more consistent and saves quite some lines of code
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
Wladimir J. van der Laan
3b2eb49db9
Merge pull request #1883 from sipa/norandstack
...
Remove stack randomization
12 years ago
Jeff Garzik
3e37e7eca4
Merge pull request #1871 from jgarzik/wallet-deadcode
...
walletdb.h: remove dead code
12 years ago
Pieter Wuille
2e3ffb2d82
Remove stack randomization
12 years ago
Pieter Wuille
842a31ad1b
Merge pull request #1862 from kjj2/testports
...
Fix: when testnet=1 specified, change default RPC port to 18332
12 years ago
xanatos
50e01ee620
toHTML won't add empty wtx.mapValue elements
...
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.
12 years ago
Wladimir J. van der Laan
035cb4781d
Merge pull request #1868 from maaku/and_or_xor_sign_extension
...
Documented bug in sign-extension behavior of opcodes OP_AND, OP_OR, and OP_XOR
12 years ago
Virgil Dupras
fee10d800e
Fixed compilation error with clang.
...
Previously, trying to compile with clang would result in the error: assigning to 'objc_object *' from incompatible type 'DockIconClickEventHandler *'
12 years ago
Wladimir J. van der Laan
14ac0adcc7
Remove -Wformat* warnings from makefiles
...
commit 5a1a3622
effectively enabled these warnings, but they need
to be fixed before being enabled in the general build scripts.
12 years ago
Jeff Garzik
189eb6a989
walletdb.h: remove dead code
12 years ago