Valid fork in regtest - Change blockchain via RPC? I've created a regtest network consisting of 2 nodes - node0 &amp; node1.
I'd like to have a fork on the common blockchain and seemingly achieved it by doing so:


nodes start
node0 adds node1 via addnode
node0 generates 1 block with hash 4dac...
node1 generates 1 block with hash 5d8b...
node0 invalidates node0's block with hash 5d8b... via invalidate &lt;hash&gt;
node1 stops
node0 generates 1 block with hash 64f2...
node1 restarts
node1 generates 1 block with hash 5sfg...
node0: getchaintips returns an array with invalidated block's hash 5d8b... with status 


Now my questions:
a) How can I achieve a "valid-fork" status in the output of getchaintips for the previously invalidated fork? [SOLVED] 

b) Is it possible for a node to "conciously"/via RPC give up its own chain and switch to the competing chain?
The longest valid chain is always chosen automatically. Thus the way to make it forcefully switch is using the invalidateblock hidden RPC.