From b06a785402ab5eddfc1a1fe5339a1c478160bcc4 Mon Sep 17 00:00:00 2001 From: Arthur Britto Date: Thu, 17 May 2012 20:30:33 -0700 Subject: [PATCH] Remove LocalAcctFamilies and LocalAccount tables from DBInit.cpp --- src/DBInit.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/DBInit.cpp b/src/DBInit.cpp index cf746b59f..e043dca38 100644 --- a/src/DBInit.cpp +++ b/src/DBInit.cpp @@ -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