+
+ | Chosen Validators |
+ A set of validators chosen by the Validators module. This is the new term
+ for what was formerly known as the Unique Node List.
+ |
+
+
+ | Source |
+ A trusted source of validator descriptors. Examples: the rippled
+ configuration file, a local text file, or a trusted URL such
+ as https://ripple.com/validators.txt.
+ |
+
+
+ | Validation |
+ A closed ledger hash signed by a validator.
+ |
+
+
+ | Validator |
+ A publicly verifiable entity which signs ledger hashes with its private
+ key, and makes its public key available through out of band means.
+ |
+
+
diff --git a/src/ripple/validators/impl/Logic.h b/src/ripple/validators/impl/Logic.h
index de5d6d4215..23ce75bca7 100644
--- a/src/ripple/validators/impl/Logic.h
+++ b/src/ripple/validators/impl/Logic.h
@@ -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);
}
- //
- //----------------------------------------------------------------------
+ //--------------------------------------------------------------------------
};
}