Reorganize beast modules and files

This commit is contained in:
Vinnie Falco
2013-09-22 19:02:48 -07:00
parent 19eff08e16
commit 20b2e318eb
111 changed files with 1568 additions and 8991 deletions

View File

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

View File

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

View File

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