Keys module - Private keys of node and sinks (shares) are managed by keys module - sink_chest is moved here - Seperate sinkIDs for each service Sink Private key security improvements - Shares are stored as index in SQL - Indexes are mapped with sinkIDs in file system - File is shuffled on interval - Every file data is stored in encrypted format Other changes - changes required for the above - RefundTransact is now dedicated to Convert service only (as every service has diff sinkID) - moved periodicProcess to background.js
31 lines
684 B
SQL
31 lines
684 B
SQL
/* Node data */
|
|
TRUNCATE _backup;
|
|
TRUNCATE _backupCache;
|
|
TRUNCATE AuditTrade;
|
|
TRUNCATE BuyOrder;
|
|
TRUNCATE Distributors;
|
|
TRUNCATE VaultTransactions;
|
|
TRUNCATE PriceHistory;
|
|
TRUNCATE RequestLog;
|
|
TRUNCATE SellOrder;
|
|
TRUNCATE UserBalance;
|
|
TRUNCATE UserSession;
|
|
TRUNCATE UserTag;
|
|
TRUNCATE TransferTransactions;
|
|
TRUNCATE TradeTransactions;
|
|
TRUNCATE SellChips;
|
|
TRUNCATE CloseBondTransact;
|
|
TRUNCATE CloseFundTransact;
|
|
TRUNCATE ConvertFund;
|
|
TRUNCATE DirectConvert;
|
|
TRUNCATE RefundConvert;
|
|
|
|
/* Blockchain data */
|
|
TRUNCATE LastTx;
|
|
TRUNCATE NodeList;
|
|
TRUNCATE TrustedList;
|
|
DELETE FROM BlockchainBonds;
|
|
TRUNCATE BobsFundInvestments;
|
|
DELETE FROM BobsFund;
|
|
DELETE FROM TagList;
|
|
DELETE FROM AssetList; |