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
Jonas Schnelli
b2b33d9017
Overhaul network activity toggle
...
- Rename RPC command "togglenetwork" to "setnetworkactive (true|false)"
- Add simple test case
- GUI toggle added to connections icon in statusbar
2016-10-24 10:23:58 +00:00
Jonas Schnelli
90604f16af
add bip32 pubkey serialization
...
CExtPubKey should be serializable like CPubKey
2016-04-14 20:56:33 +02:00
Jonas Schnelli
ca188c629e
log bytes recv/sent per command
2015-12-07 13:32:59 +01:00
Jonas Schnelli
7d0bf0bb46
include the chaintip *blockIndex in the SyncTransaction signal
...
- allows reducing of calls to main.cpp for getting the chaintip during transaction syncing
- potentially allows reducing of cs_main locks
2015-12-04 09:18:53 +01:00
Jonas Schnelli
872fee3fcc
Introduce -maxuploadtarget
...
* -maxuploadtarget can be set in MiB
* if <limit> - ( time-left-in-24h-cycle / 600 * MAX_BLOCK_SIZE ) has reach, stop serve blocks older than one week and filtered blocks
* no action if limit has reached, no guarantee that the target will not be surpassed
* add outbound limit informations to rpc getnettotals
2015-10-26 15:37:30 +01:00
Jonas Schnelli
a9c27cdf55
[travis] add zmq python module
2015-10-01 14:02:26 +02: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
Jonas Schnelli
0917306fdf
remove univalue, prepare for subtree
2015-10-01 10:36:50 +02:00
Jonas Schnelli
24cb7c7bbb
[QT] fix thin space word wrap line brake issue
...
The thin space QT html hack results in cut-off chars/nums after a line break.
Avoid word wrap line breaks by using a smaller font and a line break before each alternative value)
2015-09-18 13:52:36 +02:00
Jonas Schnelli
110a1fd727
enable zmq-test in rpc-tests.sh
2015-09-17 20:04:34 +02:00
Jonas Schnelli
312cfe63a3
fix rpc-tests.sh
...
`${testScripts[@]}` now does split up `testscript --agument` in two elements pushed to the array (`testscript` and `--agument`).
2015-09-17 15:45:14 +02:00
Jonas Schnelli
93254172ce
depends: fix platform specific packages variable
...
prefix instead of postfix
2015-09-17 14:30:46 +02:00
Jonas Schnelli
d76a8acb9b
use CBlockIndex* insted of uint256 for UpdatedBlockTip signal
...
- removes mapBlockIndex find operation
- theoretically allows removing the cs_main lock during zqm notification while introducing a new file position lock
2015-09-16 16:51:21 +02:00
Jonas Schnelli
7f90ea78cb
[QA] adabt QT_NO_KEYWORDS for QT ban implementation
2015-09-16 16:50:20 +02:00
Jonas Schnelli
07f70b2dde
[QA] fix netbase tests because of new CSubNet::ToString() output
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
Jonas Schnelli
43c1f5b8d7
[Qt] remove unused timer-code from banlistmodel.cpp
2015-09-16 16:50:19 +02:00
Jonas Schnelli
607809f037
net: use CIDR notation in CSubNet::ToString()
2015-09-16 16:50:19 +02:00
Jonas Schnelli
53caec66cc
[Qt] bantable overhaul
...
- some code cleanups
- fix date formatting
- reduce header includes
2015-09-16 16:50:19 +02:00
Jonas Schnelli
f0bcbc4c8a
[Qt] bantable fix timestamp 64bit issue
2015-09-16 16:50:19 +02:00
Jonas Schnelli
6135309816
[Qt] banlist, UI optimizing and better signal handling
2015-09-16 16:50:19 +02:00
Jonas Schnelli
770ca79aa0
[Qt] add context menu with unban option to ban table
2015-09-16 16:50:19 +02:00
Jonas Schnelli
5f42132950
[Qt] add ui signal for banlist changes
2015-09-16 16:50:19 +02:00
Jonas Schnelli
ad204df1a9
[Qt] add banlist table below peers table
2015-09-16 16:50:19 +02:00
Jonas Schnelli
50f090884c
[Qt] add ban functions to peers window
...
add ban option for peer context menu (1h, 24h, 7d, 1y).
2015-09-16 16:50:19 +02:00
Jonas Schnelli
029e278286
QA: Add ZeroMQ RPC test
2015-09-16 11:01:35 +01:00
Jonas Schnelli
a1df1e870b
[docs] add libevent dependency to build-osx.md
2015-09-07 13:31:16 +02:00
Jonas Schnelli
d6a92dd0ea
[release notes] mention apache reverse proxy to re-enable SSL
2015-09-04 15:39:49 +02:00
Jonas Schnelli
7d226b7ca0
[QA] add testcases for parsing strings as values
2015-07-27 13:55:46 +02:00
Jonas Schnelli
6f8b6d339b
don't try to decode invalid encoded ext keys
2015-07-25 09:51:52 +02:00
Jonas Schnelli
8d2af54ecc
extend bip32 tests to cover Base58c/CExtKey decode
2015-07-23 16:32:31 +02:00
Jonas Schnelli
7cb1f9f7eb
fix and extend CBitcoinExtKeyBase template
...
- fix Decode call (req. only one param)
- add constructor for base58c->CExtKey
2015-07-23 16:32:21 +02:00
Jonas Schnelli
9da8fc8f26
[QA] remove rawtransactions.py from the extended test list
...
rawtransactions.py is already in the standard test list
2015-07-10 22:01:41 +02:00
Jonas Schnelli
6ed38b0b8f
[QA] fix possible reorg issue in rawtransaction.py/fundrawtransaction.py RPC test
...
- added missing mempool sync between block generations
2015-07-10 21:13:33 +02:00
Jonas Schnelli
65ce0215a4
[bitcoin-cli] improve error output
2015-07-07 17:25:56 +02:00
Jonas Schnelli
c45c7ea0fa
[REST] add JSON support for /rest/headers/
2015-07-05 15:48:33 +02:00
Jonas Schnelli
177a0e4914
Adding CSubNet constructor over a single CNetAddr
2015-07-02 20:44:27 +02:00
Jonas Schnelli
409bccfbf5
use CBanEntry as object container for banned nodes
...
- added a reason enum for a ban
- added creation time for a ban
Using CBanEntry as container will keep banlist.dat extenable.
2015-07-02 20:29:36 +02:00
Jonas Schnelli
dfa174c295
CAddrDB/CBanDB: change filesize variables from int to uint64_t
2015-07-02 20:29:36 +02:00
Jonas Schnelli
f581d3d656
banlist.dat: store banlist on disk
2015-07-02 20:29:36 +02:00
Jonas Schnelli
a7b9623d18
miner: rename UpdateRequestCount signal to ResetRequestCount
2015-07-01 16:09:58 +02:00
Jonas Schnelli
5496253966
add CReserveScript to allow modular script keeping/returning
...
- use one CReserveScript per mining thread
2015-07-01 16:06:14 +02:00
Jonas Schnelli
087e65def9
fix GetScriptForMining() CReserveKey::keepKey() issue
2015-06-30 21:45:46 +02:00
Jonas Schnelli
d0fc10a844
detach wallet from miner
2015-06-30 21:45:46 +02:00
Jonas Schnelli
77aeb7c964
UniValue: don't escape solidus, keep espacing of reverse solidus
2015-06-25 08:10:08 +02:00
Jonas Schnelli
1c043d5672
fix lock issue for QT node diconnect and RPC disconnectnode
2015-06-19 16:32:22 +02:00
Jonas Schnelli
932687bc10
setban: add IPv6 tests
2015-06-19 13:51:42 +02:00
Jonas Schnelli
62909f68a0
fix missing lock in CNode::ClearBanned()
2015-06-19 13:31:33 +02:00
Jonas Schnelli
9d79afe9a9
add RPC tests for setban & disconnectnode
2015-06-17 21:40:56 +02:00
Jonas Schnelli
1f02b80253
setban: add RPCErrorCode
2015-06-17 21:40:56 +02:00
Jonas Schnelli
d624167387
fix CSubNet comparison operator
2015-06-17 21:40:55 +02:00
Jonas Schnelli
4e36e9bcc7
setban: rewrite to UniValue, allow absolute bantime
2015-06-17 21:40:55 +02:00
Jonas Schnelli
3de24d7647
rename json field "bannedtill" to "banned_until"
2015-06-17 21:40:55 +02:00
Jonas Schnelli
433fb1a95d
[RPC] extend setban to allow subnets
2015-06-17 21:40:55 +02:00
Jonas Schnelli
e8b93473f1
[net] remove unused return type bool from CNode::Ban()
2015-06-17 21:40:55 +02:00
Jonas Schnelli
1086ffba26
[QA] add setban/listbanned/clearbanned tests
2015-06-17 21:40:55 +02:00
Jonas Schnelli
d930b26a26
[RPC] add setban/listbanned/clearbanned RPC commands
2015-06-17 21:40:55 +02:00
Jonas Schnelli
2252fb91cd
[net] extend core functionallity for ban/unban/listban
2015-06-17 21:40:55 +02:00
Jonas Schnelli
208589514c
fundrawtransaction tests
2015-06-11 01:03:23 -07:00
Jonas Schnelli
c946ebed5e
fix util_tests.cpp clang warnings
...
was introduced with #6121
2015-06-06 10:12:12 +02:00
Jonas Schnelli
ef5fca8b80
fix rpcmining/getblocktemplate univalue transition logic error
2015-06-04 21:40:11 +02:00
Jonas Schnelli
44c7474446
univalue: add type check unit tests
2015-06-04 13:58:14 +02:00
Jonas Schnelli
519eedeba7
fix univalue json parse tests
2015-06-04 10:35:36 +02:00
Jonas Schnelli
c7fbbc7e1d
fix missing univalue types during constructing
2015-06-04 09:16:21 +02:00
Jonas Schnelli
8f7e4abbe6
fix rpc batching univalue issue
2015-06-04 09:16:21 +02:00
Jonas Schnelli
9a8897f4ac
Remove JSON Spirit wrapper, remove JSON Spirit leftovers
...
- implement find_value() function for UniValue
- replace all Array/Value/Object types with UniValues, remove JSON Spirit to UniValue wrapper
- remove JSON Spirit sources
2015-06-04 09:16:21 +02:00
Jonas Schnelli
3df0411ad9
remove JSON Spirit UniValue wrapper
2015-06-04 09:16:06 +02:00
Jonas Schnelli
1f263c899e
fix rpc unit test, plain numbers are not JSON compatible object
...
UniValues read() does only read valid json.
2015-06-04 09:16:06 +02:00
Jonas Schnelli
e04d9c25cf
univalue: correct bool support
2015-06-04 09:16:06 +02:00
Jonas Schnelli
0c5b2cf69a
univalue: add support for real, fix percision and make it json_spirit compatible
...
- avoid breaking the API because of different number/percision handling
2015-06-04 09:16:06 +02:00
Jonas Schnelli
21c10de8c2
special threatment for null,true,false because they are non valid json
2015-06-04 09:16:06 +02:00
Jonas Schnelli
6c7bee0624
expicit set UniValue type to avoid empty values
2015-06-04 09:16:05 +02:00
Jonas Schnelli
53b4671a9d
extend conversion to UniValue
2015-06-04 09:16:05 +02:00
Jonas Schnelli
0a32a9347e
OSX: use "Bitcoin Core" as Bundle Display Name
2015-06-03 10:06:10 +02:00
Jonas Schnelli
a2241eabfd
[OSX] revert renaming of Bitcoin-Qt.app
2015-06-01 15:42:34 +02:00
Jonas Schnelli
7e6569ea5b
[squashme] improve/corrects prune mode detection test for required wallet rescans
2015-05-28 09:00:45 +02:00
Jonas Schnelli
7a12119d7a
[RPC] disable import functions in pruned mode
...
import functions could lead to a rescan beyond prune level
2015-05-28 09:00:45 +02:00
Jonas Schnelli
3201035f22
[autoprune] allow wallet in pruned mode
2015-05-28 09:00:45 +02:00
Jonas Schnelli
6e71efa9f0
[REST] remove json input for getutxos, limit to query max. 15 outpoints
...
Remove possibility to send json encoded parameters to `/rest/getutxos/` to avoid possible DoS scenarios.
The JSON output option is untouched.
2015-05-27 20:10:02 +02:00
Jonas Schnelli
64b8027c5c
rest.cpp: strip whitespace
2015-05-27 09:41:14 +02:00
Jonas Schnelli
7b7f258396
rpc-tests: remove python-bitcoinrpc directory
...
place authproxy.py at same level as other utility classes
2015-05-21 21:22:22 +02:00
Jonas Schnelli
fb21862b92
[QT] mainwindow toolbar must not be movable
2015-05-19 20:28:20 +02:00
Jonas Schnelli
a85b2e221b
pull-tester/rpc-tests.sh: disable script_test.py test
2015-05-19 16:41:17 +02:00
Jonas Schnelli
16d9cb7e29
[QT] overviewpage: make sure warning icons gets colored
2015-05-19 16:37:13 +02:00
Jonas Schnelli
7cef321e65
[Mac only] rename Bitcoin-Qt.app to "Bitcoin Core.app"
2015-05-19 11:03:49 +02:00
Jonas Schnelli
b448002772
[Docs] fix and improve REST documentation
...
- fix bad formatting of getutxos
- added getztxos example
- fix different command syntax
2015-05-18 16:52:01 +02:00
Jonas Schnelli
3e875b1bef
pull-tester/rpc-tests.sh: allow passing throug of arguments
2015-05-18 15:29:20 +02:00
Jonas Schnelli
00706a5436
update rpc-tests readme.md
2015-05-18 15:25:45 +02:00
Jonas Schnelli
344e08ed16
extend rpc-tests.sh control script with non-travis tests
2015-05-18 15:25:45 +02:00
Jonas Schnelli
64937fe51a
[QA] restructure rpc tests directory
...
* move non-test classes to subdir `test-framework`
2015-05-18 15:25:45 +02:00
Jonas Schnelli
ca5f688547
[QT] don't colorize icons on win and mac
2015-05-13 20:27:26 +02:00
Jonas Schnelli
7247d103ff
[QT] use alert icon with tooltip insted of "(out of sync)" text
...
# Conflicts:
# src/qt/forms/overviewpage.ui
# src/qt/overviewpage.cpp
2015-05-12 20:46:12 +02:00
Jonas Schnelli
51c7c7029e
[QT] remove frame to avoid double-frame situation in sendcoinsentry.ui
2015-05-12 20:46:10 +02:00
Jonas Schnelli
03c56872b5
appropriate response when trying to get a block in pruned mode
2015-05-11 16:10:08 +02:00
Jonas Schnelli
3da7849007
[squashme] simplify SetupEnvironment() (by dexX7)
2015-05-10 10:06:41 +02:00
Jonas Schnelli
a1d0ec44d7
re-add -reindex help message
...
was suddenly removed with fc44231cb7 (probably not by purpose)
2015-05-08 19:59:01 +02:00
Jonas Schnelli
231072fe7b
[QA] add multisig rpc tests
2015-05-07 11:05:23 +02:00