Skip to content

use this_thread::wait_for from standard library

Marcin Sobczyk requested to merge ms_use_std_sleep_in_chain_plugin into develop

libfaketime is used for test purposes, it allows us to use pre-generated blockchain to start testnet and speedup tests.

However on some platforms libfaketime requires compilation with flag FORCE_MONOTONIC_FIX or else does not work correctly (in out example boost:sleep_for hangs forever, this might also depend on boost version and compilation)

But std::sleep_for works correctly with libfaketime and its easier to use it and use default libfaketime release from ubuntu package repository

Merge request reports