Skip to content
Bitcoin Roots

v30.3-roots.1 · Commit 23: [PATCH 23/68] 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 8e1cec556540397b9814edbc8b30851e5ff22270..06baf71bea48b54079f3d0f2a6572d0b6685f243 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
@@ -892,6 +892,7 @@ RPCHelpMan sendall();
892
892
  RPCHelpMan walletprocesspsbt();
893
893
  RPCHelpMan walletcreatefundedpsbt();
894
894
  RPCHelpMan signrawtransactionwithwallet();
895
+ RPCHelpMan sweepprivkeys();
895
896
 
896
897
  // signmessage
897
898
  RPCHelpMan signmessage();
@@ -957,6 +958,7 @@ std::span<const CRPCCommand> GetWalletRPCCommands()
957
958
  {"wallet", &setwalletflag},
958
959
  {"wallet", &signmessage},
959
960
  {"wallet", &signrawtransactionwithwallet},
961
+ {"wallet", &sweepprivkeys},
960
962
  {"wallet", &simulaterawtransaction},
961
963
  {"wallet", &sendall},
962
964
  {"wallet", &unloadwallet},