John Newbery
ee1a60d156
[tests] update disconnect_ban.py test case to work with listbanned
...
Github-Pull: #10234
Rebased-From: d6732d832a
2017-06-05 22:56:22 +00:00
John Newbery
04226938a3
[tests] disconnect_ban: remove dependency on urllib
...
Github-Pull: #10143
Rebased-From: 5cc3ee24d2
2017-06-05 22:56:04 +00:00
John Newbery
98bd0c338b
[tests] disconnect_ban: use wait_until instead of sleep
...
Github-Pull: #10143
Rebased-From: 12de2f252c
2017-06-05 22:55:10 +00:00
John Newbery
bfd1cf6713
[tests] disconnectban test - only use two nodes
...
Github-Pull: #10143
Rebased-From: 395561becf
2017-06-05 19:26:13 +00:00
John Newbery
5bc75bb8ee
[tests] fix nodehandling.py flake8 warnings
...
Github-Pull: #10143
Rebased-From: d6564a26f4
2017-06-05 19:26:13 +00:00
John Newbery
4943d7a9fe
Return correct error codes in setban().
...
The setban() RPC was returning misleading or incorrect error
codes (for example RPC_CLIENT_NODE_ALREADY_ADDED when an invalid IP
address was entered). This commit fixes those error codes:
- RPC_CLIENT_INVALID_IP_OR_SUBNET should be returned if the client
enters an invalid IP address or subnet.
This commit also updates the test cases to explicitly test the error code.
This commit also adds a testcase for trying to setban on an invalid subnet.
Github-Pull: #9853
Rebased-From: a012087667
2017-06-05 19:01:16 +00:00
practicalswift
95bab821b3
Remove unused Python imports
2017-01-13 19:03:20 +01:00
MarcoFalke
fac9349798
[qa] Remove hardcoded "4 nodes" from test_framework
2016-05-15 12:58:53 +02:00
MarcoFalke
fa389d4edc
[qa] Switch to py3
2016-05-05 15:43:37 +02:00
MarcoFalke
7777994846
[qa] Fix pyton syntax in rpc tests
2016-01-13 20:31:03 +01:00
MarcoFalke
fa24439ff3
Bump copyright headers to 2015
2015-12-13 18:08:39 +01:00
Jonas Schnelli
07f70b2dde
[QA] fix netbase tests because of new CSubNet::ToString() output
2015-09-16 16:50:20 +02:00
Jonas Schnelli
f581d3d656
banlist.dat: store banlist on disk
2015-07-02 20:29:36 +02:00
Jonas Schnelli
9d79afe9a9
add RPC tests for setban & disconnectnode
2015-06-17 21:40:56 +02:00