John Newbery
ee1a60d156
[tests] update disconnect_ban.py test case to work with listbanned
...
Github-Pull: #10234
Rebased-From: d6732d832aa901e733e63799260d409821a2c37a
2017-06-05 22:56:22 +00:00
John Newbery
04226938a3
[tests] disconnect_ban: remove dependency on urllib
...
Github-Pull: #10143
Rebased-From: 5cc3ee24d29397737f2746d78b19a2509c0dedbb
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: 12de2f252c8f48e05c579cb679866a68af8c660e
2017-06-05 22:55:10 +00:00
John Newbery
bfd1cf6713
[tests] disconnectban test - only use two nodes
...
Github-Pull: #10143
Rebased-From: 395561becfa612fedec74fd841cb4f28afdc23d7
2017-06-05 19:26:13 +00:00
John Newbery
5bc75bb8ee
[tests] fix nodehandling.py flake8 warnings
...
Github-Pull: #10143
Rebased-From: d6564a26f4afc28d7d1a24b94946916387c9bf24
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: a012087667edb35a36f25ae06b42b1644d80e649
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