Point out the problem in this code and make it possible to fix it.

This commit is contained in:
JoelKatz
2012-06-19 14:41:29 -07:00
parent 2c8d99ceb5
commit 9f2d363a14
2 changed files with 80 additions and 66 deletions

View File

@@ -124,6 +124,7 @@ public:
// network state machine
void checkState(const boost::system::error_code& result);
void switchLastClosedLedger(Ledger::pointer newLedger); // Used for the "jump" case
bool checkLastClosedLedger(const std::vector<Peer::pointer> &);
int beginConsensus(Ledger::pointer closingLedger);
void endConsensus();
void setStateTimer(int seconds);