mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Remove LocalAcctFamilies and LocalAccount tables from DBInit.cpp
This commit is contained in:
@@ -50,12 +50,6 @@ int LedgerDBCount=sizeof(LedgerDBInit)/sizeof(const char *);
|
|||||||
|
|
||||||
// Wallet database holds local accounts and trusted nodes
|
// Wallet database holds local accounts and trusted nodes
|
||||||
const char *WalletDBInit[] = {
|
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.
|
// Node identity must be persisted for CAS routing and responsibilites.
|
||||||
"CREATE TABLE NodeIdentity ( \
|
"CREATE TABLE NodeIdentity ( \
|
||||||
PublicKey CHARACTER(53), \
|
PublicKey CHARACTER(53), \
|
||||||
@@ -209,17 +203,6 @@ const char *WalletDBInit[] = {
|
|||||||
PeerIps(ScanNext);"
|
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 *);
|
int WalletDBCount=sizeof(WalletDBInit)/sizeof(const char *);
|
||||||
|
|
||||||
// Hash node database holds nodes indexed by hash
|
// Hash node database holds nodes indexed by hash
|
||||||
|
|||||||
Reference in New Issue
Block a user