Title: Setgenerate removed from latest source? Post by: marvic4 on September 08, 2020, 03:58:23 PM Hello,
In older versions of POS staking coins these commands use to work perfectly(./coin setgenerate true). Code: #ifdef ENABLE_WALLET Code: #ifdef ENABLE_WALLET Code: #ifdef ENABLE_WALLET This is removed from (CRPCCommand command []) Latest, new version of POS coins. When I try to add the in net.cpp or server.cpp it giving error says "could not convert" Code: rpc/server.cpp:258:1: error: could not convert ‘{"generating", "setgenerate", <expression error>, {"true"}’ from ‘<brace-enclosed initializer list>’ to ‘CRPCCommand’ another way I tried Code: rpc/server.cpp:259:1: error: could not convert ‘{"generating", "setgenerate", <expression error>, true, true, false}’ from ‘<brace-enclosed initializer list>’ to ‘CRPCCommand’ How to solve this? Did they removed the code? Thanks. Title: Re: Setgenerate removed from latest source? Post by: marvic4 on September 09, 2020, 03:41:42 AM They have removed those commands. Manual mining should work.
Thanks. |