diff --git a/modules/ripple_data/protocol/ripple_Protocol.h b/modules/ripple_data/protocol/ripple_Protocol.h
index 17f0bc0c98..77a07cb737 100644
--- a/modules/ripple_data/protocol/ripple_Protocol.h
+++ b/modules/ripple_data/protocol/ripple_Protocol.h
@@ -44,6 +44,7 @@ typedef uint256 LedgerHash;
*/
// VFALCO TODO pick one. I like Index since its not an abbreviation
typedef uint32 LedgerIndex;
+// VFALCO NOTE "LedgerSeq" appears in some SQL statement text
typedef uint32 LedgerSeq;
/** A transaction identifier.
diff --git a/modules/ripple_main/ripple_main.cpp b/modules/ripple_main/ripple_main.cpp
index 1a1a1688dd..a2526b5b4a 100644
--- a/modules/ripple_main/ripple_main.cpp
+++ b/modules/ripple_main/ripple_main.cpp
@@ -205,7 +205,7 @@
// -----------
#include "src/cpp/ripple/TransactionMaster.h"
-#include "src/cpp/ripple/Wallet.h"
+#include "src/cpp/ripple/ripple_LocalCredentials.h"
#include "src/cpp/ripple/WSDoor.h"
#include "src/cpp/ripple/SNTPClient.h"
#include "src/cpp/ripple/RPCHandler.h"
@@ -248,7 +248,7 @@
#include "src/cpp/ripple/Transactor.h"
#include "src/cpp/ripple/AccountSetTransactor.h"
#include "src/cpp/ripple/TrustSetTransactor.h"
-#include "src/cpp/ripple/Version.h"
+#include "src/cpp/ripple/ripple_Version.h"
#include "src/cpp/ripple/WSConnection.h"
#include "src/cpp/ripple/WSHandler.h"
#include "src/cpp/ripple/WalletAddTransactor.h"
@@ -313,8 +313,8 @@ static const uint64 tenTo17m1 = tenTo17 - 1;
// Generate DH for SSL connection.
static DH* handleTmpDh (SSL* ssl, int is_export, int iKeyLength)
{
- // VFALCO TODO eliminate this horrendous dependency on theApp and Wallet
- return 512 == iKeyLength ? theApp->getWallet ().getDh512 () : theApp->getWallet ().getDh1024 ();
+ // VFALCO TODO eliminate this horrendous dependency on theApp and LocalCredentials
+ return 512 == iKeyLength ? theApp->getLocalCredentials ().getDh512 () : theApp->getLocalCredentials ().getDh1024 ();
}
#include "src/cpp/ripple/ParameterTable.cpp" // no log
@@ -354,7 +354,7 @@ static DH* handleTmpDh (SSL* ssl, int is_export, int iKeyLength)
#if ! defined (RIPPLE_MAIN_PART) || RIPPLE_MAIN_PART == 3
-#include "src/cpp/ripple/Wallet.cpp"
+#include "src/cpp/ripple/ripple_LocalCredentials.cpp"
#include "src/cpp/ripple/WalletAddTransactor.cpp"
#include "src/cpp/ripple/ripple_HashedObject.cpp"
diff --git a/newcoin.vcxproj b/newcoin.vcxproj
index b953d3db8d..02a4c2a656 100644
--- a/newcoin.vcxproj
+++ b/newcoin.vcxproj
@@ -1273,12 +1273,6 @@
true
true
-
- true
- true
- true
- true
-
true
true
@@ -1309,7 +1303,7 @@
true
true
-
+
true
true
true
@@ -1841,14 +1835,13 @@
-
-
-
+
+
diff --git a/newcoin.vcxproj.filters b/newcoin.vcxproj.filters
index c08f466d76..da09fe83b0 100644
--- a/newcoin.vcxproj.filters
+++ b/newcoin.vcxproj.filters
@@ -432,9 +432,6 @@
1. Modules\ripple_main\_unfactored\transactions
-
- 1. Modules\ripple_main\_unfactored\transactions
-
1. Modules\ripple_main\_unfactored\transactions
@@ -516,9 +513,6 @@
1. Modules\ripple_main\_unfactored\transactions
-
- 1. Modules\ripple_main\_unfactored\transactions
-
2. Empty\ripple_mess
@@ -888,6 +882,9 @@
1. Modules\ripple_data\protocol
+
+ 1. Modules\ripple_main\refactored
+
@@ -1166,9 +1163,6 @@
1. Modules\ripple_main\_unfactored\transactions
-
- 1. Modules\ripple_main\_unfactored\transactions
-
1. Modules\ripple_main\_unfactored\transactions
@@ -1247,9 +1241,6 @@
1. Modules\ripple_main\_unfactored\transactions
-
- 1. Modules\ripple_main\_unfactored\transactions
-
2. Empty\ripple_mess
@@ -1358,9 +1349,6 @@
1. Modules\ripple_basics\utility
-
- 1. Modules\ripple_main\_unfactored\main
-
1. Modules\ripple_main\_unfactored\network
@@ -1655,6 +1643,12 @@
1. Modules\ripple_data\protocol
+
+ 1. Modules\ripple_main\refactored
+
+
+ 1. Modules\ripple_main\_unfactored\main
+
diff --git a/src/cpp/ripple/DBInit.cpp b/src/cpp/ripple/DBInit.cpp
index c80f3fe5ac..176fda95e0 100644
--- a/src/cpp/ripple/DBInit.cpp
+++ b/src/cpp/ripple/DBInit.cpp
@@ -97,7 +97,9 @@ const char* RpcDBInit[] =
int RpcDBCount = NUMBER (RpcDBInit);
-// Wallet database holds local accounts and trusted nodes
+// NodeIdentity database holds local accounts and trusted nodes
+// VFALCO NOTE but its a table not a database, so...?
+//
const char* WalletDBInit[] =
{
// Node identity must be persisted for CAS routing and responsibilities.
diff --git a/src/cpp/ripple/NetworkOPs.cpp b/src/cpp/ripple/NetworkOPs.cpp
index 9c58969508..1a87340810 100644
--- a/src/cpp/ripple/NetworkOPs.cpp
+++ b/src/cpp/ripple/NetworkOPs.cpp
@@ -728,7 +728,7 @@ bool NetworkOPs::checkLastClosedLedger (const std::vector& peerLi
if (mMode >= omTRACKING)
{
++ourVC.nodesUsing;
- uint160 ourAddress = theApp->getWallet ().getNodePublic ().getNodeID ();
+ uint160 ourAddress = theApp->getLocalCredentials ().getNodePublic ().getNodeID ();
if (ourAddress > ourVC.highNodeUsing)
ourVC.highNodeUsing = ourAddress;
@@ -1352,7 +1352,7 @@ Json::Value NetworkOPs::getServerInfo (bool human, bool admin)
info["pubkey_validator"] = "none";
}
- info["pubkey_node"] = theApp->getWallet ().getNodePublic ().humanNodePublic ();
+ info["pubkey_node"] = theApp->getLocalCredentials ().getNodePublic ().humanNodePublic ();
info["complete_ledgers"] = theApp->getLedgerMaster ().getCompleteLedgers ();
diff --git a/src/cpp/ripple/RPCHandler.cpp b/src/cpp/ripple/RPCHandler.cpp
index ee79804f3a..fdb8144dca 100644
--- a/src/cpp/ripple/RPCHandler.cpp
+++ b/src/cpp/ripple/RPCHandler.cpp
@@ -662,7 +662,7 @@ Json::Value RPCHandler::doDataDelete (Json::Value jvRequest, int& cost, ScopedLo
Json::Value ret = Json::Value (Json::objectValue);
- if (theApp->getWallet ().dataDelete (strKey))
+ if (theApp->getLocalCredentials ().dataDelete (strKey))
{
ret["key"] = strKey;
}
@@ -691,7 +691,7 @@ Json::Value RPCHandler::doDataFetch (Json::Value jvRequest, int& cost, ScopedLoc
ret["key"] = strKey;
- if (theApp->getWallet ().dataFetch (strKey, strValue))
+ if (theApp->getLocalCredentials ().dataFetch (strKey, strValue))
ret["value"] = strValue;
return ret;
@@ -714,7 +714,7 @@ Json::Value RPCHandler::doDataStore (Json::Value jvRequest, int& cost, ScopedLoc
Json::Value ret = Json::Value (Json::objectValue);
- if (theApp->getWallet ().dataStore (strKey, strValue))
+ if (theApp->getLocalCredentials ().dataStore (strKey, strValue))
{
ret["key"] = strKey;
ret["value"] = strValue;
diff --git a/src/cpp/ripple/Wallet.h b/src/cpp/ripple/Wallet.h
deleted file mode 100644
index d2faa4b6f9..0000000000
--- a/src/cpp/ripple/Wallet.h
+++ /dev/null
@@ -1,67 +0,0 @@
-#ifndef __WALLET__
-#define __WALLET__
-
-#include
-#include