Re: JSON-RPC password

Re: JSON-RPC password

Date: July 22, 2010

Source: BitcoinTalk Forum

URL: https://satoshi.nakamotoinstitute.org/posts/bitcointalk/254/


Quote from: gavinandresen on July 22, 2010, 01:11:26 AM

TODO: dialog box or debug.log warning if no rpc.user/rpc.password is set, explaining how to set.

In many of the contexts of this RPC stuff, you can print to the console with fprintf(stdout, like this:

if defined(__WXMSW__) && wxUSE_GUI

MyMessageBox("Warning: rpc password is blank, use -rpcpw=

", "Bitcoin", wxOK | wxICON_EXCLAMATION);

else

fprintf(stdout, "Warning: rpc password is blank, use -rpcpw=

");

endif


← Back to Satoshi Record