Skip to content
Bitcoin Roots

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

src/wallet/rpc/wallet.cpp

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

File metadata
index 89b174d0f7a15d694f2ce37ecce2c3da48a77dcb..c97fb248121df02a505d5245dde5166623fa78f8 100644

Download original patch · Release notes

Diff rows 1–14 of 14. 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/wallet/rpc/wallet.cpp CHANGED
@@ -1091,6 +1091,7 @@ RPCHelpMan sendall();
1091
1091
  RPCHelpMan walletprocesspsbt();
1092
1092
  RPCHelpMan walletcreatefundedpsbt();
1093
1093
  RPCHelpMan signrawtransactionwithwallet();
1094
+ RPCHelpMan sweepprivkeys();
1094
1095
 
1095
1096
  // signmessage
1096
1097
  RPCHelpMan signmessage();
@@ -1167,6 +1168,7 @@ Span<const CRPCCommand> GetWalletRPCCommands()
1167
1168
  {"wallet", &setwalletflag},
1168
1169
  {"wallet", &signmessage},
1169
1170
  {"wallet", &signrawtransactionwithwallet},
1171
+ {"wallet", &sweepprivkeys},
1170
1172
  {"wallet", &simulaterawtransaction},
1171
1173
  {"wallet", &sendall},
1172
1174
  {"wallet", &unloadwallet},