mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-05 18:52:29 +02:00
rpc, net: completely remove startingheight field of getpeerinfo RPC
This commit is contained in:
@@ -63,7 +63,7 @@ class NetTest(BitcoinTestFramework):
|
||||
def set_test_params(self):
|
||||
self.num_nodes = 2
|
||||
self.extra_args = [
|
||||
["-minrelaytxfee=0.00001000", "-deprecatedrpc=startingheight"],
|
||||
["-minrelaytxfee=0.00001000"],
|
||||
["-minrelaytxfee=0.00000500"],
|
||||
]
|
||||
# Specify a non-working proxy to make sure no actual connections to public IPs are attempted
|
||||
@@ -174,7 +174,6 @@ class NetTest(BitcoinTestFramework):
|
||||
"services": "0000000000000000",
|
||||
"servicesnames": [],
|
||||
"session_id": "" if not self.options.v2transport else no_version_peer.v2_state.peer['session_id'].hex(),
|
||||
"startingheight": -1,
|
||||
"subver": "",
|
||||
"synced_blocks": -1,
|
||||
"synced_headers": -1,
|
||||
|
||||
Reference in New Issue
Block a user