I'm implementing a new control command to print some info requested from the network and/or internal state, similar to getinfo. Found the function that it will call and am making those changes. Is there a suggested entry to the control command parser for new commands? Or a dummy template that one should follow?
On Tue, May 28, 2013 at 11:13 AM, grarpamp grarpamp@gmail.com wrote:
I'm implementing a new control command to print some info requested from the network and/or internal state, similar to getinfo. Found the function that it will call and am making those changes. Is there a suggested entry to the control command parser for new commands? Or a dummy template that one should follow?
Not AFAIK, but it is *strongly* recommended that you write up what the patch to control-spec.txt should look like before you get too far into your patch, so that in case people have comments about the design, you can tweak that before you've gotten too far writing it the other way.
Is there a suggested entry to the control command parser for new commands? Or a dummy template that one should follow?
Not AFAIK
Ok, when I get to the control part I'll clone the interface of some similar command action.
patch to control-spec.txt should look like before you get too far into
The creation of a proper entry and review is on the todo.