aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_net.py
diff options
context:
space:
mode:
authorstratospher <44024636+stratospher@users.noreply.github.com>2023-10-03 09:04:40 +0530
committerstratospher <44024636+stratospher@users.noreply.github.com>2023-10-04 08:34:30 +0530
commit3931e6abc39b8aee1472028dbf76eeb10708d2b4 (patch)
tree29ebccfb127b338db616879bd47d847ba50a67c5 /test/functional/rpc_net.py
parent97f756b12c8d8a9d3b621f296725dd7bf36bc8a9 (diff)
rpc: `getaddrmaninfo` followups
- make `getaddrmaninfo` RPC public since it's not for development purposes only and regular users might find it useful - add missing `all_networks` key to RPC help - use clang format spacing
Diffstat (limited to 'test/functional/rpc_net.py')
-rwxr-xr-xtest/functional/rpc_net.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/functional/rpc_net.py b/test/functional/rpc_net.py
index 2c7f974d0b..44b86662ea 100755
--- a/test/functional/rpc_net.py
+++ b/test/functional/rpc_net.py
@@ -371,11 +371,6 @@ class NetTest(BitcoinTestFramework):
self.log.info("Test getaddrmaninfo")
node = self.nodes[1]
- self.log.debug("Test that getaddrmaninfo is a hidden RPC")
- # It is hidden from general help, but its detailed help may be called directly.
- assert "getaddrmaninfo" not in node.help()
- assert "getaddrmaninfo" in node.help("getaddrmaninfo")
-
# current count of ipv4 addresses in addrman is {'new':1, 'tried':1}
self.log.info("Test that count of addresses in addrman match expected values")
res = node.getaddrmaninfo()