Post
Topic
Board Announcements (Altcoins)
Re: NXT :: descendant of Bitcoin - Updated Information
by
marcus03
on 13/02/2014, 16:11:55 UTC
I don't get it. NRS doesn't know which accounts are forging on the local node?


When I use stopForging call on an account that I used startForging on before, I get "foundAndStopped":true, if I do it on an account that I didn't use startForging on I get "foundAndStopped":false, so why isn't it possible to check if an account is forging on the local node?

Could be confusing. Then this API call should be "isForgingLocally".

Include it in the getAccount result like this

{"publicKey":"640050ac792a37bc327b76de539a8ebb99f2fc8428e7fe0d95cdbaaa6bfdad49","balance":22200,"effectiveBalance":22200,"isForgingLocally":true}