lib/server.js
function WalletService() {
  if (!initialized)
    throw new Error('Server not initialized');

  this.lock = lock;
  this.storage = storage;
  this.blockchainExplorer = blockchainExplorer;
  this.blockchainExplorerOpts = blockchainExplorerOpts;
  this.messageBroker = messageBroker;
  this.fiatRateService = fiatRateService;
  this.notifyTicker = 0;
}
function WalletService() {
  if (!initialized)
    throw new Error('Server not initialized');

  this.lock = lock;
  this.storage = storage;
  this.blockchainExplorer = blockchainExplorer;
  this.blockchainExplorerOpts = blockchainExplorerOpts;
  this.messageBroker = messageBroker;
  this.fiatRateService = fiatRateService;
  this.notifyTicker = 0;
}
function WalletService ( ) { if ( ! initialized ) throw new Error ( 'Server not initialized' ) ; this . lock = lock ; this . storage = storage ; this . blockchainExplorer = blockchainExplorer ; this . blockchainExplorerOpts = blockchainExplorerOpts ; this . messageBroker = messageBroker ; this . fiatRateService = fiatRateService ; this . notifyTicker = 0 ; }
Creates an instance of the Btc Wallet Service.
@constructor
Creates an instance of the Btc Wallet Service .