diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2021-05-13 18:51:47 +0200 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2021-12-02 13:16:18 +0700 |
commit | dce8c4c38111556ca480aa0e63c46b71f66b508f (patch) | |
tree | d43051c4e187c70cf3d700d8eb308012811b041a /src/rpc/client.cpp | |
parent | b884ababc29ce963826d8a4327ed6a5e629ff175 (diff) | |
download | bitcoin-dce8c4c38111556ca480aa0e63c46b71f66b508f.tar.xz |
rpc: getblockfrompeer
Co-authored-by: John Newbery <john@johnnewbery.com>
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 90fbd823a4..349efa3bd1 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -56,6 +56,7 @@ static const CRPCConvertParam vRPCConvertParams[] = { "getbalance", 1, "minconf" }, { "getbalance", 2, "include_watchonly" }, { "getbalance", 3, "avoid_reuse" }, + { "getblockfrompeer", 1, "nodeid" }, { "getblockhash", 0, "height" }, { "waitforblockheight", 0, "height" }, { "waitforblockheight", 1, "timeout" }, |