Currently the only way I know if signaling
NEWNYM worked is if I didn't receive a message stating that I've been rate limited.
Is there a way to send something via
GETINFO both pre/post signaling for a new identity and compare them after?
Not seeing anything in the spec (https://torproject.gitlab.io/torspec/control-spec/#getinfo), help would be very much appreciated :-D!
EDIT: My workaround. I created a custom listener to write all notice messages to a string buffer. Added the listener before signaling NEWNYM, then waited a few milliseconds and checked the buffer to see if it contained the
Rate limited message. If not, I posted to the notification that Identity was changed.
If you've got any better ideas, would be much appreciated.