MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / start_fork_update_time_loop

Method start_fork_update_time_loop

src/Chain/libraries/client/Client.cpp:724–731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

722 "rebroadcast_pending");
723 }
724 void ClientImpl::start_fork_update_time_loop() {
725 if (!_fork_update_loop_done.valid() || _fork_update_loop_done.ready())
726 _fork_update_loop_done = fc::schedule([=]() {
727 fork_update_time_loop();
728 },
729 fc::time_point::now() + fc::seconds((int64_t)(ALP_BLOCKCHAIN_BLOCK_INTERVAL_SEC * 6)),
730 "rebroadcast_pending");
731 }
732
733 //Add start local pending loop function
734 void ClientImpl::start_local_pending_loop() {

Callers

nothing calls this directly

Calls 5

scheduleFunction · 0.85
nowFunction · 0.85
secondsFunction · 0.50
validMethod · 0.45
readyMethod · 0.45

Tested by

no test coverage detected