diff options
author | Jon Atack <jon@atack.com> | 2021-09-14 12:14:43 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-09-15 15:28:36 +0200 |
commit | ef242f52137f2a79a739447251d7759bd4705be0 (patch) | |
tree | 82b45a11872c1d68431e1a2cb04631cc940c2ec2 /src/rpc/client.cpp | |
parent | 5e3380b9f59481fc18e05b9d651c3c733abe4053 (diff) |
Allow passing "tried" to rpc addpeeraddress to call CAddrMan::Good()
Co-authored-by: Martin Zumsande <mzumsande@gmail.com>
Co-authored-by: John Newbery <john@johnnewbery.com>
Co-authored-by: Vasil Dimov <vd@FreeBSD.org>
Diffstat (limited to 'src/rpc/client.cpp')
-rw-r--r-- | src/rpc/client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index 4357ab2bb3..d6943e066a 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -192,6 +192,7 @@ static const CRPCConvertParam vRPCConvertParams[] = { "unloadwallet", 1, "load_on_startup"}, { "getnodeaddresses", 0, "count"}, { "addpeeraddress", 1, "port"}, + { "addpeeraddress", 2, "tried"}, { "stop", 0, "wait" }, }; // clang-format on |