anchor.diff:      start_node(old_node1, Cfg),
       start_node(old_node2, Cfg),
       T0 = erlang:system_time(seconds),
  -    wait_for_value({height, 0}, [old_node1, old_node2], NodeStartupTime, Cfg),
  +    wait_for_startup([old_node1, old_node2], 0, Cfg),
       StartupTime = erlang:system_time(seconds) - T0,
   
       Length = max(20, 5 + proplists:get_value(blocks_per_second, Cfg) * StartupTime),
  
positive.code: %% that we had in the chain before stopping: data is persistent.
  docker_keeps_data(Cfg) ->
      Length = 20,
      NodeStartupTime = proplists:get_value(startup_timeout, Cfg),
      NodeShutdownTime = proplists:get_value(node_shutdown_time, Cfg),
  
      setup_nodes([?STANDALONE_NODE], Cfg),
  
      start_node(standalone_node, Cfg),
      wait_for_value({height, 0}, [standalone_node], NodeStartupTime, Cfg),
  
      %% Mines for 20 blocks and calculate the average mining time
      StartTime = os:timestamp(),
  
negative.code: 
      inject_spend_txs(old_node1, patron(), 20, 41, 100), 
  
      wait_for_startup([new_node1], 0, Cfg),
  
      %% Starting http interface takes more time than sync, but:
      %% Wait enough for node 3 to sync but not for it to build a new chain
  