Skip to content
Bitcoin Roots

v29.4-roots.3 · Commit 23: [PATCH 23/30] 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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

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