Consensus enhancements and eliminating deadlocks after state inclusion. (#69)

This commit is contained in:
Asanka Indrajith
2019-12-13 09:38:50 -05:00
committed by GitHub
parent fd2c960068
commit 7a7aa6d5b3
12 changed files with 89 additions and 89 deletions

View File

@@ -64,6 +64,7 @@ int parse_cmd(int argc, char **argv)
*/
void deinit()
{
proc::deinit();
hplog::deinit();
}
@@ -115,7 +116,7 @@ void std_terminate() noexcept
int main(int argc, char **argv)
{
//seed rand
srand(time(0));
srand(util::get_epoch_milliseconds());
// Register exception handler for std exceptions.
std::set_terminate(&std_terminate);