diff --git a/interface/client/collections.js b/interface/client/collections.js index 2451f6e30..5063df9b3 100644 --- a/interface/client/collections.js +++ b/interface/client/collections.js @@ -1,14 +1,13 @@ /** - @module Collections */ -// BROWSER RELATED -// Contains the accounts Tabs = new Mongo.Collection('tabs', { connection: null }); + LastVisitedPages = new Mongo.Collection('last-visted-pages', { connection: null }); + History = new Mongo.Collection('history', { connection: null }); // Sync collection from and to the backend loki.js @@ -16,24 +15,4 @@ if (typeof window.dbSync !== 'undefined') { Tabs = window.dbSync.frontendSyncInit(Tabs); LastVisitedPages = window.dbSync.frontendSyncInit(LastVisitedPages); History = window.dbSync.frontendSyncInit(History); -} - -// ETHEREUM RELATED - -// Accounts collection is add by the ethereum:accounts package - -// LastBlock collection is add by the ethereum:accounts package - -// contains blockchain meta data -// LastBlock = new Mongo.Collection('lastblock', {connection: null}); -// new PersistentMinimongo2(LastBlock, 'Mist'); -// if(!LastBlock.findOne('latest')) -// LastBlock.insert({ -// _id: 'latest', -// blockNumber: 0, -// blockHash: 0, -// gasPrice: 0, -// checkpoint: 0 -// }); - -// Blockchain = new Mongo.Collection('blockchain', {connection: null}); +} \ No newline at end of file