MCPcopy Create free account
hub / github.com/cryptonomex/graphene / start_simulated_time

Function start_simulated_time

libraries/time/time.cpp:106–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106void start_simulated_time( const fc::time_point sim_time )
107{
108 simulated_time = sim_time.sec_since_epoch();
109 adjusted_time_sec = 0;
110}
111void advance_simulated_time_to( const fc::time_point sim_time )
112{
113 simulated_time = sim_time.sec_since_epoch();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected