mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Persistence for Validators
This commit is contained in:
@@ -18,7 +18,10 @@ public:
|
||||
struct Info
|
||||
{
|
||||
/** The unique key for this validator. */
|
||||
PublicKey key;
|
||||
PublicKey publicKey;
|
||||
|
||||
/** Optional human readable comment describing the validator. */
|
||||
String label;
|
||||
};
|
||||
|
||||
/** Destroy the Source.
|
||||
@@ -30,10 +33,9 @@ public:
|
||||
|
||||
virtual String name () = 0;
|
||||
|
||||
struct CancelCallback
|
||||
{
|
||||
virtual bool shouldCancel () = 0;
|
||||
};
|
||||
virtual String uniqueID () = 0;
|
||||
|
||||
virtual String createParam () = 0;
|
||||
|
||||
/** Fetch the most recent list from the Source.
|
||||
If possible, the Source should periodically poll the
|
||||
|
||||
Reference in New Issue
Block a user