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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
src/wallet/rpc/wallet.cpp
CHANGED
|
@@ -892,6 +892,7 @@ RPCHelpMan sendall();
|
|
| 892 |
RPCHelpMan walletprocesspsbt();
|
| 893 |
RPCHelpMan walletcreatefundedpsbt();
|
| 894 |
RPCHelpMan signrawtransactionwithwallet();
|
|
|
|
| 895 |
|
| 896 |
// signmessage
|
| 897 |
RPCHelpMan signmessage();
|
|
@@ -957,6 +958,7 @@ std::span<const CRPCCommand> GetWalletRPCCommands()
|
|
| 957 |
{"wallet", &setwalletflag},
|
| 958 |
{"wallet", &signmessage},
|
| 959 |
{"wallet", &signrawtransactionwithwallet},
|
|
|
|
| 960 |
{"wallet", &simulaterawtransaction},
|
| 961 |
{"wallet", &sendall},
|
| 962 |
{"wallet", &unloadwallet},
|
|
|
|
| 892 |
RPCHelpMan walletprocesspsbt();
|
| 893 |
RPCHelpMan walletcreatefundedpsbt();
|
| 894 |
RPCHelpMan signrawtransactionwithwallet();
|
| 895 |
+
RPCHelpMan sweepprivkeys();
|
| 896 |
|
| 897 |
// signmessage
|
| 898 |
RPCHelpMan signmessage();
|
|
|
|
| 958 |
{"wallet", &setwalletflag},
|
| 959 |
{"wallet", &signmessage},
|
| 960 |
{"wallet", &signrawtransactionwithwallet},
|
| 961 |
+
{"wallet", &sweepprivkeys},
|
| 962 |
{"wallet", &simulaterawtransaction},
|
| 963 |
{"wallet", &sendall},
|
| 964 |
{"wallet", &unloadwallet},
|