mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add README and tidy up comments
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
//
|
||||
//----------------------------------------------------------------------
|
||||
//--------------------------------------------------------------------------
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user