mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Reorganize beast modules and files
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
#ifndef RIPPLE_VALIDATORS_MANAGER_H_INCLUDED
|
||||
#define RIPPLE_VALIDATORS_MANAGER_H_INCLUDED
|
||||
|
||||
namespace Validators
|
||||
{
|
||||
namespace ripple {
|
||||
namespace Validators {
|
||||
|
||||
/** Maintains the list of chosen validators.
|
||||
|
||||
@@ -57,7 +57,7 @@ public:
|
||||
/** Add a live source of validators from a trusted URL.
|
||||
The URL will be contacted periodically to update the list.
|
||||
*/
|
||||
virtual void addURL (UniformResourceLocator const& url) = 0;
|
||||
virtual void addURL (URL const& url) = 0;
|
||||
|
||||
/** Add a live source of validators.
|
||||
The caller loses ownership of the object.
|
||||
@@ -79,6 +79,7 @@ public:
|
||||
virtual void receiveValidation (ReceivedValidation const& rv) = 0;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
#ifndef RIPPLE_VALIDATORS_SOURCE_H_INCLUDED
|
||||
#define RIPPLE_VALIDATORS_SOURCE_H_INCLUDED
|
||||
|
||||
namespace Validators
|
||||
{
|
||||
namespace ripple {
|
||||
namespace Validators {
|
||||
|
||||
/** A source of validator descriptors. */
|
||||
class Source
|
||||
@@ -57,6 +57,7 @@ public:
|
||||
virtual Result fetch (CancelCallback& callback, Journal journal) = 0;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
#ifndef RIPPLE_VALIDATORS_TYPES_H_INCLUDED
|
||||
#define RIPPLE_VALIDATORS_TYPES_H_INCLUDED
|
||||
|
||||
namespace Validators
|
||||
{
|
||||
namespace ripple {
|
||||
namespace Validators {
|
||||
|
||||
typedef RipplePublicKey PublicKey;
|
||||
typedef RipplePublicKeyHash PublicKeyHash;
|
||||
@@ -25,6 +25,7 @@ struct CancelCallback
|
||||
virtual bool shouldCancel () = 0;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user