v29.4-roots.3 · Commit 23: [PATCH 23/30] feat(wallet): add transient private-key sweep RPC
src/qt/test/rpcnestedtests.cpp
Before: src/qt/test/rpcnestedtests.cpp · After: src/qt/test/rpcnestedtests.cpp
File metadata
index 0797d31a71a92191dd31a26b9385ed38e19848d5..40a459a86106e4325e4d54513443b73c32b08920 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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
src/qt/test/rpcnestedtests.cpp
CHANGED
|
@@ -93,6 +93,8 @@ void RPCNestedTests::rpcNestedTests()
|
|
| 93 |
QVERIFY(filtered == "signmessagewithprivkey(…)");
|
| 94 |
RPCConsole::RPCParseCommandLine(nullptr, result, "signrawtransactionwithkey(abc)", false, &filtered);
|
| 95 |
QVERIFY(filtered == "signrawtransactionwithkey(…)");
|
|
|
|
|
|
|
| 96 |
RPCConsole::RPCParseCommandLine(nullptr, result, "walletpassphrase(help())", false, &filtered);
|
| 97 |
QVERIFY(filtered == "walletpassphrase(…)");
|
| 98 |
RPCConsole::RPCParseCommandLine(nullptr, result, "walletpassphrasechange(help(walletpassphrasechange(abc)))", false, &filtered);
|
|
|
|
| 93 |
QVERIFY(filtered == "signmessagewithprivkey(…)");
|
| 94 |
RPCConsole::RPCParseCommandLine(nullptr, result, "signrawtransactionwithkey(abc)", false, &filtered);
|
| 95 |
QVERIFY(filtered == "signrawtransactionwithkey(…)");
|
| 96 |
+
RPCConsole::RPCParseCommandLine(nullptr, result, "sweepprivkeys([sentinel], destination)", false, &filtered);
|
| 97 |
+
QVERIFY(filtered == "sweepprivkeys(…)");
|
| 98 |
RPCConsole::RPCParseCommandLine(nullptr, result, "walletpassphrase(help())", false, &filtered);
|
| 99 |
QVERIFY(filtered == "walletpassphrase(…)");
|
| 100 |
RPCConsole::RPCParseCommandLine(nullptr, result, "walletpassphrasechange(help(walletpassphrasechange(abc)))", false, &filtered);
|