mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add SimpleIdentifier traits for non-crypto identifiers
This commit is contained in:
@@ -70,7 +70,7 @@ public:
|
||||
|
||||
// Trusted Validators
|
||||
|
||||
//virtual bool isPublicKeyTrusted (PublicKey const& publicKey) = 0;
|
||||
//virtual bool isPublicKeyTrusted (RipplePublicKey const& publicKey) = 0;
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ public:
|
||||
struct Info
|
||||
{
|
||||
/** The unique key for this validator. */
|
||||
PublicKey publicKey;
|
||||
RipplePublicKey publicKey;
|
||||
|
||||
/** Optional human readable comment describing the validator. */
|
||||
String label;
|
||||
|
||||
@@ -10,13 +10,11 @@
|
||||
namespace ripple {
|
||||
namespace Validators {
|
||||
|
||||
typedef RipplePublicKey PublicKey;
|
||||
typedef RipplePublicKeyHash PublicKeyHash;
|
||||
|
||||
struct ReceivedValidation
|
||||
{
|
||||
uint256 ledgerHash;
|
||||
PublicKeyHash signerPublicKeyHash;
|
||||
RippleLedgerHash ledgerHash;
|
||||
RipplePublicKey publicKey;
|
||||
RipplePublicKeyHash publicKeyHash;
|
||||
};
|
||||
|
||||
/** Callback used to optionally cancel long running fetch operations. */
|
||||
|
||||
Reference in New Issue
Block a user