Cory Fields
cb78c60534
gui: fix ban from qt console
...
Rather than doing a circle and re-resolving the node's IP, just use the one
from nodestats directly.
This requires syncing the addr field from CNode.
2016-10-04 19:43:53 -04:00
Pavel Janík
f839350420
Do not shadow in src/qt
2016-09-23 12:42:00 +02:00
Wladimir J. van der Laan
4335d5a41b
Merge #7783 : [Qt] RPC-Console: support nested commands and simple value queries
...
1586044
[Qt] RPC-Console: support nested commands and simple value queries (Jonas Schnelli)
2016-09-20 14:15:35 +02:00
Cory Fields
c0569c7fa1
net: Add most functions needed for vNodes to CConnman
2016-09-08 12:12:58 -04:00
Cory Fields
a0f3d3cdad
net: move ban and addrman functions into CConnman
2016-09-08 12:12:57 -04:00
Cory Fields
531214fb10
gui: add NodeID to the peer table
2016-09-08 12:03:22 -04:00
Jonas Schnelli
15860448d3
[Qt] RPC-Console: support nested commands and simple value queries
...
Commands can be executed with bracket syntax, example: `getwalletinfo()`.
Commands can be nested, example: `sendtoaddress(getnewaddress(), 10)`.
Simple queries are possible: `listunspent()[0][txid]`
Object values are accessed with a non-quoted string, example: [txid].
Fully backward compatible.
`generate 101` is identical to `generate(101)`
Result value queries indicated with `[]` require the new brackets syntax.
Comma as argument separator is now also possible: `sendtoaddress,<address>,<amount>`
Space as argument separator works also with the bracket syntax, example: `sendtoaddress(getnewaddress() 10)
No dept limitation, complex commands are possible:
`decoderawtransaction(getrawtransaction(getblock(getbestblockhash())[tx][0]))[vout][0][value]`
2016-08-23 15:32:39 +02:00
Cory Fields
21ba407a73
net: narrow include scope after moving to netaddress
...
Net functionality is no longer needed for CAddress/CAddrman/etc. now that
CNetAddr/CService/CSubNet are dumb storage classes.
2016-07-31 14:01:44 -04:00
Cory Fields
b6c3ff3dae
net: Split resolving out of CSubNet
2016-07-31 14:01:43 -04:00
Cory Fields
31d6b1d5f0
net: Split resolving out of CNetAddr
2016-07-31 13:24:07 -04:00
Wladimir J. van der Laan
a7897c02f7
qt: Remove client name from debug window
...
Remove the client name from the debug window in the GUI. It is already
part of the user agent, so adding it separately doesn't add anything.
2016-06-28 18:27:49 +02:00
UdjinM6
16698cb77e
PR #7772 is not enough to fix the issue with QCompleter, use event filter instead of connect
2016-05-31 06:33:34 +03:00
Wladimir J. van der Laan
239d419864
Merge #7917 : Optimize reindex
...
b4d24e1
Report reindexing progress in GUI (Pieter Wuille)
d3d7547
Add -reindex-chainstate that does not rebuild block index (Pieter Wuille)
fb8fad1
Optimize ActivateBestChain for long chains (Pieter Wuille)
316623f
Switch reindexing to AcceptBlock in-loop and ActivateBestChain afterwards (Pieter Wuille)
d253ec4
Make ProcessNewBlock dbp const and update comment (Pieter Wuille)
2016-05-18 12:31:32 +02:00
Pieter Wuille
b4d24e142e
Report reindexing progress in GUI
2016-05-17 00:45:58 +02:00
Cory Fields
8b8f87714d
net: make Ban/Unban/ClearBan functionality consistent
...
- Ban/Unban/ClearBan call uiInterface.BannedListChanged() as necessary
- Ban/Unban/ClearBan sync to disk if the operation is user-invoked
- Mark node for disconnection automatically when banning
- Lock cs_vNodes while setting disconnected
- Don't spin in a tight loop while setting disconnected
2016-05-10 12:28:22 -04:00
Pavel Janík
ae2156f123
Clear the input line after activating autocomplete
2016-03-30 20:26:10 +02:00
Jonas Schnelli
4856f1d671
[Qt] Debug window: replace "Build date" with "Datadir"
...
The build date does only makes sense for custom/self-compiled bitcoin-core versions because we are using static build-dates for our deterministic release builds.
Having a quick option to get the current datadir is much more valuable for debug purposes.
2016-03-22 08:40:10 +01:00
Jonas Schnelli
b24266c207
Merge #7668 : Fix history deletion bug after font size change
...
21e45a0
Fix history deletion bug after font change (Andrew C)
2016-03-14 09:24:39 +01:00
Jonas Schnelli
3798e5de33
Merge #7613 : Add autocomplete to bitcoin-qt's console window.
...
ce7413f
Add autocomplete to bitcoin-qt's console window. (Luv Khemani)
2016-03-14 09:20:29 +01:00
Luv Khemani
ce7413fcb7
Add autocomplete to bitcoin-qt's console window.
...
Removed externs
Added listCommands() to CRPCTable
Move autocomplete init to RPCConsole::setClientModel()
2016-03-12 13:04:23 +08:00
Andrew C
21e45a097e
Fix history deletion bug after font change
...
The history is no longer cleared after the font size is changed
2016-03-11 13:19:19 -05:00
Jonas Schnelli
5ecfa36fd0
Remove openssl info from init/log and from Qt debug window
2016-02-26 09:35:39 +01:00
Luke Dashjr
a68bb9f5e7
Merge branch 'master' into single_prodname
2016-02-03 05:41:13 +00:00
Wladimir J. van der Laan
62f2d769e4
Merge #7348 : MOVE ONLY: move rpc* to rpc/
...
d13f65e
rpc: update inline comments to refer to new file paths (Daniel Cousens)
a0eaff8
move rpc* to rpc/ (Daniel Cousens)
2016-01-28 11:28:24 +01:00
Jonas Schnelli
56c9e66a6d
[Qt] keep scroll position in GUI console after changing font size
2016-01-23 00:05:14 +01:00
Jonas Schnelli
3a3a927325
[Qt] Add option to increase/decrease font size in the console window
2016-01-22 21:46:42 +01:00
Jonas Schnelli
f221fc1887
Merge #7364 : [qt] Windows: Make rpcconsole monospace font larger
...
fa6a59d
[qt] Windows: Make rpcconsole monospace font larger (MarcoFalke)
2016-01-22 09:47:51 +01:00
Daniel Cousens
a0eaff8a1d
move rpc* to rpc/
2016-01-21 08:36:55 +11:00
MarcoFalke
fa6a59dd39
[qt] Windows: Make rpcconsole monospace font larger
2016-01-17 19:28:49 +01:00
Jonas Schnelli
8a7f0001be
[RPC] remove the option of having multiple timer interfaces
2016-01-08 11:18:28 +01:00
Luke Dashjr
d5f46832de
Unify package name to as few places as possible without major changes
2015-12-14 02:11:10 +00:00
MarcoFalke
fa24439ff3
Bump copyright headers to 2015
2015-12-13 18:08:39 +01:00
Jonas Schnelli
4082e46603
[Qt] call GuessVerificationProgress synchronous during core signal, pass double over UI signal
2015-11-30 08:53:57 +01:00
Jonas Schnelli
947d20b84a
[Qt] reduce cs_main in getVerificationProgress()
2015-11-30 08:50:59 +01:00
MarcoFalke
faf12bc283
OpenSSL 1.1.0: Fix text variant of the version number
2015-11-24 09:07:26 +01:00
Wladimir J. van der Laan
776848acef
Merge pull request #6979
...
c197798
[Qt] simple mempool info in debug window (Jonas Schnelli)
2015-11-20 14:34:11 +01:00
Jonas Schnelli
c197798d1b
[Qt] simple mempool info in debug window
2015-11-20 08:40:43 +01:00
Jonas Schnelli
773ae4654e
[Qt] add shortcurts for debug-/console-window
2015-11-12 13:54:06 +01:00
MarcoFalke
268b79ef0c
[qt] rpcconsole: Scale monospace font to 95%
2015-11-03 12:34:51 +01:00
MarcoFalke
28313b83fc
[qt] Use fixed pitch font for the rpc console
...
Also:
* Preserve white space
* Make fixed font as large as default font
2015-10-29 18:01:39 +01:00
Jonas Schnelli
9623e93473
[Univalue] add univalue over subtree
...
similar to secp256k1 include and compile univalue over a subtree
2015-10-01 10:49:57 +02:00
MarcoFalke
4dee609e10
Rename rpcconsole.ui => debugwindow.ui
2015-09-23 10:27:39 +02:00
Jonas Schnelli
7aac6db6eb
[QT] dump banlist to disk in case of ban/unban over QT
2015-09-20 10:42:35 +02:00
Jonas Schnelli
7f90ea78cb
[QA] adabt QT_NO_KEYWORDS for QT ban implementation
2015-09-16 16:50:20 +02:00
Philip Kaufmann
4ed05101f3
[Qt] call DumpBanlist() when baning unbaning nodes
...
- this matches RPC call behaviour
2015-09-16 16:50:20 +02:00
Jonas Schnelli
be8929265f
[Qt] reenabling hotkeys for ban context menu, use different words
...
- 1 (h)our
- 1 (d)ay
- 1 (w)eek
- 1 (y)ear
2015-09-16 16:50:20 +02:00
Jonas Schnelli
b1189cfa10
[Qt] adapt QT ban option to banlist.dat changes
2015-09-16 16:50:20 +02:00
Philip Kaufmann
51654deff2
[Qt] bantable polish
...
- add missing NULL pointer checks
- add better comments and reorder some code in rpcconsole.cpp
- remove unneeded leftovers in bantable.cpp
- update bantable column sizes to prevent cutting of banned until
2015-09-16 16:50:19 +02:00
Philip Kaufmann
cdd72cd5fb
[Qt] simplify ban list signal handling
...
- remove banListChanged signal from client model
- directly call clientModel->getBanTableModel()->refresh() without the way
over clientModel->updateBanlist()
- also fix clearing peer detail window, when selecting (clicking)
peers in the ban list
2015-09-16 16:50:19 +02:00
Philip Kaufmann
9e521c1735
[Qt] polish ban table
2015-09-16 16:50:19 +02:00