|
|
@ -52,12 +52,6 @@ function WalletService() { |
|
|
|
this.notifyTicker = 0; |
|
|
|
}; |
|
|
|
|
|
|
|
WalletService.getServiceVersion = function() { |
|
|
|
if (!serviceVersion) |
|
|
|
serviceVersion = 'bws-' + require('../package').version; |
|
|
|
return serviceVersion; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
// Time after which a Tx proposal can be erased by any copayer. in seconds
|
|
|
|
WalletService.DELETE_LOCKTIME = 24 * 3600; |
|
|
@ -89,6 +83,15 @@ WalletService.FEE_LEVELS = [{ |
|
|
|
}]; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* Gets the current version of BWS |
|
|
|
*/ |
|
|
|
WalletService.getServiceVersion = function() { |
|
|
|
if (!serviceVersion) |
|
|
|
serviceVersion = 'bws-' + require('../package').version; |
|
|
|
return serviceVersion; |
|
|
|
}; |
|
|
|
|
|
|
|
/** |
|
|
|
* Initializes global settings for all instances. |
|
|
|
* @param {Object} opts |
|
|
|