Achieving reliable consensus. (#60)

* Remove considering stage when voting and considering lcl.

* Stage sync , lcl sync  and candidate set changes.

* Implemented ledger close time resolution and fixed ledger retrieval issues.

* Code cleanup and added more comments on reliability changes.

* Added further comments and  clenup.
This commit is contained in:
Asanka Indrajith
2019-11-25 07:40:22 -05:00
committed by GitHub
parent 684a6bb18f
commit bebdace519
10 changed files with 267 additions and 137 deletions

View File

@@ -176,8 +176,7 @@ int main(int argc, char **argv)
signal(SIGINT, signal_handler);
//we are waiting for peer to estasblish peer connections.
//otherwise we'll run into not enough peers propsing/stage desync deadlock directly now.
sleep(3);
sleep(10); //todo: replace waiting with a check to peer check.
while (true)
{