Add -stakenotify to trigger external script when a coinstake transaction is created.