v30.3-roots.1 · Commit 23: [PATCH 23/68] 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 0857a4ebd5ab4cc9f9d897484e185cb5e237592c..70d22f8b590c95376f5deb26b5af33c1b6b51ae5 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
|
@@ -91,6 +91,8 @@ void RPCNestedTests::rpcNestedTests()
|
|
| 91 |
QVERIFY(filtered == "signmessagewithprivkey(…)");
|
| 92 |
RPCConsole::RPCParseCommandLine(nullptr, result, "signrawtransactionwithkey(abc)", false, &filtered);
|
| 93 |
QVERIFY(filtered == "signrawtransactionwithkey(…)");
|
|
|
|
|
|
|
| 94 |
RPCConsole::RPCParseCommandLine(nullptr, result, "walletpassphrase(help())", false, &filtered);
|
| 95 |
QVERIFY(filtered == "walletpassphrase(…)");
|
| 96 |
RPCConsole::RPCParseCommandLine(nullptr, result, "walletpassphrasechange(help(walletpassphrasechange(abc)))", false, &filtered);
|
|
|
|
| 91 |
QVERIFY(filtered == "signmessagewithprivkey(…)");
|
| 92 |
RPCConsole::RPCParseCommandLine(nullptr, result, "signrawtransactionwithkey(abc)", false, &filtered);
|
| 93 |
QVERIFY(filtered == "signrawtransactionwithkey(…)");
|
| 94 |
+
RPCConsole::RPCParseCommandLine(nullptr, result, "sweepprivkeys([sentinel], destination)", false, &filtered);
|
| 95 |
+
QVERIFY(filtered == "sweepprivkeys(…)");
|
| 96 |
RPCConsole::RPCParseCommandLine(nullptr, result, "walletpassphrase(help())", false, &filtered);
|
| 97 |
QVERIFY(filtered == "walletpassphrase(…)");
|
| 98 |
RPCConsole::RPCParseCommandLine(nullptr, result, "walletpassphrasechange(help(walletpassphrasechange(abc)))", false, &filtered);
|