Marko Bencun
5b528d746c
qt: clean up initialize/shutdown signals
...
- Change initializeResult(int) to initializeResult(bool) to avoid
implicit type conversion.
- Use EXIT_FAILURE and EXIT_SUCCESS instead of magic numbers.
- Remove the argument from shutdownResult(int); it was called with a
constant argument.
2017-02-23 17:21:39 +09:00
Wladimir J. van der Laan
5f0556d032
Merge #9727 : Remove fallbacks for boost_filesystem < v3
...
056aba2
Remove fallbacks for boost_filesystem < v3 (Wladimir J. van der Laan)
2017-02-21 17:08:37 +01:00
Jonas Schnelli
312c4f1057
Fix segfault crash when shutdown the GUI in disablewallet mode
2017-02-21 14:37:20 +01:00
Wladimir J. van der Laan
1a9fd5cb9d
Merge #9724 : Qt/Intro: Add explanation of IBD process
...
f6d18f5
Qt/Intro: Explain a bit more what will happen first time (Luke Dashjr)
50c5657
Qt/Intro: Storage shouldn't grow significantly with pruning enabled (Luke Dashjr)
9adb694
Qt/Intro: Move sizeWarningLabel text into C++ code (Luke Dashjr)
2017-02-20 17:26:15 +01:00
Pieter Wuille
c801c82e25
Move BIP70_MAX_PAYMENTREQUEST_SIZE to header
2017-02-17 11:54:32 -08:00
Luke Dashjr
7abe7bbf61
Qt/Send: Give fallback fee a reasonable indent
2017-02-17 11:00:52 +01:00
Luke Dashjr
3e4d7bfcb7
Qt/Send: Figure a decent warning colour from theme
2017-02-17 11:00:46 +01:00
Wladimir J. van der Laan
476cc47da0
Merge #9758 : Selectively suppress deprecation warnings
...
4b6cccc
Selectively suppress deprecation warnings (Jonas Schnelli)
2017-02-15 15:08:59 +01:00
Wladimir J. van der Laan
4c69d683f2
Merge #9553 : Use z = std::max(x - y, 0) instead of z = x - y; if (z < 0) z = 0;
...
a47da4b
Use z = std::max(x - y, 0); instead of z = x - y; if (z < 0) z = 0; (practicalswift)
2017-02-15 09:27:47 +01:00
Jonas Schnelli
a441db01b5
Merge #9755 : Bugfix: Qt/Options: Restore persistent "restart required" notice
...
0b4f273
Bugfix: Qt/Options: Restore persistent "restart required" notice (Luke Dashjr)
2017-02-14 15:57:02 +01:00
Jonas Schnelli
4b6ccccc16
Selectively suppress deprecation warnings
2017-02-14 13:50:57 +01:00
Luke Dashjr
0b4f273e9c
Bugfix: Qt/Options: Restore persistent "restart required" notice
2017-02-13 22:50:16 +00:00
Wladimir J. van der Laan
056aba2b4f
Remove fallbacks for boost_filesystem < v3
...
Minimum boost version was bumped to 1.47.0 in #8920 , which
means the configure step won't even pass with older boost.
This version has boost filesystem v3, which means the
(crappy) fallbacks for older versions can go.
2017-02-10 12:32:52 +01:00
Wladimir J. van der Laan
7179e7ca0d
qt: Periodic translations update
2017-02-10 08:56:36 +00:00
Wladimir J. van der Laan
36f9d3ae6d
Merge #9718 : Qt/Intro: Various fixes
...
a9baa6d
Bugfix: Qt/Intro: Pruned nodes never require *more* space (Luke Dashjr)
93ffba7
Bugfix: Qt/Intro: Chain state needs to be stored even with the full blockchain (Luke Dashjr)
c8cee26
Qt/Intro: Update block chain size (Luke Dashjr)
2017-02-09 07:30:10 +01:00
Luke Dashjr
f6d18f5b33
Qt/Intro: Explain a bit more what will happen first time
2017-02-09 05:07:19 +00:00
Luke Dashjr
50c56570b2
Qt/Intro: Storage shouldn't grow significantly with pruning enabled
2017-02-08 19:24:43 +00:00
Luke Dashjr
9adb694b17
Qt/Intro: Move sizeWarningLabel text into C++ code
2017-02-08 19:23:31 +00:00
Luke Dashjr
a9baa6d742
Bugfix: Qt/Intro: Pruned nodes never require *more* space
2017-02-08 19:16:00 +00:00
Luke Dashjr
93ffba7163
Bugfix: Qt/Intro: Chain state needs to be stored even with the full blockchain
2017-02-08 18:51:05 +00:00
Luke Dashjr
c8cee26100
Qt/Intro: Update block chain size
2017-02-08 18:51:05 +00:00
practicalswift
a47da4b6fe
Use z = std::max(x - y, 0); instead of z = x - y; if (z < 0) z = 0;
2017-02-07 15:46:38 +01:00
Wladimir J. van der Laan
986ba005ed
Merge #9651 : Fix typos
...
5f62e3e
Fix typos (practicalswift)
2017-02-06 14:20:05 +01:00
Daniel Aleksandersen
9155241bd9
Change 'Clear' button string to 'Reset'
...
Easier to understand what the button does (it resets the graph view).
'Clear' might mean that the graph is emptied and stops updating, whereas
its easier to see that you're just starting fresh with 'Reset'.
2017-02-05 06:48:31 +01:00
Wladimir J. van der Laan
71fc17f667
qt: periodic translations update
2017-01-30 13:33:00 +01:00
practicalswift
5f62e3eb63
Fix typos
2017-01-29 18:19:55 +01:00
practicalswift
cc16d99f1d
[trivial] Fix typos in comments
2017-01-27 21:22:35 +01:00
Jonas Schnelli
04b877361b
[Qt] fix transaction details output-index to reflect vout index
2017-01-26 13:22:36 +01:00
Wladimir J. van der Laan
3f9f9629cc
Merge #9606 : net: Consistently use GetTimeMicros() for inactivity checks
...
99464bc
net: Consistently use GetTimeMicros() for inactivity checks (Suhas Daftuar)
2017-01-26 09:57:45 +01:00
Russell Yanofsky
c4e4792c53
[Qt] Change RBF checkbox to reflect -walletrbf setting
...
Before this commit, the checkbox would always start off unchecked. After this
commit it will respect the -walletrbf setting (which is currently false by
default).
2017-01-25 12:51:06 -05:00
Jonas Schnelli
838a58e7ca
[Qt] Add simple optin-RBF checkbox and confirmation info
2017-01-25 12:51:06 -05:00
Suhas Daftuar
99464bc38e
net: Consistently use GetTimeMicros() for inactivity checks
...
The use of mocktime in test logic means that comparisons between
GetTime() and GetTimeMicros()/1000000 are unreliable since the former
can use mocktime values while the latter always gets the system clock;
this changes the networking code's inactivity checks to consistently
use the system clock for inactivity comparisons.
Also remove some hacks from setmocktime() that are no longer needed,
now that we're using the system clock for nLastSend and nLastRecv.
2017-01-25 09:48:14 -05:00
Jonas Schnelli
50864529b6
Merge #9588 : qt: Use nPowTargetSpacing constant
...
fa4d478
qt: Use nPowTargetSpacing constant (MarcoFalke)
2017-01-24 09:24:41 +01:00
Wladimir J. van der Laan
af01cd3a3d
qt: Periodic translation update
2017-01-20 14:45:12 +01:00
Wladimir J. van der Laan
b8d1b81077
trivial: squash missing field 'argNames' initializer warning in qt tests
...
The additional initializer is for the named arguments, which are unused
in the test (and unfilled global fields will be initialized to 0
anyhow), so this is a no-op apart from the warning.
2017-01-20 14:39:50 +01:00
MarcoFalke
fa4d47814f
qt: Use nPowTargetSpacing constant
2017-01-19 20:47:04 +01:00
Jonas Schnelli
b25068697f
Merge #9461 : [Qt] Improve progress display during headers-sync and peer-finding
...
40ec7c7
[Qt] Improve progress display during headers-sync and peer-finding (Jonas Schnelli)
2017-01-19 20:09:49 +01:00
Jonas Schnelli
40ec7c7b0d
[Qt] Improve progress display during headers-sync and peer-finding
2017-01-19 09:10:04 +01:00
Wladimir J. van der Laan
b0819c7e9b
qt: periodic translations update
2017-01-16 20:59:50 +01:00
Wladimir J. van der Laan
dd98f04538
Merge #9380 : Separate different uses of minimum fees
...
eb30d1a
Introduce -dustrelayfee (Alex Morcos)
7b1add3
Introduce -incrementalrelayfee (Alex Morcos)
daec955
Introduce -blockmintxfee (Alex Morcos)
2017-01-16 19:33:08 +01:00
Alex Morcos
eb30d1a5b2
Introduce -dustrelayfee
2017-01-16 08:40:40 -05:00
MarcoFalke
8daf103fa1
Merge #9528 : [qt] Rename formateNiceTimeOffset(qint64) to formatNiceTimeOffset(qint64)
...
988d300
[qt] Rename formateNiceTimeOffset(qint64) to formatNiceTimeOffset(qint64) (practicalswift)
2017-01-14 11:24:11 +01:00
practicalswift
988d300932
[qt] Rename formateNiceTimeOffset(qint64) to formatNiceTimeOffset(qint64)
2017-01-13 18:58:15 +01:00
Wladimir J. van der Laan
fac0f30482
Merge #9472 : Disentangle progress estimation from checkpoints and update it
...
df36371
Update estimated transaction count data (Pieter Wuille)
e356d9a
Shorten variable names and switch to tx/s (Pieter Wuille)
6dd8116
Remove SIGCHECK_VERIFICATION_FACTOR (Pieter Wuille)
3641141
Move tx estimation data out of CCheckPointData (Pieter Wuille)
a4bac66
[MOVEONLY] Move progress estimation out of checkpoints (Pieter Wuille)
2017-01-12 12:13:14 +01:00
Wladimir J. van der Laan
68eb56203b
qt: periodic translations update
2017-01-10 12:52:02 +01:00
Andrew Chow
6d8fe35b94
'help' rpc commands autocomplete
...
Adds autocompletion of the commands for when getting the help of a command by using `help <command>`
2017-01-09 21:23:16 -05:00
Pavel Janík
7df5e382e5
Rename lambda argument name to prevent shadowing.
2017-01-09 19:31:19 +01:00
Pieter Wuille
46b249e578
Merge #9408 : Allow shutdown during LoadMempool, dump only when necessary
...
325e400
[Qt] Do proper shutdown (Jonas Schnelli)
9479f8d
Allow shutdown during LoadMempool, dump only when necessary (Jonas Schnelli)
2017-01-06 09:37:43 -08:00
Jonas Schnelli
c5adf8f267
[Qt] Show more significant warning if we fall back to the default fee
2017-01-06 10:49:49 +01:00
Jonas Schnelli
fd7d8c7b35
Merge #9413 : [CoinControl] Allow non-wallet owned change addresses
...
54f8026
[CoinControl] Allow non-wallet owned change addresses (Jonas Schnelli)
2017-01-05 21:00:06 +01:00
Jonas Schnelli
325e400f9b
[Qt] Do proper shutdown
2017-01-05 12:40:10 +01:00
Wladimir J. van der Laan
7014506415
Merge #9475 : Let autoconf detect presence of EVP_MD_CTX_new
...
0388afe
Let autoconf detect presence of EVP_MD_CTX_new (Luke Dashjr)
2017-01-05 10:28:47 +01:00
Pieter Wuille
3641141c8f
Move tx estimation data out of CCheckPointData
2017-01-04 13:18:49 -08:00
Pieter Wuille
a4bac66cca
[MOVEONLY] Move progress estimation out of checkpoints
2017-01-04 13:18:49 -08:00
Luke Dashjr
0388afe69d
Let autoconf detect presence of EVP_MD_CTX_new
...
Fixes LibreSSL compatibility
2017-01-04 18:37:37 +00:00
Wladimir J. van der Laan
123ea73624
Merge #9457 : [qt] Select more files for translation
...
facf3e7
[qt] `make translate` (MarcoFalke)
fae26e8
[qt] Add more sources to translate (MarcoFalke)
2017-01-04 16:41:29 +01:00
Wladimir J. van der Laan
388ea19bf2
qt: Set (count) placeholder in sendcoinsdialog to notranslate
2017-01-04 14:37:53 +01:00
MarcoFalke
facf3e7608
[qt] make translate
2017-01-04 12:13:03 +01:00
Wladimir J. van der Laan
c0ddd32bf6
Merge #9450 : Increment MIT licence copyright header year on files modified in 2016
...
27765b6
Increment MIT Licence copyright header year on files modified in 2016 (isle2983)
2017-01-04 12:09:05 +01:00
Wladimir J. van der Laan
649cf5fe89
Merge #9462 : [qt] Do not translate tilde character
...
fab6c5f
[qt] Do not translate `~` (MarcoFalke)
2017-01-04 08:21:04 +01:00
MarcoFalke
fab6c5f46b
[qt] Do not translate ~
2017-01-03 17:51:12 +01:00
Jonas Schnelli
6dc4c43d32
Merge #8877 : Qt RPC console: history sensitive-data filter, and saving input line when browsing history
...
8562792
GUI/RPCConsole: Include importmulti in history sensitive-command filter (Luke Dashjr)
ff77faf
Qt/RPCConsole: Use RPCParseCommandLine to perform command filtering (Luke Dashjr)
a79598d
Qt/Test: Make sure filtering sensitive data works correctly in nested commands (Luke Dashjr)
629cd42
Qt/RPCConsole: Teach RPCParseCommandLine how to filter out arguments to sensitive commands (Luke Dashjr)
e2d9213
Qt/RPCConsole: Make it possible to parse a command without executing it (Luke Dashjr)
1755c04
Qt/RPCConsole: Truncate filtered commands to just the command name, rather than skip it entirely in history (Luke Dashjr)
d80a006
Qt/RPCConsole: Add signmessagewithprivkey to list of commands filtered from history (Luke Dashjr)
afde12f
Qt/RPCConsole: Refactor command_may_contain_sensitive_data function out of RPCConsole::on_lineEdit_returnPressed (Luke Dashjr)
de8980d
Bugfix: Do not add sensitive information to history for real (Luke Dashjr)
9044908
Qt/RPCConsole: Don't store commands with potentially sensitive information in the history (Jonas Schnelli)
fc95daa
Qt/RPCConsole: Save current command entry when browsing history (Jonas Schnelli)
2017-01-03 16:57:21 +01:00
Wladimir J. van der Laan
d45b21e2b3
qt: Fill in English numerusforms
...
minute/minutes block/blocks and so forth.
2017-01-03 15:03:37 +01:00
Wladimir J. van der Laan
a9d6151802
qt,wallet: Fix a few typos in messages
...
As reported by [yahoe.001](https://www.transifex.com/user/profile/yahoe.001/ ).
2017-01-03 15:01:46 +01:00
Wladimir J. van der Laan
1d2d67692c
qt: Set transifex slug to 0.14
...
Also perform update of source translations.
2017-01-02 09:36:03 +01:00
isle2983
27765b6403
Increment MIT Licence copyright header year on files modified in 2016
...
Edited via:
$ contrib/devtools/copyright_header.py update .
2016-12-31 11:01:21 -07:00
Luke Dashjr
8562792095
GUI/RPCConsole: Include importmulti in history sensitive-command filter
2016-12-29 11:47:58 +00:00
Luke Dashjr
ff77faf480
Qt/RPCConsole: Use RPCParseCommandLine to perform command filtering
2016-12-29 11:47:58 +00:00
Luke Dashjr
a79598ddf4
Qt/Test: Make sure filtering sensitive data works correctly in nested commands
2016-12-29 11:46:26 +00:00
Luke Dashjr
629cd42364
Qt/RPCConsole: Teach RPCParseCommandLine how to filter out arguments to sensitive commands
2016-12-29 11:46:26 +00:00
Luke Dashjr
e2d9213c32
Qt/RPCConsole: Make it possible to parse a command without executing it
2016-12-29 11:43:29 +00:00
Luke Dashjr
1755c04576
Qt/RPCConsole: Truncate filtered commands to just the command name, rather than skip it entirely in history
2016-12-29 11:43:29 +00:00
Luke Dashjr
d80a00660f
Qt/RPCConsole: Add signmessagewithprivkey to list of commands filtered from history
2016-12-29 11:43:29 +00:00
Luke Dashjr
afde12f265
Qt/RPCConsole: Refactor command_may_contain_sensitive_data function out of RPCConsole::on_lineEdit_returnPressed
2016-12-29 11:43:29 +00:00
Luke Dashjr
de8980df9d
Bugfix: Do not add sensitive information to history for real
...
Original code was missing braces, and short-circuited before checking everything after importprivkey
2016-12-29 11:43:29 +00:00
Jonas Schnelli
9044908636
Qt/RPCConsole: Don't store commands with potentially sensitive information in the history
...
Filters importprivkey, signrawtransaction, walletpassphrase, walletpassphrasechange, and encryptwallet
2016-12-29 11:43:28 +00:00
Jonas Schnelli
fc95daa97f
Qt/RPCConsole: Save current command entry when browsing history
...
Shell-like, but doesn't store changed history commands until executing it.
2016-12-29 11:43:28 +00:00
Matt Corallo
c2f61bebb1
Add a ForceSetArg method for testing
2016-12-27 13:52:07 +01:00
Matt Corallo
4cd373aea8
Un-expose mapArgs from utils.h
2016-12-24 11:29:33 -05:00
Matt Corallo
0cf86a6678
Introduce (and use) an IsArgSet accessor method
2016-12-23 21:30:16 -05:00
Matt Corallo
c8042a48f0
Remove arguments to ParseConfigFile
2016-12-23 21:30:15 -05:00
Jonas Schnelli
54f80263fc
[CoinControl] Allow non-wallet owned change addresses
2016-12-23 16:07:37 +01:00
Wladimir J. van der Laan
7f72568e6b
Merge #9236 : Fix races for strMiscWarning and fLargeWork*Found, make QT runawayException use GetWarnings
...
749be01
Move GetWarnings() into its own file. (Gregory Maxwell)
e3ba0ef
Eliminate data races for strMiscWarning and fLargeWork*Found. (Gregory Maxwell)
c63198f
Make QT runawayException call GetWarnings instead of directly access strMiscWarning. (Gregory Maxwell)
2016-12-19 12:40:01 +01:00
Wladimir J. van der Laan
db45ad8516
Merge #9329 : [Qt] Console: allow empty arguments
...
390bd14
[Qt] Console: don't allow empty arguments when using the comma-syntax (Jonas Schnelli)
6a32c0f
Qt/Test: Check handling of empty arguments in RPC debug console (Luke Dashjr)
89c8d2c
[Qt] Console: allow empty arguments (Jonas Schnelli)
2016-12-19 09:08:20 +01:00
Karl-Johan Alm
815f4148b2
Uses built-in byte swap if available (Apple) and if bswap_XX is undefined.
...
Defers to pre-defined version if found (e.g. protobuf). For protobuf case, the definitions are identical and thus include order should not affect results.
2016-12-17 12:27:00 +09:00
Wladimir J. van der Laan
47e6a19e6b
Merge #9330 : [Qt] Console: add security warning
...
ed6b377
[Qt] Console: add security warning (Jonas Schnelli)
2016-12-14 09:34:31 +01:00
Jonas Schnelli
390bd14684
[Qt] Console: don't allow empty arguments when using the comma-syntax
2016-12-14 09:00:09 +01:00
Wladimir J. van der Laan
26fe5c98ab
Merge #9326 : Update for OpenSSL 1.1 API.
...
b05b1af
Fix qt/paymentrequestplus.cpp for OpenSSL 1.1 API. (Gregory Maxwell)
bae1eef
Fix wallet/test/crypto_tests.cpp for OpenSSL 1.1 API. (Gregory Maxwell)
2016-12-13 12:22:30 +01:00
Luke Dashjr
6a32c0f69d
Qt/Test: Check handling of empty arguments in RPC debug console
2016-12-13 09:18:13 +01:00
Jonas Schnelli
89c8d2c12c
[Qt] Console: allow empty arguments
2016-12-13 09:17:35 +01:00
Gregory Maxwell
b05b1af10b
Fix qt/paymentrequestplus.cpp for OpenSSL 1.1 API.
...
This avoids a compile failure on newly installed debian stretch systems.
2016-12-12 19:24:34 +00:00
Jonas Schnelli
ed6b377ae2
[Qt] Console: add security warning
2016-12-12 15:58:40 +01:00
Karl-Johan Alm
8c1dbc5e9d
Refactor: Removed begin/end_ptr functions.
2016-12-09 13:15:19 +09:00
Wladimir J. van der Laan
9851a8461d
Merge #9255 : qt: layoutAboutToChange signal is called layoutAboutToBeChanged
...
f36349e
qt: Remove on_toggleNetworkActiveButton_clicked from RPCConsole (Wladimir J. van der Laan)
297cc20
qt: layoutAboutToChange signal is called layoutAboutToBeChanged (Wladimir J. van der Laan)
2016-12-08 08:14:16 +01:00
Wladimir J. van der Laan
2044e37beb
Merge #9266 : Bugfix: Qt/RPCConsole: Put column enum in the right places
...
df17fe0
Bugfix: Qt/RPCConsole: Put column enum in the right places (Luke Dashjr)
2016-12-08 08:13:15 +01:00
Wladimir J. van der Laan
f36349e898
qt: Remove on_toggleNetworkActiveButton_clicked from RPCConsole
...
There is no network toggle button (anymore?) in the RPC console.
Removes another warning (#9250 ).
2016-12-07 05:55:16 +01:00
Alex Morcos
28f8ae8adf
Fix missed change to WalletTx structure
2016-12-06 08:56:12 -05:00
Jonas Schnelli
89a3723bdc
[Qt] Show ModalOverlay by pressing the progress bar, disabled show() in sync mode
2016-12-05 13:58:00 +01:00
Wladimir J. van der Laan
46904ee5d2
Merge #8580 : Make CTransaction actually immutable
...
81e3228
Make CTransaction actually immutable (Pieter Wuille)
42fd8de
Make DecodeHexTx return a CMutableTransaction (Pieter Wuille)
c3f5673
Make CWalletTx store a CTransactionRef instead of inheriting (Pieter Wuille)
a188353
Switch GetTransaction to returning a CTransactionRef (Pieter Wuille)
2016-12-05 08:05:48 +01:00
Jonas Schnelli
4d955fc582
Merge #9218 : qt: Show progress overlay when clicking spinner icon
...
042f9fa
qt: Show progress overlay when clicking spinner icon (Wladimir J. van der Laan)
827d9a3
qt: Replace NetworkToggleStatusBarControl with generic ClickableLabel (Wladimir J. van der Laan)
2016-12-04 20:57:57 +01:00