Sadly, it wouldn’t make much sense to change it, because
CallRPC isn’t exactly the same as
ConnectAndCallRPC. In my code there is a “default”
CallRPC, which collides with my special “-generate” command that needs two of such calls. So, either I modify this implicit RPCCall thus making it even more complex, or I leave it as it is. I don’t remember exactly, because it’s been three months since I’ve worked on this code, but I wrote all that “ceremonial” stuff (extra request handlers etc.) because I didn’t want to introduce even more
if-then-else to find my way around the already complex structure there. But now, as the
ConnectAndCallRPC has actually moved away this “default” CallRPC I could work on that basis. Hence my question, should I rebase the code.