Re: Development of alert system

Figures: nelisky
Quote from: satoshi on August 25, 2010, 8:59:30 AM UTC
Quote from: nelisky on August 24, 2010, 4:28:32 PM UTC

So what kind of warning do admins get from bitcoind? Is there something we can grep from debug.log? Or will rpc calls raise some specific error? Is there a way to locally force this to happen, for unittesting services?

getinfo has a new field that shows any alert messages or other errors that would be displayed on the status bar.

The rpc methods return a json-rpc error with the error description “Safe mode: ” followed by additional text specified by the alert.

I added the switch “-testsafemode” for you. SVN rev 145.

This stuff is very new and may still be subject to change.

Perfect, works great for me. Thank you.