-
Notifications
You must be signed in to change notification settings - Fork 719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DIP3 and DIP6 bugs #2815
base: master
Are you sure you want to change the base?
DIP3 and DIP6 bugs #2815
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tACK 8b00afa
Works as intended
The changes to To continue providing help output after this command is rendered moot would only serve to introduce confusion. |
@Fuzzbawls That change renders this error from occurring moving forward. Considering it will be depreciated, it is still in use now |
oh you mean the overall help list... in that case, this would be more optimal at the top of the function: Index: src/rpc/masternode.cpp
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/src/rpc/masternode.cpp b/src/rpc/masternode.cpp
--- a/src/rpc/masternode.cpp (revision 59e4c1acb092abc46b825fd461a86fef0e80bd71)
+++ b/src/rpc/masternode.cpp (date 1677928321976)
@@ -410,7 +410,11 @@
{
// Skip after legacy obsolete. !TODO: remove when transition to DMN is complete
if (deterministicMNManager->LegacyMNObsolete()) {
- throw JSONRPCError(RPC_MISC_ERROR, "startmasternode is not supported when deterministic masternode list is active (DIP3)");
+ if (request.fHelp) {
+ throw std::runtime_error("startmasternode (deprecated and no longer functional)");
+ } else {
+ throw JSONRPCError(RPC_MISC_ERROR, "startmasternode is not supported when deterministic masternode list is active (DIP3)");
+ }
}
CWallet * const pwallet = GetWalletForJSONRPCRequest(request); |
Okay yes I agree in this change accounting for the help request, and yes also help fixing was the intended solution. |
updated to suggested change which is indeed cleaner, by the way don't tACK PR has still TODO to be done |
if you intend to keep this PR open whilst further changes are pending or "in discovery", either add |
btw, Draft or [WIP] status/notation should not discourage anyone from giving review feedback if they notice something that should be changed, but should avoid the ACK/tACK stamp of approval on something that is clearly not finalized just yet. |
The aim of this PR is fixing all the bugs (mostly are trivial) that we are finding while testing the v6.0
Bugs found:
TODO (BUGS That still must be solved):
keep finding more bugs