其他参与者原话gavinandresen原帖 ↗TODO:如果没设 rpc.user/rpc.password,弹对话框或在 debug.log 里警告,说明如何设置。
TODO: dialog box or debug.log warning if no rpc.user/rpc.password is set, explaining how to set.
在 RPC 相关的很多场景里,可以这样用 fprintf(stdout, 打印到控制台:
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
#if defined(__WXMSW__) && wxUSE_GUI
MyMessageBox("Warning: rpc password is blank, use -rpcpw=<password>
MyMessageBox("Warning: rpc password is blank, use -rpcpw=<password>
", "Bitcoin", wxOK | wxICON_EXCLAMATION);
", "Bitcoin", wxOK | wxICON_EXCLAMATION);
#else
#else
fprintf(stdout, "Warning: rpc password is blank, use -rpcpw=<password>
fprintf(stdout, "Warning: rpc password is blank, use -rpcpw=<password>
");
");
#endif
#endif
当前版本尚未建立逐条校对状态记录。来源核验、历史审校与当前译文校对是不同事项。
译文内容版本:dac4b77403b0。用于比对文本,不代表校对等级或更新时间。
请填写对应原文、现译文、建议译法和理由。复制后通过你联系本站作者的渠道提交;此处不会自动发送。