Tidy up includes and add modules to the classic build:

An alternative to the unity build, the classic build compiles each
translation unit individually. This adds more modules to the classic build:

* Remove unity header app.h
* Add missing includes as needed
* Remove obsolete NodeStore backend code
* Add app/, core/, crypto/, json/, net/, overlay/, peerfinder/ to classic build
This commit is contained in:
Vinnie Falco
2014-12-29 08:49:55 -08:00
parent 2e595830b3
commit df54b47cd0
412 changed files with 1736 additions and 1224 deletions

View File

@@ -17,6 +17,13 @@
*/
//==============================================================================
#include <BeastConfig.h>
#include <ripple/app/misc/AmendmentTable.h>
#include <ripple/app/main/Application.h>
#include <ripple/app/misc/Validations.h>
#include <ripple/app/data/DatabaseCon.h>
#include <boost/format.hpp>
namespace ripple {
/** Track the list of "amendments"
@@ -25,10 +32,9 @@ namespace ripple {
rules that is identified by a 256-bit amendment identifier
and adopted, or rejected, by the network.
*/
class AmendmentTableImpl : public AmendmentTable
class AmendmentTableImpl : public AmendmentTable
{
protected:
typedef hash_map<uint256, AmendmentState> amendmentMap_t;
typedef std::pair<const uint256, AmendmentState> amendmentIt_t;
typedef hash_set<uint256> amendmentList_t;
@@ -49,7 +55,6 @@ protected:
void setJson (Json::Value& v, const AmendmentState&);
public:
AmendmentTableImpl (std::chrono::seconds majorityTime, int majorityFraction,
beast::Journal journal)
: m_majorityTime (majorityTime)