Philip Kaufmann
733511eda0
prevent compiler redefinition warnings
...
- I observed a massive amount of redefinition warnings after #3071 , which
are silenced by this patch
- uses the same style as we do in other places, where we define _WIN32_WINNT
2013-10-11 15:37:36 +02:00
Wladimir J. van der Laan
56c0ba7a0f
Merge pull request #3071 from gavinandresen/windows_h
...
Remove include of windows.h from allocators.h
2013-10-11 05:11:21 -07:00
Wladimir J. van der Laan
a302c21e0b
Merge pull request #3066 from Diapolo/rem_global
...
make fCommandLine a local variable in AppInit()
2013-10-09 23:35:42 -07:00
Gavin Andresen
d8315d1650
Remove include of windows.h from allocators.h
...
Create an allocators.cpp, and move all of the #ifdef WIN32
code and the #include of windows.h into it.
Two motives for this cleanup:
1. I'm getting a weird error in windows.h in my smartfee branch.
2. allocators.h is included (indirectly) just about everywhere, so
this should speed up Windows compiles quite a lot.
2013-10-09 16:48:53 +10:00
Philip Kaufmann
c7b1d6bbc7
Bitcoin-Qt: ensure Qt icon is shown with Qt >= 5.0
2013-10-08 12:27:57 +02:00
Philip Kaufmann
917ac1dcc1
make fCommandLine a local variable in AppInit()
2013-10-08 10:52:42 +02:00
Gavin Andresen
aa56d317a5
Merge pull request #3059 from Diapolo/Shutdown
...
add missing Boost Thread join_all() call during shutdown
2013-10-07 15:42:07 -07:00
Philip Kaufmann
5ea66c54fb
style-police: fixed badly readable code in ProcessMessage()
...
- I introduced the problem and fixed it with better readable code
2013-10-07 08:55:04 +02:00
Philip Kaufmann
c55d1600da
add missing Boost Thread join_all() call during shutdown
...
- fixes #3037 by adding missing join_all() call and brings bitcoind
shutdown code in line with Bitcoin-Qt shutdown code
- added a comment for the if (!fRet) case
2013-10-07 08:52:54 +02:00
Wladimir J. van der Laan
695a722003
Merge pull request #3056 from Diapolo/stuck_debug_window
...
Bitcoin-Qt: prevent stuck/unusable debug window on exit
2013-10-06 04:57:08 -07:00
Philip Kaufmann
a8d0c1e8cc
Bitcoin-Qt: prevent stuck/unusable debug window on exit
...
- when closing the client with an open debug window, that window could
become stuck/unsuable (it was still shown wherea the main window was
hidden already)
- fix this by hiding the debug window, when quitting the the client
2013-10-05 13:15:50 +02:00
David Hill
a5e685bcf8
Hurricane Electric uses block 2001:470::, not 2011:470::
2013-10-04 08:46:45 -04:00
Philip Kaufmann
fbed9c9d63
special case DoS value == 0 in ProcessMessage()
...
- prevents unneeded log messages, which could make users think something
bad was happening
2013-10-04 10:12:55 +02:00
Gavin Andresen
acb3ebc455
Merge pull request #2947 from gmaxwell/theyre_maturing_faster_these_days
...
[wallet] Consider generated coins mature at COINBASE_MATURITY+1
2013-10-03 22:52:38 -07:00
Gavin Andresen
a68fd1ca14
Merge pull request #3040 from Diapolo/Qt_misc2
...
Bitcoin-Qt: add missing change from branch Qt_misc
2013-10-03 21:42:27 -07:00
Gavin Andresen
af880e8d3a
Merge pull request #3050 from Diapolo/fix_IsRFC4193_comment
...
fix #3049 by changing comment for CNetAddr::IsRFC4193()
2013-10-03 21:12:48 -07:00
Gavin Andresen
fea7236ca3
Merge pull request #3051 from Diapolo/bitcoind-rc
...
rename bitcoin-res.rc to bitcoind-res.rc
2013-10-03 21:11:57 -07:00
Jeff Garzik
5ad5e2d836
Merge pull request #3038 from Diapolo/Log_Shutdown
...
log start and end of Shutdown()
2013-10-03 06:16:06 -07:00
Philip Kaufmann
cbf87fc4a6
rename bitcoin-res.rc to bitcoind-res.rc
...
- helps recognizing that the resource file belongs to bitcoind.exe
2013-10-03 15:06:31 +02:00
Philip Kaufmann
c1761a5df3
fix #3049 by changing comment for CNetAddr::IsRFC4193()
2013-10-03 15:03:33 +02:00
Jeff Garzik
28f6b8dbad
RPC validateaddress: test pwalletMain for NULL (no-wallet mode)
2013-10-02 05:51:13 -04:00
Philip Kaufmann
ced3c24816
log start and end of Shutdown()
...
- could be helpful when debugging shutdown related problems
2013-10-02 08:36:47 +02:00
Jeff Garzik
19e5ae7369
Merge branch 'pwalletmain' - checking pwalletMain for NULL,
...
a pre-req for no-wallet support.
2013-10-01 16:18:50 -04:00
Jeff Garzik
b0730874d9
Support absence of wallet (pwalletMain==NULL) in several locations,
...
notably RPC.
2013-10-01 16:14:37 -04:00
Wladimir J. van der Laan
b63ae2a534
Merge pull request #2991 from Diapolo/translation_fixes
...
Bitcoin-Qt: translation fixes in sendcoins
2013-10-01 08:18:48 -07:00
Jeff Garzik
19c415b1cf
Merge pull request #2888 from litecoin-project/getnetworkhashps
...
Add getnetworkhashps to get the estimated network hashrate
2013-10-01 07:09:04 -07:00
Philip Kaufmann
23b48d13f1
Bitcoin-Qt: translation fixes in sendcoins
...
- remove some unneeded translatable strings from sendcoinsentry.ui file and
rename some elements for better readability
- optimize string prorcessing in SendCoinsDialog::on_sendButton_clicked()
- make all UI labels for secure payments plain text and move the settings
to sendcoinsentry.ui file
- remove unneeded button and default button definiton from warning message
boxes
- remove fixed font-size when sending coins to an address with label and
use monospace font for addresses
2013-10-01 15:48:25 +02:00
Philip Kaufmann
ab25271d3c
Bitcoin-Qt: add missing change from branch Qt_misc
...
- remove an unneeded debug message in walletframe
2013-10-01 14:15:19 +02:00
Philip Kaufmann
f65dddc7b2
misc small spelling/indentation fixes
2013-10-01 09:47:16 +02:00
Pieter Wuille
6865127551
Merge pull request #3015 from theuni/win32-version-info
...
Win32 version info
2013-09-29 06:49:23 -07:00
Philip Kaufmann
d5f0ef54f8
several small Qt-related fixes
...
- make BitcoinGUI::showPaymentACK() use a reference for msg and use our
own GUIUtil::HtmlEscape() function
- ensure QTimer usage in clientmodel is the same as in walletmodel
- remove an unneeded debug message in walletframe
- flag some parameters as unused in DebugMessageHandler()
- small code formatting changes
2013-09-28 19:32:34 +02:00
Wladimir J. van der Laan
7de4e47d5f
Merge pull request #3031 from Diapolo/miner
...
internal miner: move 2 globals from main to miner
2013-09-28 01:21:57 -07:00
Wladimir J. van der Laan
18c5910e8f
Merge pull request #3027 from cozz/cozz2
...
GUI: fix sendcoinsdialog/sendcoinsentry
2013-09-28 00:46:41 -07:00
Philip Kaufmann
8d750f1d21
internal miner: move 2 globals from main to miner
...
- moves 2 global variables from main.cpp/h to miner.cpp/h
- also removes 2 unneded includes in miner.cpp, that come from miner.h
already
2013-09-25 15:48:11 +02:00
Cozz Lovan
5dc9164edc
GUI: fix sendcoinsdialog/sendcoinsentry
2013-09-24 16:10:38 +02:00
Pieter Wuille
99740bab9c
Skip unspendable outputs in consistency check
2013-09-24 14:11:20 +02:00
Gavin Andresen
fb8724ee6c
Merge pull request #2791 from sipa/proveprune
...
Prune provably-unspendable outputs
2013-09-23 14:23:14 -07:00
Pieter Wuille
a28fb70e45
Merge pull request #3016 from sipa/lows
...
Use 'low S' as malleability breaker rather than 'even S'
2013-09-23 06:05:29 -07:00
Gavin Andresen
ff4e3e63e7
Merge pull request #2949 from gmaxwell/fewer_fee_footguns
...
[raw] reject insanely high fees by default in sendrawtransaction
2013-09-22 16:44:35 -07:00
Wladimir J. van der Laan
c2f4187263
Merge pull request #2995 from Diapolo/GUI_message
...
Bitcoin-Qt: BitcoinGUI::message() updates/fixes
2013-09-20 23:38:56 -07:00
Philip Kaufmann
faaeae1eb3
fix some printf -> LogPrintf leftovers
2013-09-20 10:49:34 +02:00
Pieter Wuille
e0e14e43d9
Use 'low S' as malleability breaker rather than 'even S'
2013-09-20 09:30:41 +02:00
Pieter Wuille
367c29d6e0
Bugfix: nHeightLast instead of nHeightFirst
2013-09-19 10:44:35 +02:00
Pieter Wuille
1657ed2ab4
Fix minor unit test memory leaks
2013-09-19 00:01:46 +02:00
Cory Fields
dee632cc25
win32: add version info to bitcoind.exe
...
TODO: Add icon info
2013-09-18 17:58:53 -04:00
Cory Fields
7a3df1cd94
autotools: fix the Makefile.include to be safely included anywhere.
...
This way we can reuse rules rather than duplicating them.
2013-09-18 17:12:39 -04:00
Cory Fields
c546dc05bb
autotools: fix subdir m4 check, never let it return -I
...
If BDB_CPPFLAGS returns only "-I", the next argument sent to the preprocessor
is treated as a path. There are 2 fixes here:
1. Check in CPPFLAGS, as a user might have manually passed a path to check.
2. Ensure the value is not empty before setting BDB_CPPFLAGS to "-I value"
2013-09-18 17:11:41 -04:00
Wladimir J. van der Laan
9a4a7d3c6a
qt: english translation update
2013-09-18 13:32:09 +02:00
Jeff Garzik
acafc9ceb1
Add src/.gitignore: ignore src/test_bitcoin
2013-09-18 07:07:41 -04:00
Gavin Andresen
881a85a22d
Replace printf with LogPrintf / LogPrint
2013-09-18 20:39:25 +10:00