Add SimpleIdentifier traits for non-crypto identifiers

This commit is contained in:
Vinnie Falco
2013-09-23 12:40:35 -07:00
parent 3518a51d4a
commit 426636f48d
31 changed files with 459 additions and 168 deletions

View File

@@ -70,7 +70,7 @@ public:
// Trusted Validators
//virtual bool isPublicKeyTrusted (PublicKey const& publicKey) = 0;
//virtual bool isPublicKeyTrusted (RipplePublicKey const& publicKey) = 0;
//--------------------------------------------------------------------------

View File

@@ -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;

View File

@@ -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. */