Are there any methods other than RPC command
invalidateblock <hash> for creating forks?
I know that forks occur when two miners (nearly) simultanously each generate a block for a previous common block but is this the only natural way to fork the blockchain?
I want to test blockchain forks with multiple nodes and would like to have one node intentionally create forks from time to time. How can I achieve this?
Do I need to make all nodes generate blocks simultanously and hope that randomly two or more blocks are created at the same time? - This would lead to a mess, right?