Skip to content
Bitcoin Roots

v29.4-roots.4 · Commit 23: [PATCH 23/37] feat(wallet): add transient private-key sweep RPC

src/rpc/client.cpp

Before: src/rpc/client.cpp · After: src/rpc/client.cpp

File metadata
index 1b711e3c5b15006753ca27d247ad321182cdb077..d24a70438d6431da1d8188cd7f2e65fab59fdab6 100644

Download original patch · Release notes

Diff rows 1–8 of 8. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.

src/rpc/client.cpp CHANGED
@@ -96,6 +96,8 @@ static const CRPCConvertParam vRPCConvertParams[] =
96
96
  { "getdescriptoractivity", 1, "scanobjects" },
97
97
  { "getdescriptoractivity", 2, "include_mempool" },
98
98
  { "scantxoutset", 1, "scanobjects" },
99
+ { "sweepprivkeys", 0, "privkeys" },
100
+ { "sweepprivkeys", 2, "broadcast" },
99
101
  { "addmultisigaddress", 0, "nrequired" },
100
102
  { "addmultisigaddress", 1, "keys" },
101
103
  { "createmultisig", 0, "nrequired" },