mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Refactored stage sync logic. (#86)
* Cleaned up stage time sync logic and avoided extra missed rounds. * Moved stage sync time logic to beginning of consensus stage. * Removed check_majority_stage. * Re-organised lcl sync flow.
This commit is contained in:
@@ -118,7 +118,7 @@ int exec_contract(const contract_exec_args &args)
|
||||
execv_args[len - 1] = NULL;
|
||||
|
||||
int ret = execv(execv_args[0], execv_args);
|
||||
LOG_ERR << "Contract process execv failed: " << ret;
|
||||
LOG_ERR << errno << ": Contract process execv failed.";
|
||||
exit(1);
|
||||
}
|
||||
else
|
||||
@@ -187,7 +187,7 @@ int start_state_monitor()
|
||||
execv_args[3] = NULL;
|
||||
|
||||
int ret = execv(execv_args[0], execv_args);
|
||||
LOG_ERR << "State monitor execv failed: " << ret;
|
||||
LOG_ERR << errno << ": State monitor execv failed.";
|
||||
exit(1);
|
||||
}
|
||||
else if (pid < 0)
|
||||
|
||||
Reference in New Issue
Block a user