Add README and tidy up comments

This commit is contained in:
Vinnie Falco
2013-11-10 10:56:18 -08:00
parent 9e519af887
commit 19d4bf0ea5
5 changed files with 84 additions and 7 deletions

View File

@@ -80,7 +80,7 @@ public:
RippleLedgerHash::key_equal> SeenLedgerHashes;
SeenLedgerHashes m_seenLedgerHashes;
//----------------------------------------------------------------------
//--------------------------------------------------------------------------
explicit Logic (Store& store, Journal journal = Journal ())
: m_store (store)
@@ -106,7 +106,7 @@ public:
state->fetchSource->cancel ();
}
//----------------------------------------------------------------------
//--------------------------------------------------------------------------
void load ()
{
@@ -223,10 +223,11 @@ public:
return numRemoved;
}
//----------------------------------------------------------------------
//--------------------------------------------------------------------------
//
// Chosen
//
//--------------------------------------------------------------------------
/** Rebuild the Chosen List. */
void buildChosen ()
@@ -272,10 +273,11 @@ public:
return m_chosenList;
}
//----------------------------------------------------------------------
//--------------------------------------------------------------------------
//
// Fetching
//
//--------------------------------------------------------------------------
/** Perform a fetch on the source. */
void fetch (SourceDesc& desc)
@@ -406,10 +408,11 @@ public:
return n;
}
//----------------------------------------------------------------------
//--------------------------------------------------------------------------
//
// Ripple interface
//
//--------------------------------------------------------------------------
// Called when we receive a signed validation
//
@@ -450,8 +453,7 @@ public:
return m_chosenList->containsPublicKeyHash (publicKeyHash);
}
//
//----------------------------------------------------------------------
//--------------------------------------------------------------------------
};
}