Remove LocalAcctFamilies and LocalAccount tables from DBInit.cpp

This commit is contained in:
Arthur Britto
2012-05-17 20:30:33 -07:00
parent e96ae17554
commit b06a785402

View File

@@ -50,12 +50,6 @@ int LedgerDBCount=sizeof(LedgerDBInit)/sizeof(const char *);
// Wallet database holds local accounts and trusted nodes
const char *WalletDBInit[] = {
"CREATE TABLE LocalAcctFamilies ( \
FamilyGenerator CHARACTER(53) PRIMARY KEY, \
Seq BIGINT UNSIGNED, \
Comment TEXT \
);",
// Node identity must be persisted for CAS routing and responsibilites.
"CREATE TABLE NodeIdentity ( \
PublicKey CHARACTER(53), \
@@ -209,17 +203,6 @@ const char *WalletDBInit[] = {
PeerIps(ScanNext);"
};
#if 0
"CREATE TABLE LocalAccounts ( \
ID CHARACTER(35) PRIMARY KEY, \
PrivateKey TEXT \
Seq BIGINT UNSIGNED, \
Balance BIGINT UNSIGNED, \
LedgerSeq BIGINT UNSIGNED, \
Comment TEXT \
);",
#endif
int WalletDBCount=sizeof(WalletDBInit)/sizeof(const char *);
// Hash node database holds nodes indexed by hash