2 types of property: 1. Cash - main/central currency used for trading 2. Asset - (FLO/tokens) Can be brought or sold in the exchange market . - Allow multiple tokens to act as asset in addition to FLO. - Changes required for the above in deposits, withdraws, placing orders - some code optimization in market.js - Updated SQL schema
23 lines
429 B
SQL
23 lines
429 B
SQL
/* Node data */
|
|
TRUNCATE _backup;
|
|
TRUNCATE auditTransaction;
|
|
TRUNCATE BuyOrder;
|
|
TRUNCATE Cash;
|
|
TRUNCATE inputFLO;
|
|
TRUNCATE inputToken;
|
|
TRUNCATE outputFLO;
|
|
TRUNCATE outputToken;
|
|
TRUNCATE priceHistory;
|
|
TRUNCATE Request_Log;
|
|
TRUNCATE SellOrder;
|
|
TRUNCATE Sessions;
|
|
TRUNCATE Tags;
|
|
TRUNCATE Transactions;
|
|
TRUNCATE Vault;
|
|
TRUNCATE Users;
|
|
|
|
/* Blockchain data */
|
|
TRUNCATE lastTx;
|
|
TRUNCATE nodeList;
|
|
TRUNCATE trustedList;
|
|
TRUNCATE TagList; |