I was trying to understand the stellar code base and was looking for a place where 5 sec
slot timing is hardcoded (if I am not wrong). But unable to find that, instead in ovalayManagerImpl.cpp
file I found that timer elapsed at every 2 sec
.
mTimer.expires_from_now(std::chrono::seconds(2));
Am I looking at incorrect file? Also, my second question is what is the rational behind the 5 sec slot timing ?
config.cpp
file. look at my answer below. now I have to understand whymTimer
is set to2
sec then in OverlayManagerImpl.cpp file. – Vishwas Bhushan Jul 23 '19 at 5:34